update nav

This commit is contained in:
zachary62
2025-04-04 14:15:36 -04:00
parent c41c55499d
commit 93df0fecc2
37 changed files with 261 additions and 2 deletions

View File

@@ -1,3 +1,10 @@
---
layout: default
title: "LLM"
parent: "OpenManus"
nav_order: 1
---
# Chapter 1: The LLM - Your Agent's Brainpower
Welcome to the OpenManus tutorial! We're thrilled to have you on board. Let's start with the absolute core of any intelligent agent: the "brain" that does the thinking and understanding. In OpenManus, this brainpower comes from something called a **Large Language Model (LLM)**, and we interact with it using our `LLM` class.

View File

@@ -1,3 +1,10 @@
---
layout: default
title: "Message & Memory"
parent: "OpenManus"
nav_order: 2
---
# Chapter 2: Message / Memory - Remembering the Conversation
In [Chapter 1: The LLM - Your Agent's Brainpower](01_llm.md), we learned how our agent uses the `LLM` class to access its "thinking" capabilities. But just like humans, an agent needs to remember what was said earlier in a conversation to make sense of new requests and respond appropriately.

View File

@@ -1,3 +1,10 @@
---
layout: default
title: "BaseAgent"
parent: "OpenManus"
nav_order: 3
---
# Chapter 3: BaseAgent - The Agent Blueprint
In the previous chapters, we learned about the "brain" ([Chapter 1: The LLM](01_llm.md)) that powers our agents and how they remember conversations using [Chapter 2: Message / Memory](02_message___memory.md). Now, let's talk about the agent itself!
@@ -114,7 +121,7 @@ What actually happens when you call `agent.run()`? The `BaseAgent` provides a st
9. **Finalize:** Once the loop finishes (either `max_steps` reached or state changed to `FINISHED`/`ERROR`), it sets the state back to `IDLE` (unless it ended in `ERROR`).
10. **Return Results:** It returns a string summarizing the results from all the steps.
Heres a simplified diagram showing the flow:
Here's a simplified diagram showing the flow:
```mermaid
sequenceDiagram

View File

@@ -1,3 +1,10 @@
---
layout: default
title: "Tool & ToolCollection"
parent: "OpenManus"
nav_order: 4
---
# Chapter 4: Tool / ToolCollection - Giving Your Agent Skills
In [Chapter 3: BaseAgent - The Agent Blueprint](03_baseagent.md), we learned how `BaseAgent` provides the standard structure for our agents, including a brain ([LLM](01_llm.md)) and memory ([Message / Memory](02_message___memory.md)). But what if we want our agent to do more than just *think* and *remember*? What if we want it to *act* in the world like searching the web, running code, or editing files?

View File

@@ -1,3 +1,10 @@
---
layout: default
title: "BaseFlow"
parent: "OpenManus"
nav_order: 5
---
# Chapter 5: BaseFlow - Managing Multi-Step Projects
In [Chapter 4: Tool / ToolCollection](04_tool___toolcollection.md), we saw how to give agents specific skills like web searching or running code using Tools. Now, imagine you have a task that requires multiple steps, maybe even using different skills (tools) or agents along the way. How do you coordinate this complex work?