zo — Zettabyte Oracle
A fast, permission-conscious CLI for OpenRouter models
Ask a question, inspect a project, edit selected files, run approved commands, search the web, or generate an image—all from the terminal. zo enables each capability explicitly, so a simple prompt stays simple.
Basic Usage
zo How do I unpack a tar file into a directoryDemo
Everything at a glance
Fast terminal interaction
- Responses stream progressively with Markdown and syntax-highlighted code.
- Redirected output is plain text, making zo safe to compose with other commands.
- Piped STDIN, prompt text, and explicit file references can be combined in one request.
Models that fit the task
- Select built-in aliases, use fuzzy names, or pass a full
provider/modelID. - Control reasoning effort globally, per custom model, or for one invocation.
- Define custom assistants with reusable system prompts.
Files with explicit boundaries
@fileincludes content,!filegrants write-only access, and@!filegrants read/write access.--files readadds project discovery and search tools;--files writeadds workspace editing.- Existing-file changes show a focused diff and ask for approval by default.
Live tools when you request them
--shelllets the model run commands under an approval policy.--webadds OpenRouter server-side web search to text and chat requests.--verboseexposes compact tool calls;--debugpreviews a request and asks before sending it.
Sessions, automation, and media
- Chat mode supports multiline editing, file completion, retained context, and bounded retries.
--non-interactive,--accept-writes,--hidden, and byte limits make automation behavior explicit.- Image mode generates a single image directly to a workspace file.
Chat mode → · Image generation → · Configuration →
Get started
cargo install zo-cli
export OPENROUTER_API_KEY='sk-or-v1-...'
zo 'What is Rust?'