
Why OrbCode CLI
- Agentic in the terminal — read, edit, search, and run commands across your whole workspace without leaving the shell.
- Same Axon models as Orbital —
axon-eido-3-code-pro,axon-code-2-5-pro, andaxon-code-2-5-mini, with native JSON tool calls and image input. - Streaming TUI — markdown rendering, live reasoning under a collapsible “Thinking” block, and per-tool activity rows with diffs.
- Approvals & safety — read-only tools run freely; file edits and commands prompt first, and dangerous commands can never be auto-approved.
- Headless mode — pipe a single prompt with
-pfor scripts and CI. - Claude-Code-compatible hooks — block, auto-approve, rewrite, or inject context at fixed points in the agent loop.
Install OrbCode CLI
Get the CLI running in under a minute
Usage & Commands
Slash commands, shortcuts, and headless mode
Configuration
settings.json, env vars, and custom models
View on GitHub
Source code, issues, and releases
Quick start
Requires Node.js >= 20.orbcode login (browser device flow), or set an API key in ~/.orbcode/settings.json. See Install for details.
Models
The Axon models are built in;/model opens a scroll-and-select picker. Additional models can be declared via customModels in settings.json. The choice persists across sessions.
| id | context | max output | pricing |
|---|---|---|---|
axon-eido-3-code-pro | 400k | 64k | 9/M out |
axon-code-2-5-pro | 400k | 64k | 6/M out |
axon-code-2-5-mini | 400k | 64k | free |
axon-code-2-5-pro is the default. All three support native JSON tool calls and image input. Cost comes from the API’s usage chunks and is shown in the status bar.
The TUI
- Streaming responses rendered as markdown (headers, lists, code fences, inline code, links) via a lightweight ANSI renderer.
- Thinking — reasoning streams live under
✦ Thinking…and collapses to✦ Thought for Nswhen done.Ctrl+Otoggles expanded thinking. - Tool rows — each tool call shows a formatted name, a one-line summary, live “running” state, then
✓/✗with a short result preview. - Edit diffs — file-modifying tools render a real diff with a stats header and red/green backgrounds, both in the approval prompt and the finished tool row.
- Tasks — the model maintains a checklist via
update_todo_list, rendered as a compact Tasks panel. - @-references — type
@in the input to fuzzy-search workspace files. - Status bar — approval mode, busy state, model name, context token usage, and session cost.
Approvals & safety
Read-only tools (read/list/search/web/todos) run without prompting. Mutating tools prompt first:- File edits — prompt shows the target;
yallow once,ndeny,aallow for the rest of the session. - Commands — prompt shows the exact command line. Dangerous commands (deletes, force-pushes, system changes) can never be auto-approved.
Headless mode
--yolo, edit/command approvals are auto-denied (read-only analysis). Errors go to stderr.
Architecture
OrbCode CLI faithfully ports the Orbital extension’s tool schemas, system prompt, and streaming handler quirks. Requests carry extension-compatible headers (X-AxonCode-Version, X-AxonCode-TaskId, X-AXON-REPO), and usage data is fetched from the same /axoncode/profile endpoint as the extension.
OrbCode CLI is open source under the MIT license. The complete, example-driven
reference for lifecycle hooks is in the GitHub
repository.