Gitmem

•

Provides git-native, append-only, and reviewable memory for AI agents without relying on a vector database.

Gitmem offers a unique approach to AI agent memory by storing an append-only event log of facts, decisions, and corrections directly within a standard Git repository. This allows for unparalleled transparency, enabling users to read, diff, and blame an agent's memory just like code. It eliminates the need for complex vector databases or frequent LLM calls for memory retrieval, instead using deterministic projections to generate a token-budgeted brief, a current-facts view, and a conflict queue that highlights contradictions for human resolution.

主要功能

01Deterministic projections: generates a concise brief for context, current facts view, and conflict queue.
02Surfaces contradictions (conflicts) for human resolution, never auto-resolves them.
030 GitHub stars
04Git-native integration with a union merge driver for automatic merge of concurrent appends.
05Append-only event log stored as plain JSONL files in a Git repository.
06Built-in MCP server to provide memory tools to any MCP client, including Claude Code.

使用案例

01Equipping AI coding agents like Claude Code with persistent, reviewable memory across sessions.
02Storing an auditable log of an AI agent's observations, decisions, and corrections.
03Enabling human oversight and review of an agent's long-term knowledge base via standard Git tools.