AgentMemory: Open-source persistent memory tool for AI coding agents
By
fmerian
A good honest bake. Not flashy, but you'll finish the whole bagel.
Summary
AgentMemory is an open-source tool that gives AI coding agents (like Claude Code, Codex, Cursor, etc.) persistent memory across sessions, solving the problem of agents forgetting context between sessions. It captures agent actions, compresses them into structured memories, indexes them with hybrid search, and injects relevant context into future sessions. The tool claims up to 95% fewer tokens per session, 200x more tool calls before hitting context limits, and has gained 5,000+ stars on GitHub.
Key quotes
· 4 pulledAgentMemory gives AI coding agents persistent memory across sessions, so they can actually build on what they've already learned about your codebase.
It automatically captures what your agent does, compresses it into structured memories, indexes them with hybrid search, and injects the right context back into future sessions.
At 1,000 observations, 80% of your built-in memories become invisible. agentmemory keeps 100% searchable.
Up to 95% fewer tokens per session → 200x more tool calls before hitting context limits → 100% open source
You might also wanna read
YourMemory: Open-source persistent memory layer for AI agents using Ebbinghaus forgetting curve
YourMemory is an open-source persistent memory layer for AI agents that implements Ebbinghaus forgetting curve decay to mimic human memory.
Agent-kernel: Minimal Tool for Adding Stateful Memory to AI Coding Agents
Agent-kernel is a minimal open-source tool that adds stateful memory to AI coding agents. It enables agents to remember conversations betwee
DiffMem: Git-Based Differential Memory System for AI Agents
DiffMem is a proof-of-concept project that implements a git-based memory storage system for AI agents and conversational systems. It uses Ma
Robot Memory System Enables AI Robots to Learn from Past Experiences
Robot Memory (robotmem) is a persistent memory system for AI robots that enables robots to learn from past experiences. The system stores ep
Letta Code: A Memory-First Coding Agent for Persistent Learning Across Sessions
Letta Code is a memory-first coding agent designed for long-lived, persistent AI agents that learn and improve across multiple sessions rath
letta.com·5mo agoHippo-memory: Biologically-Inspired Memory System for AI Agents with Decay and Consolidation Features
Hippo-memory is a biologically-inspired memory system for AI agents that addresses the problem of AI agents forgetting everything between se
