several coding agents. one git tree. every run provable.
bernstein is a deterministic python scheduler that runs cli coding agents in parallel. no llm in the loop.
ships adapters for claude code, codex, gemini cli, aider, and 40+ more. each runs in its own git worktree; lint, types, and tests gate every merge. lineage and replay are always on - flip on the hmac audit log and every result verifies offline.
ask anything.
how it works
How does Bernstein work?
Bernstein is an open-source orchestrator for CLI coding agents. It decomposes a goal into tasks, spawns Claude Code, Codex, Gemini CLI and 42 other agents into isolated git worktrees, runs each task in parallel, then verifies the output through lint, type checks, tests, and an optional cross-model review before merging. The scheduler is plain Python - deterministic, replayable from an HMAC-chained audit log, no LLM tokens spent on coordination.
one run, four stages.
from the blog
three pieces from the blog.
field notes from the orchestra pit. hand-picked: the current state of the 3.x line, what it looks like in the cloud, and how it started.
bernstein 3.x recap: deterministic replay, evidence bundles, tournament runs, and a run you can walk away from
The arc from 2.0 to 3.5.0, in one page. The 2.x line taught the orchestrator to do more. The 3.x line made each of those things carry its own proof: an always-on signed lineage spine, deterministic replay by default, content-addressed evidence bundles, a durable ledger that resumes on another machine, detached runs, tournament selection with no model in the decision path, cost-aware dispatch under USD caps, a run review board, SPIFFE identity, an MCP Tasks surface, a stateless chain-anchored MCP core, and provider-side context mutations recorded into the replay journal.
agents on cloudflare: workers, durable objects, r2, d1
bernstein 1.8.4 cloudflare backend for ai coding agents: workers run agents, durable workflows handle multi-step tasks, r2 + d1 hold state.
bernstein 1.0: open-source orchestrator for ai coding agents
Orchestrate Claude Code, Codex, Gemini CLI + 40 other CLI coding agents in parallel git worktrees. Deterministic scheduler, HMAC-signed audit chain.
evidence, not vibes
every step signed, in order, on disk.
bernstein writes an hmac-signed event chain to .bernstein/audit.log. each entry references the previous hash. tampering breaks verification. nothing leaves your machine.
this is the artifact security review actually wants. not a screenshot, not a SOC2 PDF - a hash chain you can replay.
frequently asked
the four questions that block install.
is the scheduler an llm?
does it phone home?
where does it run?
how is this different from claude code?
one engineering post a month.
what we shipped, what broke, what we learned. one click to unsubscribe.