1. Conduid
  2. Agents
  3. sipyourdrink-ltd/bernstein
MCP server · Agents

sipyourdrink-ltd/bernstein

Open-source AI agent governance. Write the rules declaratively, Bernstein enforces them and produces the verifiable, replayable record. Free, Apache-2.0. https://bernstein.run

97Strong

Scored 20 hours ago · breakdown

About sipyourdrink-ltd/bernstein

sipyourdrink-ltd/bernstein is an MCP server published by sipyourdrink-ltd in the Agents category: open-source AI agent governance. Write the rules declaratively, Bernstein enforces them and produces the verifiable, replayable record. Free, Apache-2.0. https://bernstein.run. Conduid read 19 tools from its source: bernstein_approve, bernstein_cancel, bernstein_claim, bernstein_complete, bernstein_cost, bernstein_create_subtask and 13 more. It is published to PyPI as bernstein and runs with uvx.

The repository has 1.2K stars and 185 forks, is licensed Apache-2.0, and its last commit was on 2 Dec 2026. The latest release is v4.0.2 (26 Nov 2026): A patch release on top of v4.0.1 covering server access gates, default loopback Host header checks, adapter and journal fixes, and conformance tests. It follows v4.0.1 (25 Nov 2026), and the 5 most recent releases go back to v3.24.0 (5 Nov 2026). It passes all 4 static checks Conduid ran on the repository. Its topics include a2a, agent-orchestration, agentic-engineering, agentic-workflow, ai-orchestration and ai-orchestrator.

Install

uvx
uvx bernstein
pip
pip install bernstein
From source
git clone https://github.com/sipyourdrink-ltd/bernstein

Tools (19)

bernstein_approveApprove a pending/blocked task
ParameterTypeDescription
notestring
task_id *string
bernstein_cancelCancel one task and its subtask tree; the orchestrator keeps running.
ParameterTypeDescription
reasonstringOptional reason recorded on the cancellation.
bernstein_claimClaim the next eligible task and return a verifiable claim receipt.
ParameterTypeDescription
capabilitystringOnly claim tasks requiring this capability.
claimer_card_fingerprintstring``sha256:`` fingerprint of the claimer's agent card key, bound into the receipt.
completed_idsarrayTask ids whose dependencies are satisfied; a task is eligible only when all of its ``depends_on`` are listed.
max_attemptsintegerSkip tasks at or above this attempt count.
projectstringOnly claim tasks in this project namespace.
rolestringOnly claim tasks for this role (e.g. ``backend``).
bernstein_completeReport the result of work you are executing.
ParameterTypeDescription
result_summary *stringWhat the work produced. The task server rejects an empty summary and fails the task instead.
bernstein_costReturn cost summary
bernstein_create_subtaskCreate a subtask linked to a parent task
ParameterTypeDescription
complexitystring
estimated_minutesnumber
goal *string
parent_task_id *string
prioritynumber
rolestring
scopestring
bernstein_create_taskCreate a bare task without triggering orchestration or spawning agents.
ParameterTypeDescription
depends_onarrayTask ids that must complete before this task is eligible for claim.
description *stringFull task description / brief.
effortstringOptional effort hint (``max``, ``high``, ``medium``, ``low``).
modelstringOptional model hint (``opus``, ``sonnet``, ``haiku``).
priorityinteger1 (critical) to 3 (low). Default 2.
rolestringTarget role (e.g. ``backend``, ``reviewer``). ``auto`` lets the server classify from the description.
run_idstringOptional open administrative container to hold the task. Members remain manually claimable and are excluded from automatic spawning.
scopestringTask scope: ``small``, ``medium``, ``large``.
bernstein_healthLiveness check
bernstein_post_artifactAttach a journal-anchored artifact to a task you hold the claim for.
ParameterTypeDescription
artifact_type *stringOne of ``report`` (markdown ``body``), ``table`` (``columns`` + ``rows``), ``link`` (``url`` + ``link_kind``), or ``finding`` (``sarif_result`` + provenance).
bodystringMarkdown body, for ``report`` artifacts.
columnsarrayColumn headers, for ``table`` artifacts.
invocation_argv_hashstringHash of tool invocation arguments, for ``finding`` artifacts.
key *stringThe artifact slot; reposting a key appends a new version.
link_kindstringThe declared link kind - ``preview`` / ``dashboard`` / ``document`` - for ``link`` artifacts.
pinned_ruleset_or_feed_digeststringRuleset/feed digest, for ``finding`` artifacts.
poster *stringYour claim identity; posting against a task you do not hold is refused and the refusal is audit-recorded.
rowsarrayRows of cells, for ``table`` artifacts.
sarif_resultobjectNormalized SARIF 2.1.0 result object, for ``finding`` artifacts.
targetstringTarget path or git ref, for ``finding`` artifacts.
toolstringScanner/linter name, for ``finding`` artifacts.
tool_versionstringScanner version string, for ``finding`` artifacts.
urlstringThe URL, for ``link`` artifacts.
bernstein_post_messagePost a message to a task's mailbox as a signed journal entry.
ParameterTypeDescription
body *stringThe message body (<= 4096 bytes).
kindstringTyped message kind - one of ``finding`` / ``artefact_ref`` / ``question``.
sender *stringThe posting worker's identity.
sender_card_fingerprintstring``sha256:`` fingerprint of the sender's agent card key.
bernstein_runStart an orchestration run by posting a task
ParameterTypeDescription
complexitystring
estimated_minutesnumber
goal *string
prioritynumber
rolestring
scopestring
bernstein_run_statusReturn a verifiable Tasks-extension handle for a run, by run id.
ParameterTypeDescription
workdirstringProject root for orchestration journals. Administrative ids are read from the authenticated task server instead.
bernstein_scenarioList, run, or poll Bernstein scenarios through one ``action`` selector.
ParameterTypeDescription
branchstringBranch override (``run`` only).
orchestration_idstringValue a ``run`` returned (required for ``status``).
pr_numberintegerPR number to inject when triggered by GitHub (``run`` only).
scenario_idstringIdentifier from the scenario library (required for ``run``), e.g. ``"pr-review-comprehensive"``.
bernstein_shutdown_orchestratorShut down the ENTIRE Bernstein orchestrator for this project - every
bernstein_statusReturn task counts summary
bernstein_subscribeWait for the first new task for a role using SSE, then unsubscribe.
ParameterTypeDescription
timeout_secondsnumber
bernstein_task_capsuleReturn the worker's context capsule, optionally verified offline.
ParameterTypeDescription
verifybooleanWhen true, recompute the capsule offline from the run journal and audit chain and include the verdict.
workdirstringProject root directory (default: current directory).
bernstein_tasksList tasks with optional status filter
ParameterTypeDescription
statusstring
load_skillDiscover skills, or load a named skill body, reference, or script.
ParameterTypeDescription
referencestringOptional filename under ``references/`` - for example ``"python-conventions.md"``.
scriptstringOptional filename under ``scripts/`` - for example ``"lint.sh"``. The script content is returned as text; the MCP harness does not execute it.

