ai-memory Compiles a Git-Versioned Markdown Wiki at Session End Instead of Retrieving Over Raw Logs — 15 Agent CLIs Supported for Cross-Vendor Handoff
akitaonrails/ai-memory (1,229 stars, +184 this week, MIT, Rust, 900 commits) inverts the usual agent-memory design: hooks emit sanitized lifecycle observations during a session, and the server compiles them into coherent wiki pages at session end or PreCompact — 'compiled from observations at session-end, not retrieved over raw logs' — with Codex able to close manually via ai-memory finalize-session. Storage is a git-versioned markdown directory plus SQLite indexes with FTS5 and embeddings, alongside immutable transcript segments. Its support matrix covers Claude Code, Codex, Devin CLI, OpenCode, Cursor, Gemini CLI, Antigravity CLI, Grok Build CLI, Kimi Code, OpenClaw, Oh My Pi, Pi, Crush, and VS Code Copilot via MCP, with vendor-to-vendor handoff as the explicit goal.
Source
↳ Follow the thread