A-MEM

•
35
•

Equips coding agents with a self-evolving memory system that organizes knowledge into a dynamic Zettelkasten-style graph.

A-MEM is an advanced self-evolving memory system designed for coding agents, surpassing traditional vector stores by automatically organizing knowledge into a Zettelkasten-style graph with dynamic relationships. Memories within A-MEM don't merely get stored; they continuously evolve, connect, and strengthen over time, creating a smarter, more interconnected knowledge base. It leverages LLMs to extract context, keywords, and tags, enabling a knowledge graph that grows more intelligent rather than just larger, optimizing recall and minimizing token usage for agents.

主な機能

01Peek and Drill: Efficiently retrieve relevant memories with lightweight metadata (id, context, keywords, tags) before drilling into full content to minimize token usage.
02Zettelkasten-style Graph: Organizes knowledge into interconnected notes with dynamic relationships.
03Flexible Backends: Supports various LLM backends like OpenAI, Ollama, SGLang, and OpenRouter.
04Semantic + Structural Search: Combines vector similarity with graph traversal for comprehensive memory retrieval.
0510 GitHub stars
06Self-Evolving Memory: Automatically finds related memories, strengthens connections, and updates context/tags when new knowledge is added.

ユースケース

01Automatically organizing and interlinking knowledge for complex, multi-step agent tasks.
02Enhancing AI coding agents with dynamic and evolving long-term memory capabilities.
03Optimizing token usage during memory retrieval for LLM-powered applications and agents.