Explore the research collection
5 entries · Follow this search
- Code
Agent Memory Repo (Cognition) — open spec for persistent agent memory
Cognition open-sources its agent memory format as an open standard, usable with any agent (announced alongside Devin's 'Dreaming' feature, where Devin builds a persistent memory graph of how a user likes to work across sessions). The format is a git repo of Markdown: every session clones the latest memory, searches or follows links, updates entries as the agent learns (no human in the loop), and pushes after every edit. MEMORY.md is the entry point loaded at the start of every session; entries are one-line bullets with open [key: value] metadata (recommended: source link to the session where it was learned, added date); [[path]] cross-links connect files; history and versioning come from git. 'Dreaming' is a dedicated periodic agent with two jobs: add new memory (spot patterns across sessions) and clean up (merge duplicates, drop outdated entries, resolve contradictions). Composability: memories are folders — a session can clone several repos at once (personal + team + swarm folders), each keeping its own ownership/permissions/history, and the agent tracks who said what. Agent swarms coordinate via message-board folders (findings.md, questions.md) with git rejecting conflicting pushes, forcing the agent to reconcile both versions. Worked examples: four parallel agents diagnosing a 1-in-100 slow request by sharing measurements through the repo, and a saved SQL query reused across sessions. Open to contributions: https://github.com/AgentMemoryRepo/agentmemoryrepo. Notably complementary/contrastable with the pending proactivity items on agent memory: the two-tier Memorystore/AlloyDB blueprint (SQL-native vector + BM25 hybrid retrieval, compaction) and the 'docs, not memory' RAG-skeptic argument. Directly relevant to the user's unnamed AI agent app.
- Paper
Mem0: Building Production-Ready AI Agents with Scalable Long-Term Memory
Mem0 incrementally extracts facts from message pairs (summary + last m=10 turns) then ADD/UPDATE/DELETE/NOOP against top-s=10 similar memories via GPT-4o-mini tool calls. Mem0^g stores entity–relation triplets in Neo4j. On LOCOMO (10 convos, ~600 turns / 26k tokens, ~200 Qs each), Mem0 J 66.88 overall vs OpenAI memory 52.90 / Zep 65.99 / full-context 72.90; single-hop J 67.13 and multi-hop 51.15 lead. Graph variant best on temporal (J 58.13) and competitive open-domain (75.71 vs Zep 76.60). p95 total latency 1.44s (91% below full-context 17.1s) at 1764 retrieved tokens vs 26k. Code https://github.com/mem0ai/mem0; research https://mem0.ai/research.
- Paper
Metis: Memory Foundation Model
Defines memory foundation models: a persistent parametric memory state plus native remember/forget/update procedures executed in forward computation rather than external RAG. Metis blocks add a local dense memory matrix and a hyper-memory updater (Gated Delta Network) fused via memory attention; online maintenance is a gradient-free forward pass with frozen weights. Mid-trained on 357,137 primary + 609,443 auxiliary synthetic multi-step trajectories from 27 public benchmarks (~406M primary tokens). Under no-context eval, Metis-27B leads Temp-LoRA and δ-Mem on MemOps, LoCoMo (Gold), and NextMem, still well below full-context Qwen3.5. Releases Metis-4B/9B/27B. Long-horizon compression loss and latent confusion remain.
- Paper
Zero-Mem: Zero-Token Memory Operations for LLM Agents
Keeps original interaction traces as the source of record and builds two non-generative views: an entity–context graph (spaCy NER, co-occurrence + adjacency, Personalized PageRank) and a temporal hierarchy (turn/window/episode/local). Query routing fuses the views, then deterministic calibration filters and ranks evidence; only the final-QA reader invokes an LLM. On LoCoMo with GPT-4o-mini, average F1 59.15 vs GAM 53.75; HotpotQA 56K–448K also leads. Memory-operation LLM tokens are 0 and latency falls 57.6% vs LightMem. Official code promised after peer review.
- Paper
Filesystem-Based Memory for LLM Agents: Organization, Evolution, and Sustainability
Treats deployed filesystem memory (markdown trees + generic file tools) as a design space with management/search/execution roles sharing one store for declarative memory and skills. Across LoCoMo, PersonaMem, REALTALK, and ALFWorld, varies store shape, scale, harness, and model strength. Organization's reliable payoff is search cost (roughly halves retrieval on large material), not answer quality. Organization erodes for all but the strongest management agent; tool set reshapes the store as strongly as swapping the model. No agent converts organization itself into better answers.