# what is bernstein

Canonical URL: https://bernstein.run/q/what-is-bernstein
Markdown URL: https://bernstein.run/q/what-is-bernstein.md
Tags: intro, what-is

bernstein is an open-source governance layer for ai agents: a deterministic python scheduler for cli coding agents. it decomposes a goal into tasks, picks a model and a cli agent (claude code, codex, gemini cli, aider, and others), isolates each task in a git worktree, runs lint, type-check and tests (plus an optional security scan and cross-model review), and merges only the worktrees that pass. the scheduler itself is deterministic python, not an llm, so scheduling and routing spend zero model tokens. state lives in .sdd/ on disk; there is no server to provision. apache 2.0, python 3.12+, install with pipx install bernstein. source: https://github.com/sipyourdrink-ltd/bernstein.

## Related

- https://bernstein.run/q/how-does-bernstein-work
- https://bernstein.run/q/self-hosted-ai-coding-agent-orchestrator
- https://bernstein.run/cli-quickstart
