Gemini CLI memory (save_memory / GEMINI.md) alternatives

Google's open-source Gemini CLI persists facts by editing tiered Markdown memory files — repo GEMINI.md, a per-project private memory folder and global ~/.gemini/GEMINI.md — that load into hierarchical context each session. Full Gemini CLI memory (save_memory / GEMINI.md) record →

  1. 1 Letta Code Coding-agent memory

    also in Coding-agent memory · same storage (file) · same retrieval (injection) · same conflict handling (agent) · same memory unit (file) · also open source · also self-hostable

    OSS ✓ Self-host ✓ Managed ? MCP ? ★ 3.7k released 2026-10-22 Apache-2.0 Compare with Gemini CLI memory (save_memory / GEMINI.md) →

  2. 2 OpenAI Codex (cloud agent) Coding-agent memory

    also in Coding-agent memory · same storage (file) · same retrieval (injection) · same memory unit (fact) · also open source · also self-hostable · also has MCP

    OSS ✓ Self-host ✓ Managed ✓ MCP ✓ ★ 128k released 2026-10-27 Apache-2.0 (Codex CLI; cloud agent proprietary) Compare with Gemini CLI memory (save_memory / GEMINI.md) →

  3. 3 Hermes Agent memory (Nous Research) Framework-embedded memory

    same storage (file) · same retrieval (injection) · same conflict handling (agent) · same memory unit (fact) · also open source · also self-hostable · also has MCP

    OSS ✓ Self-host ✓ Managed ? MCP ✓ ★ 256k released 2026-10-22 MIT Compare with Gemini CLI memory (save_memory / GEMINI.md) →

  4. 4 Serena (Oraios) Coding-agent memory

    also in Coding-agent memory · same storage (file) · same conflict handling (agent) · same memory unit (file) · also open source · also self-hostable · also has MCP

    OSS ✓ Self-host ✓ Managed ? MCP ✓ ★ 31k released 2026-10-20 GPL-3.0-or-later (SolidLSP MIT) Compare with Gemini CLI memory (save_memory / GEMINI.md) →

  5. 5 Devin (Cognition) Coding-agent memory

    also in Coding-agent memory · same storage (file) · same retrieval (injection) · same memory unit (fact) · also self-hostable · also has MCP

    OSS ? Self-host ✓ Managed ✓ MCP ✓ Compare with Gemini CLI memory (save_memory / GEMINI.md) →

  6. 6 Aider Coding-agent memory

    also in Coding-agent memory · same storage (file) · same retrieval (injection) · also open source · also self-hostable

    OSS ✓ Self-host ✓ Managed — MCP — ★ 41k released 2026-02-12 Apache-2.0 Compare with Gemini CLI memory (save_memory / GEMINI.md) →

  7. 7 OpenClaw memory File-backed / editor paradigms

    same storage (file) · same retrieval (injection) · same memory unit (fact) · also open source · also self-hostable · also has MCP

    OSS ✓ Self-host ✓ Managed ? MCP ✓ ★ 393k released 2026-10-22 MIT Compare with Gemini CLI memory (save_memory / GEMINI.md) →

  8. 8 gbrain (Garry Tan) Dedicated memory layers

    same storage (file) · same retrieval (injection) · same memory unit (fact) · also open source · also self-hostable · also has MCP

    OSS ✓ Self-host ✓ Managed ? MCP ✓ ★ 31k released 2026-10-22 MIT Compare with Gemini CLI memory (save_memory / GEMINI.md) →

Ranked by shared memory design (storage, retrieval, conflict handling, memory unit), same section and shared must-haves (open source, self-hosting, MCP), with adoption as a tie-breaker. ✓ confirmed · — no · ? not in the catalog yet. Want picks for your own requirements? Use the chooser. Checking a whole project? Check your stack.