Tarlatan drives unmodified Claude Code and Codex command-line clients through tranches of work on one repository. You write the task. Tarlatan runs each step in a fresh process, records what happened, and waits for you between tranches.
How it works
One agent implements, another reviews
Within a tranche, one agent implements the task. A fresh, independent process then reviews the result, and the implementer corrects its work if the review asks for changes. By default Claude implements and corrects and Codex reviews; the client for each role is configurable.
You approve between tranches
When a tranche ends, nothing runs until you approve the next one. Timers and notification timeouts never grant approval. The agents work in a worktree that tarlatan owns, never in your checkout, and their work reaches your branch only through a git command you run.
Fresh context every step
Every step is a new process, with no resume. Its inputs are the task file, the previous step's handoff and the working tree at the base revision.
A durable log and checkpoints
Each launch and its outcome are events in an append-only log in SQLite, and the session's state is read back from that log. The tree each attempt starts and ends on is kept as a commit under refs/tarlatan/. The log and the shared usage ledger record their format version, and a release refuses a store written by a newer release instead of misreading it.
Your rulings reach every brief
When you settle a point with ruling add, the ruling goes into every brief for the rest of the session. The reviewer's brief adds that a finding that contradicts a ruling must cite the ruling and say why it does not apply, or be left out.
Launches paced against usage windows
Tarlatan is meant to launch a step only when its own records leave room in your subscription's usage windows: the highest recent usage reading, plus a reservation for each step it has started and not yet retired, plus the new step's estimate, must stay under a cap below 100 percent. That bounds what tarlatan launches. It does not keep the provider's count under the cap or guarantee that the reserve is left for you, because a reading can be old and a running agent can use more than its estimate.
Pre-release: what works, what does not yet
What works today
- The assisted cycle on one repository. You open a session on a task file, Claude implements in a locked supervisor worktree, Codex reviews a snapshot of the result, and Claude corrects up to twice by default, a limit you can raise with
rounds grant. Then you close the session and commit. - Every launch passes through the usage ledger and the hold rules. Claude Code runs under a sandboxed editing profile with no permission-bypass flag.
- Since 2026-11-22 tarlatan has run cycles on its own code, and it has since run on two other repositories.
What does not work yet
- Pacing is not wired into admission. Tarlatan can read both clients' usage, but it does not yet use those readings, so every launch needs
--waive. - Process control and recovery after a crash or restart are designed but not written.
- You commit, move branches and run the full test suite by hand.
Try it
You need Bun, git, and the Claude Code and Codex command-line clients signed in to your subscriptions. Run tarlatan from its own checkout of a tagged release, kept apart from the repository it works on:
git clone --branch v0.2.0 https://github.com/Ethan826/tarlatan.git tarlatan-release
cd tarlatan-release
bun install --frozen-lockfile
Tarlatan reads a JSON configuration that names the project, the target checkout, the supervisor worktree, the state and ledger directories, the pinned client versions and the check commands. One cycle, from a terminal:
bun src/facade/main.ts --config <file> worktree create # once per target
bun src/facade/main.ts --config <file> session open --tranche <id> --task <path>
bun src/facade/main.ts --config <file> implement --waive
bun src/facade/main.ts --config <file> review --waive --attest
bun src/facade/main.ts --config <file> correct --findings <file> --waive --attest
bun src/facade/main.ts --config <file> session close --finished --attest
Run correct only when the review asks for changes. The review writes a draft of its findings for you to edit, and --findings names your edited file. --attest is your statement that no process of an earlier attempt still runs and that you have inspected the protected files since it ran. --waive is needed on every launch until pacing is wired. status prints the session, its holds and its grants as JSON. Every command and its exit codes are listed in the CLI's README.
Interfaces and store formats still change between minor versions. Each release states its migration in the changelog. Upgrade between sessions, with no session open.
License: MIT. See LICENSE.
Read more
- Source on GitHub
- How it works, with diagrams of a tranche, a launch attempt and the holds
- Changelog
- Version map: what comes next, from the roadmap
- API reference, built from the TSDoc in the source