Security checks

Static checks derived from the repository 4 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository's README runs to about 3.0K words.
  • ✓License declaredThe repository declares the Apache-2.0 license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedDependency versions are pinned by uv.lock and 4 more.

2 checks have not been run yet.

Releases

v4.0.2v4.0.2 · 26 Nov 2026A patch release on top of v4.0.1 covering server access gates, default loopback `Host` header checks, adapter and journal fixes, and conformance tests. Review the loopback `Host` header change below before upgrading if a reverse proxy,…
v4.0.1v4.0.1 · 25 Nov 2026A patch release on top of v4.0.0. It fixes packaged `bernstein demo` execution from wheels, adds copy-pasteable offline receipt verification hints, resolves fractional-weight stalls in `FairScheduler`, and ships bug fixes across CLI…
v4.0.0v4.0.0 · 20 Nov 2026Bernstein 4.0.0 At a glance If a workflow node fails, Bernstein skips later layers, including independent branches, as in `bernstein workflow resume`. A detached SSH task with a nonzero remote exit fails the run and leaves later tasks…
v3.24.1v3.24.1 · 5 Nov 2026A patch release on top of v3.24.0. It applies default per-client attempt limits to authentication endpoints that were left on the generic request rate alone since v1.4.10 (#6874). There are no breaking changes and no configuration…
v3.24.0v3.24.0 · 5 Nov 2026This release adds cooperative task cancellation, a resumable journal stream for the terminal UI, and local merge-backs that can skip pushing to the remote (#6742, #6846, #5982). Graduation diagnostics can compare stored counters with…

README

The repository's README runs to about 3.0K words, fetched 4 days ago. The original in the repository is authoritative.

Read full README
Questions

About sipyourdrink-ltd/bernstein

How do I install sipyourdrink-ltd/bernstein?

Run uvx bernstein, then add the server to your MCP client's configuration.

Is sipyourdrink-ltd/bernstein safe to use with an AI agent?

Its trust score is 97 out of 100 (strong). It passes all 4 static checks Conduid ran on the repository. It has no ConduID identity yet, so agent calls to it are not receipted.

Is sipyourdrink-ltd/bernstein still maintained?

Yes — the latest release is v4.0.2 (26 Nov 2026), and the last commit was yesterday. The repository has 1.2K stars and 208 open issues.

What tools does sipyourdrink-ltd/bernstein provide?

Conduid read 19 tools from the source: bernstein_approve, bernstein_cancel, bernstein_claim, bernstein_complete, bernstein_cost, bernstein_create_subtask, bernstein_create_task, bernstein_health and 11 more. 15 of them publish their parameters, listed under Tools above.

What license is sipyourdrink-ltd/bernstein released under?

The repository declares the Apache-2.0 license. That applies to the latest release, v4.0.2, as well.