Quickstart
export ANTHROPIC_API_KEY=sk-ant-... # or OPENAI_API_KEY=...
# One-time setup: save your default provider/model (skip the export above next time)octo configHeadless one-shot
Section titled “Headless one-shot”octo in a script or CI is a claude -p-style one-shot: one prompt, a full agentic tool loop, then
exit. Built-in tools (shell, read/edit files, search), MCP servers, and skills are all on by default,
so a single message can actually do work.
octo "Add a --json flag to 'octo config show' and run the tests"
# The prompt can also come from a pipe or a file — handy for scripts / CI:echo "Summarise what changed in the last commit" | octoocto --prompt-file ./task.mdInteractive multi-turn
Section titled “Interactive multi-turn”Run octo in a terminal with no message to get the TUI — rich tool cards, session auto-saved.
octoocto sessions # list saved sessionsocto -c # pick a recent session from a listocto -c <session-id>Streaming and reasoning
Section titled “Streaming and reasoning”Streaming is on by default; --stream=false buffers and prints only the final reply text — clean
for capturing into a file.
octo --stream=false "..."
# Extended reasoning: set the intensity and stream the dimmed thinking trace.octo --reasoning-effort high "..."octo --show-reasoning=false "..." # keep reasoning enabled but hide the tracePlain chat, no tools
Section titled “Plain chat, no tools”octo --no-tools "..."Repo conventions
Section titled “Repo conventions”octo init # generate a .octorules guide for this repoNext: Choose a provider, or jump straight into a Guide.