CogMemory

•

Provides a unified Model Context Protocol server offering four context subsystems for AI coding agents to manage memory, knowledge, specifications, and code graphs.

CogMemory acts as a central hub for AI coding agents, implementing the Model Context Protocol to enhance their understanding and operational capabilities. It integrates distinct subsystems for persistent memory (decisions, conventions, errors, plans), a knowledge graph (entities, relations, observations), structured specifications (long-form documents), and a detailed code graph (static analysis, execution traces, annotations). This robust framework allows agents to store, recall, and reason over various forms of contextual information, facilitating more informed and autonomous development processes, all powered by a SQLite backend for efficient data storage.

主な機能

01Comprehensive Memory Management: Log decisions, conventions, errors, active context, plans, tasks, and session summaries.
020 GitHub stars
03Integrated Knowledge Graph: Create and query entities, relations, and observations to build a semantic understanding.
04Flexible Scope Configuration: Supports workspace or global data scopes with SQLite for persistent storage.
05Dynamic Code Graph Analysis: Index codebases, query symbols/edges, generate bounded subgraphs, and annotate code elements.
06Structured Specs Storage: Store, retrieve, and update long-form documents like PRDs/SRSs with versioning.

ユースケース

01Enhancing AI coding agents with persistent memory and contextual recall capabilities.
02Building semantic knowledge bases for development projects and technical documentation.
03Automating the creation and maintenance of code understanding for AI-driven development workflows.