Skip to content
9c59af0c8d6f9ca1d32f1107de54a9581bae9107

9c59af0c8d6f9ca1d32f1107de54a9581bae9107

github.com • November 28, 2026

Open-Source, Local-First Long-Term Memory (LTM), Hybrid & MCP Governance Server for AI Agents and IDEs

Concierge Graph is a local-first memory server built around the Model Context Protocol (MCP) that gives AI coding assistants (Cursor, Claude Desktop, and autonomous agents) persistent project memory, hybrid retrieval, recursive call-chain queries, durable agent checkpoints, and governed tool disclosure — backed by SQLite WAL (with FTS5) and pluggable vector storage ( ChromaDB by default, optional Qdrant ).

V4 Core Consolidation Note: Experimental modules from earlier iterations have been moved to quarantine under archive/v4-experimental/ so that the active V4 core remains lean, deterministic, and audited.

V4 Core Consolidation Note: Experimental modules from earlier iterations have been moved to quarantine under archive/v4-experimental/ so that the active V4 core remains lean, deterministic, and audited.

Core Capabilities (V4 Core)

SQLite WAL + FTS5 Relational Graph ( storage/ ) : Stores projects, code nodes, call/import edges, semantic facts, memory commits, and durable agent checkpoints ( agent_checkpoints ) in a local SQLite database with WAL mode and full-text indexing.

Tri-Signal Hybrid v4 ( core/hybrid_search.py ) : Blends dense vector similarity ( sentence-transformers + ChromaDB/Qdrant), SQLite FTS5 BM25 lexical scoring, and topological/recency signals with strict project/wing scoping and query-time orphan vector filtering.

Python AST Ingestion & Self-Healing Vectors ( ingestion/ , services/janitor.py ) : Crawls repositories, extracts Python AST chunks and call edges, repairs missing embeddings during mining with honest failure reporting, and supports on-demand vector reconciliation ( concierge sync-vector ).

Recursive Call-Chain GraphRAG ( core/graph_rag.py ) : Traverses multi-hop calls dependencies over SQLite edges using WITH RECURSIVE CTEs protected by strict pipe-delimited cycle guards ( |node| ).

Durable Agent Checkpoints with Ownership Binding ( core/checkpointer.py ) : Persists and retrieves structured agent state dictionaries in agent_checkpoints via agent_save_checkpoint , agent_get_checkpoint , and agent_list_checkpoints with strict argument resolution, corrupt-JSON detection, and SHA-256 owner_hash namespace verification ( GRAFO_AGENT_TOKEN over stdio , or X-Grafo-Agent-Token over HTTP/SSE decoupled from Authorization: Bearer , falling back to an ephemeral per- ServerSession secret).

Least-Privilege MCP Governance ( core/mcp_governor.py ) : Classifies all 31 live MCP tools into READ_ONLY (18), LOCAL_MUTATION (11), and DANGEROUS (2) across a 3-state hierarchy ( PLANNING When running over HTTP/SSE, GET /health and HEAD /health return 200 {"status": "ok"} without requiring GRAFO_API_KEY , while /sse , /messages/ , and all other paths remain protected by pure ASGI Authorization: Bearer validation.

Run the MCP Server or CLI:

When running over HTTP/SSE, GET /health and HEAD /health return 200 {"status": "ok"} without requiring GRAFO_API_KEY , while /sse , /messages/ , and all other paths remain protected by pure ASGI Authorization: Bearer validation.

MCP Tools (31 Live Tools)

See docs-grafo-concierge/README.md for architecture details and the full list of CLI subcommands.

Testing & Verification

The active V4 core is covered by 379 passing automated tests (verified in normal and --reverse order, plus CI across Linux, Windows, and real container docker-smoke ):

Contributing & Lineage

Read CONTRIBUTING.md for architectural pillars, testing rules, and MCP governance contracts.

Read ATTRIBUTION_AND_LINEAGE.md for technical credits and the active vs. quarantined status matrix.

Read CHANGELOG.md for recent changes and breaking-change migration notes.

Distributed under the MIT License. See LICENSE for details.