Agent Memory Repo
on the blogCognition Open-Sources Agent Memory Repo: A Git-based Spec for Persistent, Long-term Agent Memory Across Sessions 3 minWhat is Agent Memory Repo?
Agent Memory Repo is an open specification that enables AI agents to maintain persistent, cross-session memory by utilizing a Git repository as the storage backend. It organizes information through a structured layout of Markdown files, allowing agents to read, update, and link memories like a wiki.
Agent Memory Repo provides a standardized, Git-native approach to long-term memory for AI agents. By treating memory as a version-controlled repository, it allows agents to store, retrieve, and update information across different sessions, ensuring that context, preferences, and project-specific knowledge are preserved over time. The system uses a MEMORY.md entry point and supports cross-linking between files, enabling agents to navigate complex information structures effectively.
Beyond simple storage, the specification supports advanced capabilities like 'Dreaming,' where a dedicated agent process periodically cleans up memory by merging duplicates and resolving contradictions. It is designed for versatility, supporting use cases ranging from personal context retention to complex agent swarms where multiple agents collaborate by sharing findings within a unified, versioned memory space.
Agent Memory Repo is built by Cognition and fits into the Agentic AI category. It was released on Oct 5, 2026.
Agent Memory Repo is free to use and open source, with the source code on GitHub. Teams typically use it for workflow orchestration, browser automation, RAG pipelines and human-in-the-loop, with domain-specific use in Customer support, Finance ops and Healthcare.
Who Agent Memory Repo is for
Teams and individual developers working in Agentic AI.