Skip to content
Skillpedia
βœ“ Official Β· sipyourdrink-ltd● Free and open sourceπŸ’» LocalπŸ”“ No API keyAI, memory and agents

Bernstein

Lets you run many coding agents in parallel under rules you write, with a verifiable record of every run.

1.2k stars on GitHubby sipyourdrink-ltdLicense Apache-2.0Updated 18 days ago

How to install

This MCP is local: it runs on your computer.

It works in apps installed on your PC (Claude Desktop, Claude Code, Cursor, VS Code…). Choose your app:

Paste in the terminal:

claude mcp add bernstein -- uvx bernstein

Ready! Now test it

Restart the app and paste one of these requests in the chat:

Fix the failing test in tests/test_foo.py.
Run the audit-evidence-pack workflow and collect the evidence in parallel.

What it is

Bernstein is an open-source governance layer for AI agents. You write policy as code, a plain Python scheduler runs agents in parallel with no model in the coordination loop, and it records each step so a run can be checked offline. Claude Code, Codex, Gemini CLI and more than 50 other CLI agents work.

What it can do

  • Declarative workflow graphs in YAML
  • Parallel agent runs, each in its own git worktree
  • Merge gates on coding tasks
  • Signed run receipts you can verify offline
  • bernstein live: terminal dashboard
  • bernstein gui serve: browser dashboard

When to use

  • β€ΊWhen you want several agents to work on a project at once with merge checks.
  • β€ΊWhen you need an audit record of what AI agents did.
  • β€ΊWhen you need an air-gapped setup for agents.

What you need

Python (uv tool install bernstein or pipx) and at least one CLI agent installed and logged in. Run bernstein init and bernstein doctor to check.

Skills that pair well

⭐ Skillpedia MCP Β· freeYour agent finds the right skill on its ownInstall our MCP and your agent searches 15,000+ skills whenever it needs one.Install for free β†’

Frequently asked questions

Is it free and open source?

Yes. It is free and Apache-2.0.

Is it stable?

The readme marks it as beta and solo-maintained; pin the version for anything you depend on.

Does a model run the scheduler?

No. The scheduler is plain Python with no LLM in the coordination loop.

Which agents does it work with?

Claude Code, Codex, Gemini CLI and more than 50 other CLI agent adapters, plus a generic prompt wrapper.

How do I verify a run?

Run it with BERNSTEIN_AUDIT=1, then use bernstein verify receipt with the receipt file and public key.

Where does data go?

The readme says it uses file-based state, with no SaaS hop and no third-party data plane.

If it does not work

  • β€ΊRun bernstein doctor to check that a CLI agent is installed and authenticated.
  • β€ΊPin the version because minor releases may change interfaces.
  • β€ΊFor air-gapped installs, follow the air-gap guide for the wheelhouse.

5 new skills a week. 1 minute to read.