Welcome to the full documentation for Octopus AI v3 — a powerful, multi-model AI agent with many tentacles (tools), a planning/delegation engine, and support for cloud and local models.
This docs/ folder is the single source of truth for using and developing Octopus AI.
| Doc | What's inside |
|---|---|
| User Guide | Install, run, the UI tour, settings, everyday usage, troubleshooting |
| Providers & Models | OpenAI · Anthropic · Gemini · Ollama · Local (LM Studio/vLLM), tool modes |
| Configuration Reference | Every config.json / .env key explained |
| Security & Sandboxing | What the agent can/can't do, the workspace jail, threat model |
| Doc | What's inside |
|---|---|
| Architecture | High-level design, request lifecycle, data flow |
| Code Structure | Every file and what it does (backend + frontend) |
| Agent Engine | The plan → act → observe loop, tool emulation, delegation, memory |
| Tools Reference | All 8 tentacles + how to add your own |
| API Reference | REST endpoints + WebSocket protocol |
| Development Guide | Dev setup, testing, conventions, adding providers |
graph LR
U[🧑 User] -->|WebSocket| A[🐙 Agent Engine]
A -->|chat_stream| L[LLM Provider]
A -->|execute| T[Tentacle Tools]
A --> M[Memory + Vector RAG]
L -.tool calls.-> A
T -.results.-> A
- Frontend — zero-build vanilla HTML/CSS/JS (
frontend/), talks to the backend over REST + WebSocket. - Backend — FastAPI (
backend/): an agent loop that streams tokens, calls tools, and feeds results back to the model. - Providers — OpenAI, Anthropic, Gemini, Ollama, and any OpenAI-compatible local server.
- Tools (tentacles) — shell, files, web browse, code, search, image, plan, delegate.
New here? Start with the User Guide. Want to hack on it? Start with Architecture then Code Structure.
This documentation describes Octopus AI v3.0.0. See ../CHANGELOG.md for the release history.
