Mnemonic

•
1
•

Manages an attention-based memory layer for LLM coding agents, centralizing project guidance and lessons learned for efficient retrieval.

Mnemonic provides a standardized, collaborative memory system for LLM coding agents, addressing the common problem of fragmented and inefficient agent memory. It transforms scattered instructions, architectural decisions, and valuable lessons learned into a shared, version-controlled knowledge base. Designed for users working with multiple agents, IDEs, or repositories, Mnemonic ensures that agents retrieve only the most relevant information for a given task, preventing context window bloat and improving efficiency. Memories are stored in local YAML files, organized by category and scope, and can be enhanced with optional semantic search for superior retrieval quality, enabling both agents and humans to contribute and refine the collective knowledge.

Key Features

01Stores memories in version-controlled local YAML files
02Supports global, project, and team-scoped memory categories
031 GitHub stars
04Memory entries decay naturally based on score, hit count, and recency for dynamic relevance
05Attention-based memory retrieval for LLM coding agents
06Optional semantic search with local HNSW indexing and configurable embedding endpoints

Use Cases

01Capturing and reusing lessons learned during agent-led development sessions
02Centralizing shared project guidance and architectural decisions for LLM agents
03Providing a consistent knowledge base across multiple agents, IDEs, and repositories