Two peer systems beneath the agents

Two peer systems beneath the agents An architecture diagram generated by Archify. AI coding clients · Claude Code · Codex · Architecture component AI coding clients Claude Code · Codex Enforcement · rules · hooks · repo contracts · Architecture component Enforcement rules · hooks · repo contracts MIMIR² graph MCP · the five-step ladder · MIMIR² · comprehension · code facts MIMIR² graph MCP the five-step ladder code facts MIMIR² core · tenancy · freshness · MIMIR² · comprehension MIMIR² core tenancy · freshness Code graph · Neo4j · MIMIR² · comprehension Code graph Neo4j Repository fleet · 100+ repos, manifest · Architecture component Repository fleet 100+ repos, manifest Embedding APIs · external · Architecture component Embedding APIs external Ogham MCP · store · recall · relate · Ogham · memory · decisions Ogham MCP store · recall · relate decisions Memory store · Postgres + pgvector · Ogham · memory Memory store Postgres + pgvector every session graph before raw reads store before it's lost HTTP tenant-scoped ingest vectors vectors memories + edges MIMIR² · comprehension Ogham · memory

MIMIR² · comprehension

  • • A tenant-aware Neo4j graph of more than 100 repositories
  • • map → find → explain → neighbors → read
  • • Exact source only at the last step

Ogham · memory

  • • Decisions, rationale and provenance, with tags and retention
  • • Hybrid semantic + keyword recall across sessions
  • • Began as a fork of open-source ogham-mcp; since diverged

The contract

  • • Code facts live in the graph, decisions in memory
  • • Agents consult the graph before broad file reads
  • • Both self-hosted; neither has a product UI