AI coding agents in one binary: a terminal UI, a headless runner for scripts
and CI, and a local server that several clients can share. Agents read,
search, and edit your files, run commands, call MCP tools, and spawn
sub-agents. Every action passes an approval mode you choose, each run is
snapshotted so qq undo can restore the workspace, and every event is stored
in SQLite, so sessions survive restarts and many agents can run at once.
Documentation: https://retsu-ai.github.io/qq/ (the same pages as
docs/guide/).
Linux and macOS:
curl -fsSL https://retsu-ai.github.io/qq/install.sh | shThe script picks the archive for your machine, verifies it against the
release's SHA256SUMS, and installs to ~/.local/bin. Other routes:
| Homebrew | brew install retsu-ai/qq/qq |
| Nix | nix run github:retsu-AI/qq or nix profile install github:retsu-AI/qq |
| cargo-binstall | cargo binstall --git https://github.com/retsu-AI/qq qq |
| From source | cargo install --git https://github.com/retsu-AI/qq --locked qq |
| Windows | the x86_64-pc-windows-msvc.zip from the latest release |
Pinning, checksums, and upgrades: Install.
qq auth login anthropic # or openai, google, xai, openai-codex; or export ANTHROPIC_API_KEY
QQ_MODEL=anthropic/claude-sonnet-5 qq ask "Reply with pong"Make the model permanent (~/.config/qq/config.ron on Linux; qq config paths shows the path on your OS):
qq init --model anthropic/claude-sonnet-5 # or plain `qq init` to pick from a listThen, in any repository:
qq # interactive
qq run --approval auto "Add a --dry-run flag and a test for it" # unattendedThe Quickstart walks through approval modes,
resuming sessions, and cloned projects that ship their own .qq/config.ron.
Using QQ — docs/guide/
| Install · Quickstart | get running |
| Concepts and glossary | sessions, runs, approval modes |
| Providers and credentials | OpenAI, Anthropic, Google, xAI, Codex, Bedrock, gateways, local models |
| Permissions and trust | approval modes, where commands run, fixed stops, undo, project trust |
| The TUI · Headless · MCP servers | the three surfaces and extra tools |
| Configuration reference · CLI reference | every key, flag, and environment variable |
| Troubleshooting · FAQ | every message and its fix |
Building QQ — docs/README.md: design of the system as
built, architecture decisions, plans, runbooks. AGENTS.md is
the contributor contract; CONTRIBUTING.md the short
version.
- Three surfaces, one runtime.
qq(TUI),qq run(JSONL or text, exit codes for CI),qq serve(HTTP/SSE with resumable cursors). Same tools, policy, and store everywhere. - Unattended by default.
read_only,ask,auto,full. The defaultautonever stops to ask: it works in your checkout as you, and refuses only a few irreversible commands such asgit push --force.qq undorestores the workspace from the run's snapshot.askasks you before every non-read call. - Durable sessions. Everything is in SQLite before it is shown. Quit,
reboot,
qq --session ID. Long sessions compact themselves. - Many agents. Sub-agents with a delegation roster and depth bound; a
sidebar grouped by what needs you;
Alt-A/Alt-Dto answer another session's approval without leaving yours. - Layered configuration. Global, per-project (sensitive settings stay
off until you run
qq trust), fragments, environment, managed and MDM layers;qq config explain FIELDtells you which one won. - Providers. OpenAI, Anthropic, Google, xAI, ChatGPT Codex, Amazon Bedrock and Bedrock Mantle built in; any OpenAI-, Anthropic-, or Google-compatible endpoint by declaration. Credentials live in the OS keyring.
- MCP. Stdio and streamable-HTTP servers join the same approval flow as built-ins.
Issues and PRs are welcome — see CONTRIBUTING.md.
Questions go to Discussions;
security reports follow SECURITY.md. Development is tracked
in docs/plans/.
MIT.