agent-memory
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-memorysearch my memory for notes about the payment integration"
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.
agents-memory
Local markdown memory & cross-agent context engine for AI coding assistants.
One persistent identity, shared across Claude Code, Cursor, Antigravity, and Zed.
Quickstart
1-Step Setup
pip install agents-memory && agents-memory sync --initScaffolds ~/.agents/memory/, autowires MCP configurations into your installed IDEs, and registers assistant skills.
๐ค Agent-Driven Setup (Zero Friction):
Simply tell your coding agent: "Install and set up agents-memory for me."
The agent installs the package, asks your stack preferences once, fills your USER.md profile, and registers your repositories autonomously.
Source checkouts can also be installed and managed using vand.
Related MCP server: Jarvis Markdown MCP
Why .agents/memory?
The name agents-memory comes directly from its universal storage standard: .agents/memory.
Global:
~/.agents/memory/stores your persistent identity, stack defaults, durable concepts, and project index.Repository:
<repo>/.agents/memory/stores repo-specific facts, architecture ADRs, and staging inboxes.
While AI vendors fragment their configuration across proprietary stores, .agents/ provides a single, open, vendor-neutral filesystem hub for all agent configurations and shared intelligence.
agents-memory delivers this with a pure Markdown-first architecture:
Local & Offline: Your identity and repo memory live in plain files (
~/.agents/memory/and<repo>/.agents/memory/).Human-Readable & Git-Friendly: Edit with any text editor, diff with git, commit when you want.
Universal MCP Server: Exposes memory tools (
search_memory,add_memory,get_project_memories,distill_batch,get_baton,set_baton,append_chronicle,session_snap,session_grep,search_hybrid,get_related,suggest_links,check_memory_freshness) to all modern agents.Ranked Hybrid Retrieval: Exact-substring precision first with SQLite FTS5 fallback and bidirectional wikilink relation navigation.
Autonomous Ingest & Distillation: Extracts durable rules and architecture decisions from session logs (OpenAI, Claude, Cursor, Copilot, Antigravity, Pi).
Architecture & Flow
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ SESSION INGEST โ
โ OpenAI Exports ยท Claude JSONL ยท Cursor ยท Antigravity ยท Pi โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ ingest catalog / extract
โผ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ STAGING INBOX โ
โ Raw captured bullets & noise-filtered facts โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ distill_batch / skill
โผ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ LOCAL MEMORY STORE โ
โ ~/.agents/memory/USER.md ~/.agents/memory/PROJECTS.md โ
โ ~/.agents/memory/concepts/ <repo>/.agents/memory/ โ
โโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโ
โ โ
โผ โผ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ IDE INJECTION โ โ MCP SERVER & CLERK โ
โ Cursor Rules ยท Zed Context โ โ search_memory ยท add_memory โ
โ Antigravity AGENTS.md โ โ Universal Tool Integration โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโCLI Reference
Command | Purpose |
| Updates canonical |
| First-time scaffolding, example creation, and host discovery |
| Discovers unregistered local repositories across workspace roots |
| Registers a new repository |
| Indexes local chat transcripts across all supported providers |
| Runs heuristic filters to extract durable facts into staging |
| Inspects staging inbox for distillation |
| Zero-AI mechanical store health checks (stubs, duplicates, leaks) |
| Rebuilds the disposable local SQLite FTS5 search index |
| Starts local interactive memory browser on localhost:8765 |
| Exports static HTML documentation site for your memory store |
| Ensures no private state leaked into working repository |
MCP Tools Reference
Tool | Parameters | Description |
|
| Exact-substring precision first with ranked SQLite FTS5 fallback. |
|
| Proactively save durable facts, concepts, ADRs, or rules directly to memory. |
|
| Retrieve project-specific facts, architecture decisions, and active work files. |
| None | Retrieve unreviewed captured bullets across user and project staging files. |
|
| Batch promote durable facts to permanent files or discard throwaway noise. |
|
| Promote a single staging bullet to permanent memory. |
|
| Read the active session baton handover note for context continuity. |
|
| Update the session baton handover note for the next agent session. |
|
| Record a major milestone or beat in the project's temporal chronicle. |
|
| Snapshot recent user query history and active session baton. |
|
| Fast regex search across indexed session transcripts. |
|
| Tail recent user interaction lines from session logs. |
|
| Hybrid search combining SQLite FTS5 text rank with wikilink relations. |
|
| Traverse explicit wikilink relations, references, and backlinks. |
| None | Mechanical audit of staging backlog and stale project batons. |
Supported Ecosystem
Claude Code: Bound via symlink / canonical
AGENTS.mdand MCP server.Google Antigravity: Integrated via
.gemini/configrules andagents-memoryMCP.Cursor: Automatically injects rules and configures
.cursor/mcp.json.Zed: Configures
context_serversand mirrors assistant skills.VS Code / Copilot: Ingests session history from local state databases.
Also compatible with: Windsurf, Cline, Roo-Code, Aider, Continue.dev, OpenAI ChatGPT, Pi, Goose, and any MCP-compliant AI assistant.
Open ABI Specification
The formal, implementation-agnostic layout specification lives in abi/:
abi/WHY.mdโ Architecture decisions & why Markdown wins over RAG.abi/LAYOUT.mdโ Directory taxonomy and path contracts.abi/KINDS.mdโ Typed memory taxonomy (concepts,facts,decisions).abi/HYGIENE.mdโ Store hygiene doctrine, anti-bloat rules, and health checks.abi/MCP.mdโ Tool surface definitions and request/response specifications.abi/INGEST.mdโ Catalog, extract, and distillation pipeline.abi/INJECTION.mdโ Host rule injection mechanisms.
Testing & Verification
Run the comprehensive test suite and distillation benchmark:
python tests/run_all_tests.pyLicense
MIT License. See LICENSE for details.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
No tool schema history has been recorded yet.
This server cannot be installed
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 Connectors
One memory, every AI. A shared, user-owned markdown memory your AI clients read and write over MCP.
Shared, governed long-term memory for AI agents across tools and sessions via MCP and REST.
Persistent AI memory shared across Claude, ChatGPT, coding agents, and compatible MCP clients.
Persistent memory for AI agents across Claude, ChatGPT and any MCP client.
Related MCP Servers
- AlicenseNot gradedqualityAmaintenanceLocal-first, file-based memory layer for AI agents โ one shared Markdown vault across Claude, Codex, Gemini, Cursor and any MCP client. Provides read/write memory tools with an audit trail, per-agent trust levels, and Git sync; no cloud and no lock-in.2MIT
- AlicenseBqualityBmaintenanceLocal-first memory server for AI coding agents that stores work sessions, tasks, and durable memories in Markdown files, exposed through MCP tools for session management and memory retrieval.10131MIT
- AlicenseNot gradedqualityBmaintenanceProvides portable memory for AI agents using plain Markdown files. Enables storing, recalling, and managing memories via MCP tools like recall, remember, forget, list, and get.51MIT
- AlicenseNot gradedqualityBmaintenanceProvides a file-first personal memory layer for AI agents, enabling them to store and retrieve memories as markdown files with an SQLite index. The MCP server offers read-only search by default, with optional write tools for manual memory addition and conflict resolution.11MIT
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/Lolaplex/agent-memory'
If you have feedback or need assistance with the MCP directory API, please join our Discord server