okf-agent-memory

Git-native persistent project memory for AI agents using OKF bundles.

Local

Install

See setup instructions on okf-memory.dev

What it does

OKF Agent Memory is a Go-based tool and MCP server that stores durable project knowledge for AI agents as plain-text OKF v0.2 bundles checked into Git. It separates a short behavioral codex loaded at session start from a larger knowledge corpus that starts at zero token cost and is queried on demand, so agents retrieve only the decisions, facts and runbooks they need instead of carrying everything in the prompt. Search uses an in-memory BM25 index, and concepts carry provenance, trust tiers and lifecycle metadata such as staleness dates. It is aimed at developers and teams who want auditable, version-controlled memory for coding agents without a vector database or embedding API costs.

Installation is via a compiled okf binary built from source; a bootstrap command scaffolds the agent memory stack into an existing project. Commands cover validation, search, show, create, update and changes, and bundles can be pulled from a registry or Git and restored from a lock file. Memory is layered across project, vendor, user and system scopes, with higher layers shadowing matching concept IDs. Clients connect through the command-line interface or the included MCP server.

Limitations: retrieval is lexical rather than semantic, so it depends on wording in the knowledge base, and bundles must be kept current through manual updates or drift and scorecard checks. The optional sync hub requires a password and secret key, and scope isolation must be declared explicitly in the bundle index.

Compatibility and authentication

Connection
Local
Transports
Unspecified
Authentication
Unknown

Security and permissions

  • When you run the server locally, it runs with your user permissions.
  • Authentication type: Unknown.

Repository data

Stars
872
Last push
Nov 21, 2026
License
MIT
Archived
No

FAQ

What license does okf-agent-memory use?
MIT
Does okf-agent-memory run locally or remotely?
It runs locally.
Is okf-agent-memory an official server?
It is listed as a community server.

Comments

No comments yet.

Embed a listing badge

Featured on AI Agents Marketplace
<a href="https://aiagentsmarketplace.dev/mcp/okf-agent-memory"><img src="https://aiagentsmarketplace.dev/badges/featured.svg" alt="Featured on AI Agents Marketplace" width="262" height="36"></a>
See badge options