Octogent is built around a deterministic autonomous loop. Every task is decomposed, executed via native tools, and self-corrected — without human intervention, cloud APIs, or external dependencies.
Every task Octogent receives passes through the same five-phase loop. The loop is deterministic, observable, and self-healing. It runs until the task is complete or the iteration limit is reached.
// Gateway endpoint ws://127.0.0.1:18789 // CLI octogent task "Build a REST API for user auth"
// Skill profiles
{ "skill": "coder", "focus": ["typescript","python","bash"] }
{ "skill": "researcher", "focus": ["web_search","web_fetch","analysis"] }// Internal plan format
{ "step": 1, "tool": "bash", "intent": "scaffold project structure" }
{ "step": 2, "tool": "write_file", "intent": "generate route handlers" }// Tool call format
{ "tool": "bash", "input": { "command": "npm init -y" } }
{ "tool": "write_file", "input": { "path": "src/index.ts", "content": "..." } }// Retry policy
{ "maxIterations": 25, "retryOnToolFailure": true, "backoffMs": 500 }All tools are sandboxed and timeout-protected. The agent selects tools autonomously based on task requirements.
Skills shape how the agent approaches a task. Each skill is a JSON definition that sets the system prompt, preferred tools, and output style. Custom skills can be added to the skills/ directory.
Octogent uses a SQLite-backed memory store that persists across all sessions. The agent reads from memory before each task and writes key findings on completion.
The worker pool manages eight independent execution slots. Each slot runs its own Node.js worker_thread — fully isolated memory, separate LLM context, independent tool state.