ClaudeMap

OKF Agent Memory

Git-native persistent memory for AI agents — plain Markdown knowledge bundles conforming to Google's OKF v0.2, with a Go CLI and stdio MCP server.

SDKs & Toolingmemoryagent-skillsmcpmarkdowngo

OKF Agent Memory implements the Open Knowledge Format v0.2 spec (from GoogleCloudPlatform/knowledge-catalog) as a vendor-neutral memory layer: architectural decisions, domain discoveries, and operational facts live in knowledge/ as Markdown files with YAML frontmatter, reviewed in PRs like any other code. A zero-dependency Go binary validates, searches (BM25), and updates the bundle, embeds an agent skill, and serves it to Claude Code, Cursor, or Codex over a native stdio MCP server. okf bootstrap scaffolds the whole stack into a project in one command.

What it does

  • Implements Google's Open Knowledge Format v0.2 spec — a standard, not a proprietary store
  • Memory lives in-repo as Markdown + YAML frontmatter; diffs and reviews like code
  • Zero-dependency Go binary: validate --strict --drift, BM25 search, create/update bookkeeping
  • Native stdio MCP server (okf mcp knowledge) for Claude Code, Cursor, Codex

When to use it

For teams that lost decisions to closed context windows and want agent memory that survives in git, is human-reviewable, and isn't a vector database to babysit.

Getting started

git clone https://github.com/okf-memory/okf-agent-memory
cd okf-agent-memory && make build   # produces bin/okf
./bin/okf bootstrap /path/to/project --name "My Project"
./bin/okf mcp knowledge             # stdio MCP server

Things to know

Structured memory means someone must keep it tidy — drift detection helps but isn't a substitute for review discipline. The spec is new (v0.2); tooling beyond this repo is still thin.

Repository

okf-memory/okf-agent-memory

Charted

Related on the map

  • Harness Bridge

    SDK / Tool

    A local launcher that points Claude Code and seven other coding harnesses at any OpenAI-, Anthropic- or Responses-compatible endpoint — without editing a single config file.

    • launcher
    • local-models
    • cli
    • menu-bar
  • Claude for Siri

    SDK / Tool

    Answers macOS Spotlight and Siri prompts with your signed-in Claude Code account — an experimental macOS 27 model-delegation provider.

    • macos
    • siri
    • spotlight
    • model-delegation
  • Extract your own local chat history from ten AI coding assistants into one normalized JSONL — for fine-tuning, analytics, or backing up years of conversations. Standard library only.

    • cli
    • data-export
    • jsonl
    • backup