Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
mswe-eval
command
Command mswe-eval runs the octo side of the Multi-SWE-bench evaluation: it drives octo over a slice of Go instances to produce patches, then hands them to the official Python+Docker judge.
|
Command mswe-eval runs the octo side of the Multi-SWE-bench evaluation: it drives octo over a slice of Go instances to produce patches, then hands them to the official Python+Docker judge. |
|
octo
command
Command octo is the Go implementation of the Octo AI agent.
|
Command octo is the Go implementation of the Octo AI agent. |
|
tui-preview
command
tui-preview renders a sample of every TUI card to stdout so the maintainer can eyeball them on a real terminal.
|
tui-preview renders a sample of every TUI card to stdout so the maintainer can eyeball them on a real terminal. |
|
internal
|
|
|
agent
Package agent implements the Octo agent core: messages, history, and the run loop that ties an LLM provider to user input.
|
Package agent implements the Octo agent core: messages, history, and the run loop that ties an LLM provider to user input. |
|
config
Package config holds the user's persisted CLI defaults at ~/.octo/config.json — the provider/model/base-URL a fresh `octo chat` should use without re-typing flags or re-exporting env vars every session.
|
Package config holds the user's persisted CLI defaults at ~/.octo/config.json — the provider/model/base-URL a fresh `octo chat` should use without re-typing flags or re-exporting env vars every session. |
|
hooks
Package hooks implements C9 Phase 3 turn-boundary hooks.
|
Package hooks implements C9 Phase 3 turn-boundary hooks. |
|
mcp
Package mcp implements a Model Context Protocol client for octo.
|
Package mcp implements a Model Context Protocol client for octo. |
|
memory
Package memory implements octo's cross-session auto-memory (C9): typed, one-file-per-fact storage under ~/.octo/memory, a MEMORY.md index, and an injection renderer.
|
Package memory implements octo's cross-session auto-memory (C9): typed, one-file-per-fact storage under ~/.octo/memory, a MEMORY.md index, and an injection renderer. |
|
mswe
Package mswe holds the pure, testable pieces of the Multi-SWE-bench eval harness: dataset parsing, prediction writing, fix-patch scoping, harness config generation, and report parsing.
|
Package mswe holds the pure, testable pieces of the Multi-SWE-bench eval harness: dataset parsing, prediction writing, fix-patch scoping, harness config generation, and report parsing. |
|
permission
Package permission gates tool calls through a rule-driven decision engine.
|
Package permission gates tool calls through a rule-driven decision engine. |
|
prompt
Package prompt assembles the agent's system prompt from layered sources.
|
Package prompt assembles the agent's system prompt from layered sources. |
|
provider
Package provider defines the contract every LLM backend implements.
|
Package provider defines the contract every LLM backend implements. |
|
provider/anthropic
Package anthropic implements the provider.Provider interface against Anthropic's native Messages API (POST /v1/messages).
|
Package anthropic implements the provider.Provider interface against Anthropic's native Messages API (POST /v1/messages). |
|
provider/openai
Package openai implements provider.Provider against OpenAI's Chat Completions API (POST /v1/chat/completions).
|
Package openai implements provider.Provider against OpenAI's Chat Completions API (POST /v1/chat/completions). |
|
provider/retry
Package retry adds bounded exponential-backoff retries to provider HTTP calls for transient failures — request timeouts, rate limits (429), the 5xx family, Anthropic's 529 "overloaded", and transient network errors — while honoring a server-supplied Retry-After header.
|
Package retry adds bounded exponential-backoff retries to provider HTTP calls for transient failures — request timeouts, rate limits (429), the 5xx family, Anthropic's 529 "overloaded", and transient network errors — while honoring a server-supplied Retry-After header. |
|
sandbox
Package sandbox confines an arbitrary shell command to an OS-enforced filesystem and network boundary — defense-in-depth beneath the permission engine (internal/permission), which only gates command strings.
|
Package sandbox confines an arbitrary shell command to an OS-enforced filesystem and network boundary — defense-in-depth beneath the permission engine (internal/permission), which only gates command strings. |
|
skills
Package skills discovers Claude Code-compatible skills from disk and exposes them to the agent in two layers: a one-line manifest injected into the session-start system prompt (see RenderManifest), and full SKILL.md bodies loaded on demand through the `skill` tool.
|
Package skills discovers Claude Code-compatible skills from disk and exposes them to the agent in two layers: a one-line manifest injected into the session-start system prompt (see RenderManifest), and full SKILL.md bodies loaded on demand through the `skill` tool. |
|
taskgraph
Package taskgraph implements octo's autonomous task orchestration data layer (M11).
|
Package taskgraph implements octo's autonomous task orchestration data layer (M11). |
|
tasks
Package tasks implements a session-scoped task tracker.
|
Package tasks implements a session-scoped task tracker. |
|
tools
Package tools provides built-in tool implementations for the octo agentic loop.
|
Package tools provides built-in tool implementations for the octo agentic loop. |
|
tui
Package tui renders agent tool events as visual cards for the terminal REPL.
|
Package tui renders agent tool events as visual cards for the terminal REPL. |
|
version
Package version holds the build-time version metadata for the octo binary.
|
Package version holds the build-time version metadata for the octo binary. |
Click to show internal directories.
Click to hide internal directories.