Agent Memory Control Plane
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Agent Memory Control PlanePropose a memory about the new password policy"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Agent Memory Control Plane
English · 🇷🇺 Полное описание на русском
A local-first governance layer for AI-agent memory: deterministic routing, explicit ownership, review before promotion, scope-aware retrieval, conflict handling, and auditable receipts.
По-русски: локальная система управления памятью AI-агентов с явными владельцами истины, проверкой перед записью, разграничением доступа, обработкой конфликтов и аудитом. Открыть полное русское описание →
This is not another vector-memory demo. It answers the harder operational questions:
What is worth remembering?
Which source owns the truth?
Where should a proposed change be written?
Who may read or promote it?
Why did a record appear in retrieval?
What happens when two sources disagree?
Why it exists
A single assistant can survive on chat history. A multi-agent team cannot. Runtime messages, stable user preferences, operating procedures, team policy, and public knowledge have different owners, retention rules, and visibility boundaries. Mixing them into one searchable bucket creates stale answers, privacy leaks, and silent overrides.
Agent Memory Control Plane makes that lifecycle explicit and testable.
Related MCP server: Enhanced Cognee
Architecture
flowchart LR
I[Observation or proposed fact] --> C[Deterministic classification]
C -->|forbidden or ephemeral| X[Reject as non-memory]
C -->|allowed| W[Writeback route]
W --> K[Memory candidate]
K --> R{Reviewer and policy gate}
R -->|lower precedence| F[Conflict receipt]
R -->|approved| S[Canonical source]
S --> P[(SQLite canonical state)]
P --> Q[(FTS5 read-only projection)]
Q --> A[Scope-aware search]
A --> E[Explainable retrieval receipt]
S -->|newer accepted record| U[Supersession, never silent delete]The CLI and the isolated MCP adapter both pass through the same ControlPlane mutation boundary. Policy is packaged as YAML; contracts are expressed as JSON Schemas; SQLite stores canonical state and an append-only audit ledger; FTS5 is a rebuildable read-only projection.
What is real and useful here
This repository is a runnable reference implementation, not a slide deck or scaffold. It demonstrates:
Deterministic classification and writeback routing for stable facts, procedures, governance, and non-memory runtime evidence.
Candidate-first writes: no model or agent writes directly into canonical memory.
Capability and provenance gates: actor, source, owner, and scope must match policy both at proposal and promotion time.
Source precedence: lower-priority memory cannot overwrite higher-priority truth, even with identical content.
Conflict and supersession receipts instead of silent merge or deletion.
Scope-aware retrieval for
private,team, andpublicrecords.Explainable results with source, owner, scope, confidence, update time, retrieval reason, writeback target, and conflict/staleness signals.
Local-only operation with SQLite/FTS5 and no mandatory cloud, graph database, or embedding service.
Seven MCP tools that reuse the same policy boundary as the CLI.
Synthetic runnable scenarios for a personal assistant, a multi-agent team, and a public/private boundary.
Guarantees and non-guarantees
What the baseline enforces
fail-closed actor, source, owner, and scope checks;
dry-run by default for proposals and promotions;
explicit
--applyfor mutation;no automatic merge, delete, or lower-priority override;
no raw-session indexing;
no direct LLM write path;
local-only storage in the baseline;
auditable proposal and promotion events;
reproducible health and privacy checks.
What it does not promise
No memory system can honestly guarantee that an agent will never forget or that infrastructure will always work. This project reduces silent forgetting and drift by making ownership, promotion, retrieval, and health visible. Production operators still need backups, monitoring, policy review, and tested recovery.
It also does not provide semantic similarity in the baseline, cloud synchronization, automatic connector installation, or a production database migration framework.
Quick start
Requirements: Python 3.11+.
python3 -m venv .venv
.venv/bin/python -m pip install .
.venv/bin/amcp init
.venv/bin/amcp classify --dry-run "A procedure with step one"
.venv/bin/amcp propose greeting "Public onboarding guide" \
--source public-knowledge --owner researcher --scope public \
--actor researcher --apply
.venv/bin/amcp promote 1 --reviewer reviewer --apply
.venv/bin/amcp search onboarding --actor public_reader
.venv/bin/amcp explain 1 --actor public_reader
.venv/bin/amcp conflicts
.venv/bin/amcp audit
.venv/bin/amcp doctor
.venv/bin/amcp-mcp --list-tools
.venv/bin/python examples/run_scenarios.pypropose and its ingest alias are dry-run by default. promote is also dry-run unless --apply is present. The safe default route creates a private candidate owned by assistant in profile-memory; explicit source arguments must exactly match the source manifest and actor capability.
CLI surface
Command | Purpose |
| Create the local database and source registry |
| Classify input and show its writeback route |
| Validate and optionally persist a candidate |
| Apply reviewer, precedence, and provenance gates |
| Run FTS5 retrieval with scope filtering |
| Return the retrieval receipt for a record |
| List open conflicts |
| Show canonical and audit-ledger counts |
| Run fail-closed health checks |
MCP adapter
amcp-mcp is a dependency-free JSON-RPC stdio adapter. It exposes:
memory_searchmemory_explainmemory_proposememory_promotememory_conflictsmemory_source_getmemory_health
The adapter does not expand privileges or install a connector. Every call is handled by the same policy-aware control plane.
Privacy and anonymization
The implementation, tests, policies, demo traces, roles, and examples are synthetic and generic. They do not contain private conversations, real agent rosters, local production paths, chat IDs, credentials, private repositories, or owner-context records.
The public resource links below are intentional public attribution, not runtime data. Release checks scan both the working tree and reachable Git history for private paths, credential patterns, email addresses, high-risk identifiers, and non-generic commit identities.
Run the gate locally:
python scripts/public_scan.py --historyDocumentation
English
Русский
Additional artifacts: contributor guide and synthetic demo traces.
Public resources
License
MIT. Use the code as a reference implementation, keep the safety boundaries explicit, and do not present it as a guarantee of perfect memory or uninterrupted operation.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityCmaintenanceMCP server providing agent memory with deterministic deletion guarantees, enabling compliant event storage, context retrieval, and audit-proof data management.Apache 2.0
- Alicense-qualityCmaintenanceEnterprise-grade AI memory infrastructure with multi-agent support, providing 122 MCP tools for memory management, agent coordination, and cross-language SDKs.Apache 2.0
- Alicense-qualityBmaintenanceEnables AI agents to have persistent, self-managing memory with bi-temporal supersession, timely forgetting, and recall under a limited context window, using MCP protocol.MIT
- Alicense-qualityBmaintenanceProvides transparent, self-pruning memory for AI agents via MCP, enabling persistent, auditable recall that automatically forgets unimportant details.MIT
Related MCP Connectors
Your memory, everywhere AI goes. Build knowledge once, access it via MCP anywhere.
Shared long-term memory vault for AI agents with 20 MCP tools.
User-owned memory for AI agents, Copilot, Claude, IDEs, CLIs, and chat apps over remote MCP.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/AlekseiUL/agent-memory-control-plane'
If you have feedback or need assistance with the MCP directory API, please join our Discord server