ai-memory — Persistent Memory for Any AI
@alphaonedev
Persistent memory for any AI assistant. Zero token cost until recall. Stores memories locally in SQLite, ranks by 6-factor scoring, returns results in TOON compact format (79% smaller than JSON). 17 MCP tools, 20 HTTP endpoints, 25 CLI commands. 4 tiers from keyword to autonomous
概要
What is ai-memory?
ai-memory is a persistent memory system for AI assistants that uses zero context tokens until recall. It returns only relevant memories using six-factor scoring and TOON format, reducing response size by 79% compared to JSON. It is designed for use with multiple AI platforms including Claude, Codex, Gemini, and others.
How to use ai-memory?
Install ai-memory via cargo install ai-memory. Then use its 17 MCP tools such as memory_store, memory_recall, memory_search, and memory_list. The default tier is semantic; you can switch to keyword, smart (with Ollama), or autonomous (with Ollama) as needed.
Key features of ai-memory
- Zero token cost until memory_recall is called
- TOON format responses are 79% smaller than JSON
- Six