Discover and explore top open-source AI tools and projects—updated daily.
rohitg00Persistent memory for AI coding agents
Top 47.8% on SourcePulse
Summary
This project addresses the critical issue of AI coding agent memory loss between sessions, which forces repetitive context re-explanation and hinders efficiency. agentmemory provides a persistent, searchable, and versioned database, significantly enhancing agent efficiency, reducing token costs, and enabling faster, more aware session starts for developers.
How It Works
Leverages hooks to capture agent actions (tool use, file edits, errors), then uses LLMs for compression into structured facts and narratives. Core retrieval employs a novel triple-stream approach combining BM25, vector embeddings, and knowledge graph traversal, fused via Reciprocal Rank Fusion. Memory management includes 4-tier consolidation, automatic versioning, superseding facts, and cascading staleness propagation, ensuring context remains clean and relevant.
Quick Start & Requirements
npx @agentmemory/agentmemory (auto-installs iii-engine). For Claude Code: /plugin marketplace add rohitg00/agentmemory then /plugin install agentmemory.http://localhost:3113.Highlighted Details
Maintenance & Community
The project features 581 unit tests and zero external database dependencies, indicating a focus on stability and self-containment. No specific community channels or contributor details were highlighted in the README.
Licensing & Compatibility
Licensed under Apache-2.0, a permissive license suitable for commercial use and integration into closed-source projects.
Limitations & Caveats
While robust, the system relies on LLM compression and embedding generation, which can be resource-intensive. Configuration for specific LLM/embedding providers is required for optimal performance beyond the default Claude integration. The project appears to be under active development (v0.7.1).
2 days ago
Inactive
gastownhall