Bernstein logo

Bernstein

Free

多智能体编排器,协调 37 个 CLI 编码代理(Claude Code、Codex、Gemini CLI、Cursor、Aider 等)在并行 Git worktree 中运行。内置 MCP 服务器模式(stdio + HTTP/SSE)。

FreeFree tier
Inputs: code, textOutputs: code, text
Type
Open Source

About Bernstein

Bernstein is a deterministic orchestrator for CLI coding agents (Claude Code, Codex, Gemini CLI, Cursor, Aider, and 40+ more). It coordinates multiple agents running in parallel Git worktrees, using plain Python scheduling with no LLM in the coordination loop. Runs are reproducible, verifiable, and offer signed lineage, byte-identical replay, opt-in HMAC audit chains, and air-gap deployment. The project also includes a built-in MCP server mode (stdio and HTTP/SSE). Named after Leonard Bernstein, the project emphasizes orchestration with deterministic results and conductor-level accountability.

Key Features

Deterministic orchestration of 40+ CLI coding agents (Claude Code, Codex, Gemini CLI, Cursor, Aider, etc.)
Reproducible parallel runs in Git worktrees
Signed lineage and byte-identical replay for verifiable execution
Opt-in HMAC audit chain for provenance tracking
Air-gap deployment support
Plain Python scheduling – no LLM in the coordination loop
Built-in MCP server mode (stdio and HTTP/SSE)
Open source (MIT license)

Pros & Cons

Pros
  • Fully deterministic and verifiable runs
  • Supports a wide variety of CLI coding agents (40+)
  • No LLM needed for coordination – reduces cost and latency
  • Reproducible parallel execution via Git worktrees
  • Audit trail with signed lineage and HMAC
  • Open source and community-driven
Cons
  • Requires familiarity with CLI coding agents and Git worktrees
  • Limited to command-line based AI agents
  • Coordination logic is Python-based, may need customization for complex workflows
  • Relatively new project with evolving documentation and community
  • Not a no-code solution – requires developer setup

Best For

Parallel code generation and editing using multiple AI coding agentsAutomated code review and testing pipelinesReproducible multi-agent software development workflowsSecure, audited deployment in air-gapped environmentsResearch on multi-agent coordination and orchestration

FAQ

What is Bernstein?
Bernstein is a deterministic orchestrator for CLI coding agents. It coordinates multiple agents (like Claude Code, Codex, Gemini CLI) running in parallel Git worktrees with verifiable, reproducible results.
Why is it named Bernstein?
Bernstein is named after Leonard Bernstein, the American conductor and composer. The project orchestrates CLI coding agents the way Bernstein conducted the New York Philharmonic: deterministic, every agent on cue, and the conductor accountable for the result.
How does Bernstein achieve determinism?
Scheduling is done in plain Python with no LLM in the coordination loop. Runs are executed in parallel Git worktrees, and the system provides signed lineage and byte-identical replay for verifiability.
Is Bernstein free to use?
Yes, Bernstein is open source and free to use. It is available under an MIT license on GitHub.