Vibe Coding Discover

AI Agents

okf-agent-memory

View on GitHub

Git-native persistent memory for AI coding agents. Implements Google OKF v0.2 with sub-300µs in-memory BM25 search, embedded MCP server, and progressive disclosure. Slashes token bloat by 80% with zero external databases or dependencies. Built in pure Go.

★ 72355 forksGoMITokf-memory

Git-native persistent project memory for AI coding agents, storing decisions and facts as plain-text OKF v0.2 markdown bundles. Serves them over an embedded MCP server with sub-300µs in-memory BM25 search and progressive disclosure, cutting context token bloat ~80% with no databases or API costs.

Use Cases

Persist architectural decisions and project facts across agent sessionsCut prompt/context token bloat by ~80% via progressive disclosureServe project memory to Claude Code, Cursor, or Codex over MCP stdioSearch project knowledge with sub-300µs in-memory BM25 retrievalBind code files to constraints and query holds before editing via --for-pathBootstrap a git-versioned knowledge bundle into any repositoryReplace vector-DB memory with zero-dependency local lexical retrieval

Built With

Language
Go
Frameworks
Model Context Protocol (MCP) · Open Knowledge Format (OKF) v0.2 · BM25 · Dual-Memory Agent Architecture (DMAA)

Tags

agent-memory · persistent-memory · mcp-server · mcp · git-native · bm25 · knowledge-graph · coding-agents · progressive-disclosure · context-management · llm-memory · markdown · cli · okf · golang · developer-tools