ai-whisper
v0.6.0
Published
Terminal-first relay for paired AI coding agents (Claude + Codex), driven by structured workflows.
Maintainers
Readme
ai-whisper
ai-whisper pairs two coding agents — mount any two of Claude, Codex, and ezio — into a terminal-native pair that hand work back and forth under a single baton, so one agent implements while the other reviews, and a structured workflow drives the loop to a finished, reviewed deliverable without a human babysitting every round.
Magic moment
Mount each agent in its own terminal. Each mount claims the current shell, launches the real provider CLI, and binds it to the collab:
# terminal 1
whisper collab mount claude
# terminal 2
whisper collab mount codexThen, from inside either agent's session, kick off a structured workflow against a spec — just ask in plain language:
Run spec-driven-development using docs/spec.mdFrom there ai-whisper runs the workflow autonomously:
- Implementer / reviewer assignment — the agent you trigger the workflow from becomes the implementer and the other agent becomes the reviewer; pass
--implementer/--reviewerto choose explicitly. (Started outside a mounted session with no flags, it falls back to a default pairing and warns.) The baton passes between them; only one owns the turn at a time. - Autonomous execution — the implementer does each step in its real session and hands the result back. An LLM evaluator judges whether the deliverable meets the request.
- Review loops — when work isn't good enough yet, the reviewer's findings are composed into a follow-up handoff and the implementer iterates. The loop repeats until the work is approved or the round budget is exhausted.
- Resumability — workflow and chain state is durable. If the broker restarts or you stop for the day, you recover and reconnect rather than starting over.
- Deliverables — you get committed code plus a review trail (per-step verdicts, round counts), inspectable at any time with
whisper collab dashboard.
Visual proof
A real spec-driven-development run: Claude (left) and Codex (middle) work in their own mounted
sessions while the dashboard (right) tracks the baton handoffs and per-phase verdicts (~20s).
Click the still to watch it play on the project page.
Who this is for
ai-whisper is for engineers who already lean on coding agents and want more structure around them:
- you already use coding agents heavily and want two of them to check each other.
- you work terminal-first and want the agents to live in real terminal sessions, not a web UI.
- you want multi-agent review — a second model gating the first model's output.
- you run long, structured workflows (spec → plan → implement → review) rather than one-off prompts.
It is not for:
- one-shot "vibe coding" where you just want a quick answer.
- invisible background automation you never watch.
- people new to coding agents looking for a guided, hand-holding experience.
Prerequisites
You pair any two of three agents — claude, codex, and ezio. ai-whisper drives the real Claude and Codex CLIs, so install and authenticate whichever of those two you plan to mount first; ezio is protocol-native and ships with ai-whisper, so it needs no separate CLI.
- Claude Code CLI — the
claudecommand, signed in. - Codex CLI — the
codexcommand, signed in. - ezio (optional) — bundled with ai-whisper; mount it with
whisper collab mount ezio, no separate install. - Node.js 22+.
- An LLM evaluator with credentials — workflows are gated by it and refuse to start without it. See Evaluator configuration.
- tmux (optional) — only for
whisper collab start, which auto-arranges both agents into panes. The mount flow below does not need it.
Safety & permissions
ai-whisper launches each agent in full-autonomy mode so the relay can drive it unattended — claude --dangerously-skip-permissions and codex --dangerously-bypass-approvals-and-sandbox. Inside the mounted workspace the agents read, write, and run commands without prompting. Point it at code you're willing to let two agents change autonomously, watch the run on the dashboard, and remember you are the final gatekeeper — review the result before you ship it. The deeper rationale is in Concepts.
Quickstart
Install from npm:
npm install -g ai-whisperOr from a repo checkout:
pnpm install
pnpm buildInstall the bundled agent skills once (they let the agents verify, kick off, and report on workflows). This also installs ai-whisper-code-review, the skill workflow code-review handoffs use to evaluate agent-written code, and ai-whisper-plan-execution, the skill plan-execution handoffs use to structure how the implementer executes an approved plan:
whisper skill installWorkflows require an LLM evaluator with credentials — set this up before running one. See Evaluator configuration.
Then mount both agents and run a workflow:
# terminal 1
whisper collab mount claude
# terminal 2
whisper collab mount codexThe first mount creates the collab and starts the broker daemon for the workspace; the second binds the other agent. From either session, start a workflow against a spec or goal file (spec-driven-development for a spec, ralph-loop for an open-ended goal). Watch it run with:
whisper collab dashboardRunning from a repo checkout instead of a packaged install? Build first (
pnpm build) and invoke the CLI asnode packages/cli/dist/bin/whisper.js ...wherever these examples saywhisper ....
What happens if it fails?
A run that stops short usually escalates — it does not crash. When the evaluator can't resolve a phase (the round budget is spent, an agent reports it's blocked, or confidence stays too low), the loop halts and turn ownership returns to you. That's a designed exit, not a failure: run state is durable, so you read the dashboard, fix the spec or unblock the agent, and whisper workflow resume <id> to pick up where it left off. Escalation is the system asking for a human exactly when it should — seeing it is normal, not a sign something broke.
Core concepts
ai-whisper is not a swarm. The agents never type at once — work moves by a single baton, one owner at a time. Mounted sessions are real agent sessions in your terminal — Claude or Codex CLIs, or ezio — and those sessions are the source of truth. Autonomy is supervised: every handoff, verdict, and round is inspectable, and runs are resumable rather than fire-and-forget. Work is organized as structured workflows — explicit loops and state transitions, not a free-form chat.
Claude, Codex, and ezio are supported today — you mount any two of them; the architecture is provider-agnostic by design, so other coding-agent CLIs can be added behind the same relay.
For the full mental model, read Concepts.
Learn more
- Workflows — how to use the workflows well: choosing between
spec-driven-developmentandralph-loop, and authoring the spec or goal that drives the run. - Concepts — the mental model: baton handoff, real mounted sessions, supervised autonomy, workflow-first execution.
- Relay & handoff flows — the complete handoff state machine, capture-status table, hotkey reference, per-step verdicts, and troubleshooting.
- Evaluator configuration — required credentials and options for the LLM evaluator that gates workflows.
- Legacy attach mode — the shelved
attach/adoptflows, kept for historical reference.
Workspace commands
pnpm install
pnpm test
pnpm typecheck
pnpm lint
pnpm formatLicense
Apache License 2.0 — see LICENSE and NOTICE. Contributions are
accepted under the Developer Certificate of Origin (sign off with
git commit -s).

