Memory
Knowledge graph-based persistent memory system
MOmodelcontextprotocol/servers91k182 new stars in the last 7 days
Local memory engine for AI agents with knowledge graphs, forgetting, and semantic recall
The only memory engine with neuroscience-grounded memory dynamics — Bjork dual-strength forgetting, retrieval-induced suppression, and Hebbian co-activation — in a zero-dependency embeddable Rust library.
Stores conversation episodes, consolidates knowledge through a cognitive lifecycle, and builds a personal knowledge graph — all in a local SQLite database.
Add to ~/.claude/claude_code_config.json:
{
"mcpServers": {
"alaya": {
"command": "npx",
"args": ["-y", "alaya-mcp"]
}
}
}
Add to your Claude Desktop MCP config:
{
"mcpServers": {
"alaya": {
"command": "npx",
"args": ["-y", "alaya-mcp"],
"env": {
"ALAYA_LLM_API_KEY": "sk-...",
"ALAYA_LLM_API_URL": "https://api.openai.com/v1/chat/completions",
"ALAYA_LLM_MODEL": "gpt-4o-mini"
}
}
}
}
The ALAYA_LLM_* env vars are optional — they enable automatic knowledge extraction. Without them, the agent extracts knowledge from its own context.
| Tool | Description |
|---|---|
remember | Store a conversation episode |
recall | Semantic search across memories |
status | Memory system health and stats |
knowledge | Browse extracted knowledge |
learn | Store pre-extracted facts and relationships |
categories | View emergent category taxonomy |
preferences | Track crystallized user preferences |
neighbors | Explore the knowledge graph |
lifecycle | Trigger maintenance (strengthen, transform, forget) |
configure | Set embedding provider and other options |
All data stays on your machine in ~/.alaya/memory.db.
| Problem | File-based memory | Alaya |
|---|---|---|
| Token waste | Full-context injection (~35K tokens/msg) | Ranked retrieval — only top-k relevant memories |
| No structure | Everything in one file | Three typed stores: episodes, knowledge, preferences |
| No forgetting | Files grow until manually curated | Bjork dual-strength decay + retrieval-induced forgetting |
| No associations | Flat files, no links | Hebbian co-retrieval graph (LTP/LTD) |
| Brittle preferences | Agent-authored summary, drifts | Implicit preferences emerge from impressions (vasana) |
| LLM required | Can't function without one | Graceful degradation: no embeddings → BM25-only |
MIT

Knowledge graph-based persistent memory system
MOmodelcontextprotocol/servers91k182 new stars in the last 7 days
Semantic search across Sui documentation and knowledge sources, powered by kapa.ai
MYMystenLabs/sui7.8k7 new stars in the last 7 days
Memory that reasons: continual learning for stateful agents. Better context, fewer tokens.
PLplastic-labs/honcho7.6k105 new stars in the last 7 days
5ire is a cross-platform desktop AI assistant, MCP client. It compatible with major service providers, supports local knowledge base and tools via model context protocol servers .
NAnanbingxyz/5ire5.4k6 new stars in the last 7 days
Search, read and cite papers from your Zotero library in any AI agent.
5454yyyu/zotero-mcp5.3k81 new stars in the last 7 days
Access Pollinations models and API capabilities through agent tools.
POpollinations/pollinations5.2k42 new stars in the last 7 days