several coding agents. one git tree. every run provable.
bernstein is a deterministic python scheduler that runs cli coding agents in parallel. no model in the coordination loop, so the same plan replays byte-identically.
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 someone who did not run it can check the record offline, without rerunning it.
ask anything.
how it works
How does Bernstein work?
Bernstein is an open-source deterministic orchestrator for CLI coding agents. It decomposes a goal into tasks, spawns Claude Code, Codex, Gemini CLI and 45 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 with no model in the coordination loop, so the run replays byte-identically from the always-on replay journal and a reviewer who did not execute it can check the record offline.
one run, four stages.
from the blog
three pieces from the blog.
field notes from the orchestra pit. hand-picked: what the newest release fixed and what it did not, what running this in the cloud looks like, and how it started.
bernstein 3.14.159: the stranger's ninety minutes
A first-use report described ninety minutes of setup that ended in nothing. v3.14.159 answers it: the plan loader raises named errors instead of swallowing malformed fields, five commands are removed and the rest fold with deprecation windows, the reference docs are CI-gated against the registered CLI, and the README says beta. Also new: a Muse Code adapter, Agent Plugins v1.0.0 manifests, a signed run receipt that verifies offline, and bernstein audit diagnose.
agents on cloudflare: workers, durable objects, r2, d1
bernstein's cloudflare integration for ai coding agents: workers run agents, workflows carry multi-step tasks, r2 + d1 hold workspace and metering state. experimental; runs on your own account.
bernstein 1.0: open-source orchestrator for ai coding agents
Orchestrate Claude Code, Codex, Gemini CLI and other CLI coding agents in parallel git worktrees. Deterministic scheduler, HMAC-signed audit chain.
evidence, not vibes
every step signed, in order, on disk.
run with --audit and bernstein writes an hmac-chained event log under .sdd/audit/, one jsonl file per utc day. each entry references the previous hash. tampering breaks verification. nothing leaves your machine.
someone who did not run it can check it. signature and hash-chain checks read the files alone; the hmac leg needs the key the chain was written with, so hand a reviewer both and bernstein audit verify answers without rerunning anything. not a screenshot, not a SOC2 PDF - a hash chain that recomputes.
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.