Product
The product
cars is a command-line tool with three parts: a Rust TUI, a Rust engine that plans and drives a run, and a TypeScript orchestrator where every story agent and observer joins one bus.
The TUI and the engine
The cars binary is written in Rust with ratatui and tokio. With no goal it opens the Welcome screen, where Tab and the arrow keys set the model, parallelism, story timeout, context and planner.
The engine builds the Context (a CLAUDE.md summary of the target directory, skipped with --skip-context), asks the Planner for a Plan and shows it on the Review screen. Press r to refine the plan with feedback, accept it, or quit.
The orchestrator and its bus
Each run starts the bundled TypeScript orchestrator as a subprocess. It is a Mozaik agentic environment: the Conductor, StoryFactory, story agents and Operator are the core participants, and every coordination step is a typed item on the shared bus.
The Conductor walks the DAG level by level, asks the StoryFactory to spawn a story agent per story and applies replans only at level boundaries.
Observers
The Critic, Surgeon, Librarian, Sentry, Auditor and Finalizer watch bus traffic and may emit items back. The Critic, Librarian, Sentry and Surgeon are on by default and each has a --no-… flag.
The Cartographer turns bus items into frames for the TUI, one JSON line each.
Workflow subcommands
next-playwright, next-appium, next-react-query and mcp-scaffold write a fixed PRD from an instruction with no Planner call, then run it through resume.
Runs and records
A run executes one PRD (prd.json in the target directory) on one run branch and writes one audit log, by default ~/.cars/runs/<run-id>.jsonl.
A session lock (cars.lock) stops two cars instances running in the same directory.
At a glance
- Interface
- Terminal UI (Rust, ratatui)
- Agents
- Claude CLI, one process per story
- Planner
- claude (default) or openai
- Models
- opus, sonnet, haiku; routed by default
- Default story timeout
- 600 seconds
- Default retries
- 2 per story
- Pull requests
- GitHub (gh) or Azure DevOps (az)
- License
- MIT
Run a whole goal as parallel agents
cars runs on your machine, in your repository, with your Claude CLI login. There is no hosted service and no account.