Runnable demo RUNS LOCALLY AGENTS SCRIPTED

Keeping architecture consistent across multiple AI agents.

Three actors touch the same service in three separate sessions, sharing no memory with each other. They share one thing: the compiled decision corpus. The invariants hold because they live outside every actor, not inside any of them.

The decisions at stake
ADR-001 forbids external databases. Redis is forbidden.
ADR-003 forbids ORMs in v1.

The demo shows how three independent actors stay aligned because they all evaluate against this same compiled corpus — not against each other.

What happened

Run it yourself

git clone https://github.com/MnemeHQ/mneme
cd mneme/examples/multi-agent-governance
python run.py

Actor C is the interesting one — a genuine architectural violation surfaced explicitly rather than silently resolved:

FAIL  [ADR-003] anti_pattern "sqlalchemy" -- trigger: sqlalchemy
WARN  [ADR-003] constraint "no sqlalchemy" -- trigger: sqlalchemy

Result: FAIL

The actors are scripted so the enforcement output stays deterministic. This is not a multi-agent runtime and does not claim to be one — it shows that one corpus keeps three independent sessions coherent.

Ready to try it?

Install the CLI and check your first decision in under a minute.

View source on GitHub · All demos