ai-memory — Persistent Memory for Any AI
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 with local LLMs via Ollama. 97.8% recall accuracy on ICLR 2025 LongMemEval benchmark. Works with Claude, ChatGPT, Grok, Cursor, Windsurf, Continue.dev, OpenClaw, Llama, and any MCP client. Open source, MIT licensed, written in Rust.