Bernstein¶
Orchestrate any AI coding agent. Any model. One command.
Bernstein takes a goal, breaks it into tasks, assigns them to AI coding agents running in parallel, verifies the output, and merges the results. You come back to working code, passing tests, and a clean git history.
No framework to learn. No vendor lock-in. Agents are interchangeable workers - swap any agent, any model, any provider. The orchestrator itself is deterministic Python code. Zero LLM tokens on scheduling.
Install¶
Then run:
Why Bernstein?¶
-
Deterministic scheduling
Pure Python orchestration - zero LLM tokens on coordination. Every decision is auditable code, not a model response.
-
Any agent, any model
40+ CLI adapters: Claude Code, Codex, OpenAI Agents SDK v2, Gemini, Cursor, Aider, Cloudflare Agents, GitHub Copilot, Devin Terminal, CLM gateway, AWS Q Developer, and more. Mix cheap local models with cloud models in the same run.
-
Git worktree isolation
Each agent works in its own git worktree. No merge conflicts. Clean history. Parallel by default.
-
Built-in verification
Janitor system checks tests, lint, types, and PII before any agent output lands in your codebase.
Why as a forward-deployed-engineering tool¶
Bernstein is built for the forward-deployed engineering pattern: parachute onto a client repo and stand up an AI engineering crew in minutes. State lives in .sdd/ - no server to provision. Per-agent credential scoping keeps your keys out of the client's environment. The broad adapter spread means the swarm runs on whichever CLI agent the client already trusts (Claude Code, Codex, Gemini CLI, Aider, and more). Every step is an HMAC-signed audit record, replayable for client compliance review.
Quick links¶
| Install | Get Bernstein installed and verify it runs |
| First run | Take Bernstein from "installed" to "first orchestrated task complete" |
| Configuration | bernstein.yaml reference |
| Adapter Guide | Supported agents and how to add your own |
| API Reference | Task server REST API |
| Architecture | How Bernstein works under the hood |
| Lifecycle FSM | Task and agent state machines with transition tables |
| What's New | Historical 1.9.x feature summary; see the Changelog for later releases |
| Changelog | Full release history |
| Air-gap installation | Wheelhouse build, signed verification, --profile airgap, deny-all egress |
Links¶
Created by Alex Chernysh (@chernistry, @alex_chernysh on X).