Skip to content
devonmicrosystemsPublic

About

Signed, tamper-evident audit log — as a service. ECDSA hash-chained events + MCP server for AI agents (Claude Desktop, Claude Code, Cursor). Any tampering breaks the chain visibly. Auditors verify offline against the public key. Regulated-industries-first, MIT-licensed.

Topics

Resources

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Quorum

Signed, tamper-evident audit log — as a service. For any application, agent, or AI workflow.

ECDSA hash-chained events · one-command deploy · Python SDK · web Console · MCP server for Claude · independent offline verification.

License: MIT Python 3.10+

Built and dogfooded by Devon Microsystems. Anchor customer: VCFPilot (agentic vSphere operations).


The problem Quorum solves

Every audit story has the same weak point: how do you prove the audit log itself wasn't rewritten after the fact? A determined admin can UPDATE audit_events directly. A malicious insider can insert or delete rows. Your compliance report is only as trustworthy as the process that wrote it — and if your process is an AI agent, the problem is worse: the agent's actions must be provable, in order, forever, to a regulator who does not trust you.

Quorum is a local, ECDSA-signed, hash-chained event log any application, agent, or MCP-connected LLM can integrate:

  • Every event carries a signature over its content and a hash of the prior event.
  • Any tampering breaks the chain visibly. Modify a row, delete a row, insert a fake row: GET /v1/events/verify returns ok: false with the exact seq and cryptographic reason.
  • External verification. The public key is downloadable; auditors can verify offline — without trusting Quorum, your infrastructure, or the process that wrote the events.
  • Application-neutral. Same /v1 REST contract for any app; the Python SDK drops in with zero external dependencies.

Think HashiCorp Vault for audit — infrastructure every regulated system needs but shouldn't build itself.


Quick start — under 60 seconds

git clone https://github.com/devonmicrosystems/quorum.git
cd quorum/quorum-server
docker compose up -d
docker compose logs quorum | grep -A2 "ADMIN TOKEN"    # save the token
open http://localhost:9000/                            # web Console

Full walk-through, including your first signed event and a tamper-detection demo: docs/QUICKSTART.md.

For AI agents (Claude Desktop, Claude Code, any MCP client): jump to quorum-mcp/README.md — a single JSON config block plugs Quorum into your MCP-speaking model as tools it can call.


Who Quorum is for

  • Regulated industries — finance, healthcare, defense — where an admin who can rewrite the audit table is a compliance failure.
  • Teams running AI agents in production — LLM-driven ops, code, or customer workflows where every agent action must be provable after the fact.
  • Compliance and security engineers who need a portable, self-hostable audit primitive rather than a vendor-locked SaaS event bus.
  • Anyone building on MCP — pair Quorum's MCP server with your agent for tools to record every action the agent chooses to log; wire it as a Claude Code PostToolUse hook (or an application-side gate) for hard-gate enforcement the agent literally can't skip.

What ships in this repo

Component Path What it is
Quorum Server quorum-server/ FastAPI + SQLite + ECDSA P-256. Single-node. Container-ready.
Python client SDK quorum-client/ Zero external deps, offline buffer, automatic retries.
MCP server quorum-mcp/ Exposes Quorum as MCP tools any Claude client can call.
Quorum Console quorum-server/src/quorum_server/static/console.html Single-page web UI — verify, browse events, manage keys.
Docker Compose kit quorum-server/docker-compose.yml One command; production-shaped image.
Docs docs/ QUICKSTART · API-REFERENCE · SECURITY · DEPLOYMENT

Multi-node clustering, HSM-backed keys, non-Python SDKs, Postgres backend are all on the roadmap. See QUORUM-MVP-Spec.md for full scope.


How Quorum compares

