This repository provides a unified Rust API over coding-agent CLIs, including Codex, Claude Code, Gemini CLI, and OpenCode.
- Operator procedure hub:
docs/cli-agent-onboarding-factory-operator-guide.md - Contributing entrypoint:
CONTRIBUTING.md - Documentation index:
docs/README.md - Normative contract index:
docs/specs/unified-agent-api/README.md
Use the operator guide for the shipped create-mode onboarding flow, maintenance-mode refresh flow, artifact ownership boundaries, and command sequencing. This README stays as the repo-entry summary rather than a second procedure manual.
crates/agent_api/- unified API surface and backend harnesscrates/codex/- Codex backend cratecrates/claude_code/- Claude Code backend cratecrates/gemini_cli/- Gemini CLI backend cratecrates/opencode/- OpenCode backend cratecrates/wrapper_events/- shared event and adapter utilitiescrates/xtask/- repo automation and validation commandscli_manifests/- committed parity artifacts and publication evidencedocs/- normative specs, ADRs, and operator-facing documentation
The repo green gate is:
cargo run -p xtask -- support-matrix --check
cargo run -p xtask -- capability-matrix --check
cargo run -p xtask -- capability-matrix-audit
make preflightThe operator guide is the procedural source of truth for when to run that gate in create mode and maintenance mode.
This repository is dual-licensed under MIT or Apache-2.0, at your option. See LICENSE-MIT and LICENSE-APACHE.