Every coding agent.
One terminal.

Baton is a terminal workspace for command-line coding agents. Switch harness mid-thread, split a goal across worktrees, and review every change before it ships.

curl -fsSL https://raw.githubusercontent.com/billy-enrizky/baton/main/install.sh | sh
baton · ~/code/api
A real Baton window, driven by a scripted harness. Every command opens its choices.

Drives Codex, Claude Code, Cursor, Grok, OpenCode, and Antigravity.

What you get from one window

A run, end to end

One prompt becomes a plan, a set of worktrees, a review verdict, and a commit you can ship.

  1. Plan

    The planner returns tasks, each with a harness, a model, and the files it owns. Preview the plan before any worker starts.

  2. Work

    Workers run in parallel in separate worktrees. A task starts after its dependencies finish, and a failed dependency skips its dependents.

  3. Review

    The reviewer tries to falsify the completion claim. A worker waiting for a decision shows up in the inbox, not in a log file.

  4. Ship

    Integrate the approved branches, or open one pull request per worker. Merged work and existing pull requests are skipped, so a retry is safe.

What it asks of you

No account
Baton runs on the harness login or API key you already have.
No telemetry
There is no Baton service in the path. Prompts go to the harness you chose.
No lock-in
Threads, turns, and usage are readable as JSON and over MCP.
One binary
Install with curl, Homebrew, or Cargo. Git and one harness CLI are the only requirements.

Install Baton

Then run baton doctor to check the harness and the terminal.

curl -fsSL https://raw.githubusercontent.com/billy-enrizky/baton/main/install.sh | sh

Need a source build or an uninstall? Read Install Baton.