
amem
by amanasmuei
Persistent, shared memory layer for AI coding tools — local-first, semantic search, knowledge graph, works across Claude, Copilot, and Cursor.
What it does
amem gives every AI coding tool a shared, persistent memory. Tell Claude something once — corrections, decisions, preferences — and Copilot, Cursor, Windsurf, or any MCP client will recall it in the next session. Everything stays local in SQLite with semantic search (HNSW + FTS5), a typed knowledge graph, temporal validity, and a self-evolving reflection engine. No cloud, no API keys required.
Tools
- memory_store — Store a memory with type, tags, and confidence score; auto-redacts private content and expires contradictions
- memory_recall — Semantic search with compact mode for ~10x token savings; returns ranked results with relevance scores
- memory_detail — Retrieve full content by ID after a compact recall
- memory_context — Load all relevant context for a topic, organized by type with token budgeting
- memory_extract — Batch-save multiple memories from a conversation
- memory_forget — Delete a memory by ID or query
- memory_inject — Surface corrections, decisions, and graph neighbors before coding starts
- memory_patch — Surgical field-level edit with auto-snapshot for rollback
- memory_versions — View full edit history or restore any version
- memory_search — Exact full-text search via FTS5 with compact mode
- memory_since — Temporal query with natural language ranges (7d, 2w, 1h)
- memory_relate — Build a typed knowledge graph between memories
- memory_multi_recall — Multi-strategy search: semantic + FTS5 + graph + temporal with configurable weights
- memory_tier — Move memories between tiers: core (always loaded), working (session-scoped), archival (searchable)
- memory_expire — Mark a memory as no longer valid; preserved for history, excluded from recall
- memory_summarize — Store structured session summary with decisions, corrections, and metrics
- memory_reflect — Self-evolving reflection engine: clusters memories, detects contradictions, identifies synthesis candidates, surfaces knowledge gaps
- reminder_set — Create a reminder with optional deadline and scope
- reminder_check — Show overdue, today, and upcoming reminders
- memory_log — Append raw conversation turns (lossless, append-only)
- memory_export — Export memories as Markdown or JSON
- memory_import — Bulk import from JSON with automatic dedup
- memory_consolidate — Merge duplicates, prune stale, promote frequent, decay idle
Installation
Claude Code (recommended):
/plugin marketplace add amanasmuei/amem
/plugin install amem
Any MCP client (Claude Desktop, Cursor, Windsurf):
{
"mcpServers": {
"amem": {
"command": "npx",
"args": ["-y", "@aman_asmuei/amem"]
}
}
}
GitHub Copilot CLI:
copilot plugin marketplace add amanasmuei/amem
copilot plugin install amem
Supported hosts
Claude Code, GitHub Copilot, Cursor, Windsurf, and any MCP client via stdio.