Files
Tutorial-Codebase-Knowledge/docs/OpenManus/index.md
zachary62 2ebad5e5f2 init push
2025-04-04 13:03:54 -04:00

56 lines
2.2 KiB
Markdown

# Tutorial: OpenManus
OpenManus is a framework for building autonomous *AI agents*.
Think of it like a digital assistant that can perform tasks. It uses a central **brain** (an `LLM` like GPT-4) to understand requests and decide what to do next.
Agents can use various **tools** (like searching the web or writing code) to interact with the world or perform specific actions. Some complex tasks might involve a **flow** that coordinates multiple agents.
It keeps track of the conversation using `Memory` and ensures secure code execution using a `DockerSandbox`.
The system is flexible, allowing new tools to be added, even dynamically through the `MCP` protocol.
**Source Repository:** [https://github.com/mannaandpoem/OpenManus/tree/f616c5d43d02d93ccc6e55f11666726d6645fdc2](https://github.com/mannaandpoem/OpenManus/tree/f616c5d43d02d93ccc6e55f11666726d6645fdc2)
```mermaid
flowchart TD
A0["BaseAgent"]
A1["Tool / ToolCollection"]
A2["LLM"]
A3["Message / Memory"]
A4["Schema"]
A5["BaseFlow"]
A6["DockerSandbox"]
A7["Configuration (Config)"]
A8["MCP (Model Context Protocol)"]
A0 -- "Uses LLM for thinking" --> A2
A0 -- "Uses Memory for context" --> A3
A0 -- "Executes Tools" --> A1
A5 -- "Orchestrates Agents" --> A0
A1 -- "Uses Sandbox for execution" --> A6
A2 -- "Reads LLM Config" --> A7
A6 -- "Reads Sandbox Config" --> A7
A7 -- "Provides MCP Config" --> A8
A8 -- "Provides Dynamic Tools" --> A1
A8 -- "Extends BaseAgent" --> A0
A4 -- "Defines Agent Structures" --> A0
A4 -- "Defines Message Structure" --> A3
A2 -- "Processes Messages" --> A3
A5 -- "Uses Tools" --> A1
A4 -- "Defines Tool Structures" --> A1
```
## Chapters
1. [LLM](01_llm.md)
2. [Message / Memory](02_message___memory.md)
3. [BaseAgent](03_baseagent.md)
4. [Tool / ToolCollection](04_tool___toolcollection.md)
5. [BaseFlow](05_baseflow.md)
6. [Schema](06_schema.md)
7. [Configuration (Config)](07_configuration__config_.md)
8. [DockerSandbox](08_dockersandbox.md)
9. [MCP (Model Context Protocol)](09_mcp__model_context_protocol_.md)
---
Generated by [AI Codebase Knowledge Builder](https://github.com/The-Pocket/Tutorial-Codebase-Knowledge)