Quorum immudb Amazon QLDB Hyperledger Fabric
Deployment shape One container, self-hosted Client/server DB AWS-only, managed Multi-org blockchain
Primary interface REST + SDK + MCP tools for AI agents SQL-ish AWS SDK Chaincode / gRPC
Independent offline verification Yes — public key downloadable Yes — Merkle proofs Yes — digest export Yes — via peers
Setup effort docker compose up Moderate AWS account + IAM High (multi-org config)
AWS status Not applicable Not applicable Deprecated 2025 (AWS notice) Not applicable
Focus AI-agent + application audit General tamper-evident storage Financial ledgers Consortium blockchains
License MIT Apache 2.0 Proprietary Apache 2.0

Quorum's niche: an application-neutral audit primitive small enough to embed, with first-class AI-agent tooling, hitting a gap left open when QLDB was deprecated and immudb pivoted upmarket.


Also in this repo: Quorum-the-convention

Before we shipped the server, Quorum was a file-based coordination convention for teams running many Claude Code sessions on shared workspaces (which is where the name came from — Devon literally said "the quorum has updated" when two AI sessions finally started coordinating instead of clobbering each other's work).

That convention is still shipped and still useful independently:

  • Quorum-Core.ps1 — runnable PowerShell proof of the lock-free, hash-chained, CRDT-convergent engine described below.
  • Quorum-Engine.md — architecture doc for the scale-out engine: append-only log + CRDT merge + materialized views + signing spectrum.
  • DEMO-SCRIPT.md — walk-through of the convention in daily use.

The Phase 1 Server + SDK + MCP is the product build of the same core idea: signed, append-only, tamper-evident record of actions in a shared environment.


Roadmap (short)

  • Now (Phase 1 shipped): Signed audit chain, Python SDK, MCP server, Console, Docker kit.
  • Phase 2: HSM-backed keys, Postgres backend, non-Python SDKs (JS, Go), SSO on the Console.
  • Phase 3: Multi-node clustering (Raft consensus lane per Quorum-Engine.md).
  • Phase 4: Coordination features — presence, mentions, cross-app digests.
  • Phase 5: RAG over the audit chain — "show me every action related to VM outages last quarter."

Honest scope — please read

Phase 1 is early v0.1 — one-node deploy, SQLite storage, Python-only SDK, Console with admin-token paste (no SSO yet). It works, it's tested, VCFPilot uses it in production on the lab. It is not yet a hardened multi-tenant enterprise platform.

Known Phase 1 limits: single-node (no HA/clustering), server-held signing key (see SECURITY.md for the customer-held-key design question), no SSO/RBAC (API-key auth only), no built-in retention policy, no non-Python SDKs yet. The Team tier (Phase 2) roadmap fills these gaps — HSM/KMS-backed keys, SSO, retention policy, Postgres backend, JS + Go SDKs — as the paid hosted differentiator over the MIT-licensed core.

Read docs/SECURITY.md for the explicit list of what Quorum protects against and what it deliberately doesn't (yet).

The core cryptographic guarantees are real and complete. Everything else in Phase 2/3 is engineering, not invention.


Contributing

Issues and PRs are welcome. If you're using Quorum in production and hit a sharp edge, please open an issue — real-world signal shapes the roadmap.

For anything sensitive (suspected chain-integrity bug, key-handling concern): email devon @ devonmicrosystems.com rather than opening a public issue.


Why this exists

Built by a 20-year infrastructure engineer running an AI-agent business who watched every audit-trail demo pretend that the log itself was trustworthy — and decided to build the layer that actually makes it true. If you have compliance requirements and can't tell your CISO "yes, we can prove the audit log wasn't tampered with," Quorum is the missing piece.


License

MIT. Contributions welcome — issues and PRs open.

About

Signed, tamper-evident audit log — as a service. ECDSA hash-chained events + MCP server for AI agents (Claude Desktop, Claude Code, Cursor). Any tampering breaks the chain visibly. Auditors verify offline against the public key. Regulated-industries-first, MIT-licensed.

Topics

Resources

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages