sipyourdrink-ltd/bernstein

The open-source governance layer for AI agents: write the rules declaratively, Bernstein enforces them and produces the verifiable, replayable record. Free, Apache-2.0. https://bernstein.run

About the project

Bernstein is an open-source governance layer for AI agents that applies written policies, schedules agent work deterministically, controls approvals, and records verifiable execution history. It is used to coordinate CLI coding agents and other agent workloads, including parallel runs and offline review, while the catalogue entries provide its agent workflows and controls.

This repository also configures its own agents. See what bernstein tells them →

1.3kStars on the repository
46Mods indexed here, across every type
todayLast push, which is what freshness is scored on
Apache-2.0Licence, which decides whether bodies are shown

architecture

01

sipyourdrink-ltd/bernstein

Cursor rule Cursor

Top-level entry points exposed by the package.

not rated 1.3k +242 changed 1mo ago A 219 tokens original Apache-2.0

directory-context

03

sipyourdrink-ltd/bernstein

Cursor rule Cursor

Per-directory context files for agents working inside a subtree. Each covers: what the directory is for, key files, invariants, and how to test that subtree.

not rated 1.3k +242 today A 0 tokens original Apache-2.0

documentation-duty

04

sipyourdrink-ltd/bernstein

Cursor rule Cursor

Every PR that adds or changes a feature MUST update docs in the same PR.

not rated 1.3k +242 today A 184 tokens original Apache-2.0

module-map

06

sipyourdrink-ltd/bernstein

Cursor rule Cursor

Full per-file map: docs/sdd/module-map.md (generated).

not rated 1.3k +242 today A 0 tokens original Apache-2.0

overview

07

sipyourdrink-ltd/bernstein

Cursor rule Cursor

Bernstein is the open-source governance layer for AI agents. It runs on policy as code: you write the policy - who may do what, what needs approval, what must be recorded - and Bernstein enforces it and produces the verifiable record. A deterministic scheduler - no model in the coordination loop - runs agents in…

not rated 1.3k +242 changed 13d ago A 197 tokens original Apache-2.0

roles

08

sipyourdrink-ltd/bernstein

Cursor rule Cursor

Bernstein ships agent role prompts under templates/roles/. The orchestrator loads them at task-spawn time; you don't write to them manually.

not rated 1.3k +242 today A 0 tokens original Apache-2.0

bernstein-context

10

sipyourdrink-ltd/bernstein

Cursor rule Cursor

Bernstein governance-layer context - always active when working in a Bernstein-managed project.

not rated 1.3k +242 changed 1mo ago A 445 tokens original Apache-2.0

orchestration

11

sipyourdrink-ltd/bernstein

Cursor rule Cursor

Guidelines for working in a Bernstein-orchestrated project.

not rated 1.3k +242 changed 1mo ago A 0 tokens original Apache-2.0

At most 3 mods per repository are shown here, and a mod shipped inside a plugin is left to that plugin's page — the rest are on their repository pages: