Skip to content
The Daily Repo

okf-memory / okf-agent-memory

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.

Why this job: says: persistent memory, agent memory, memory for ai; topics: agent-memory, llm-memory

What it does

  • Dual-Memory Cognitive Architecture (DMAA). Separates normative push working memory (AGENTS.md codex) from semantic pull domain memory (knowledge/ bundle), completely eliminating prompt bloat.
  • Agent Action Grammar (AAG). Ultra-compact, deterministic ASCII micro-syntax saving ~78–85% tokens compared to natural language prompt instructions.
  • Blazing Fast Performance (<300µs Search, ~4ms Graph Validation): In-memory BM25 retrieval and bundle validation execute in microseconds without VM spin-up or network roundtrips.
  • 100% Git-Native & Zero Vendor Lock-in. Everything is version-controlled plain text. Inspect, audit, and review your agent's memory using standard git diff and git log. No external database required.
  • Zero API Costs for Memory Retrieval. Local lexical BM25 indexing eliminates recurring vector embedding API costs and network roundtrips.

Get started

No single install command. Read the steps in the README (opens in new tab)

Maintenance
Active
Last commit 4 days ago
Stars
861
+12 this week
Licence
MIT
Allows business use
Downloads for
3 systems
Mac, Windows, Linux
Latest version
v0.8.0
Released 4 days ago
Built with
Go
99% of the code

Is it looked after?

Contributors
7
Last 90 days
Issues
94% closed
2 still open
Pull requests
18 merged
0 waiting
Releases
23
23 in the last year

Similar repos

Repos similar to this one
RepoStarsLast commitLicenceDownloads for
joshuaswarren / remnic2323 days agoMITNo downloads
angelnicolasc / graymatter49031 days agoMITMac, Windows, Linux
tinqiao-oss / engramory2033 days agoMITNo downloads
More: download files, languages, topics and project record

Download files, v0.8.0

  • Mac2 files, 37 downloads
  • Windows2 files, 20 downloads
  • Linux2 files, 66 downloads

All files on GitHub (opens in new tab)

Languages

  • Go 99%
  • Makefile 1%
  • Go Template <1%

Topics

  • agent-memory
  • ai-agents
  • bm25
  • coding-agents
  • developer-tools
  • git-native
  • go
  • golang
  • knowledge-base
  • knowledge-graph
  • llm-memory
  • markdown

Project record

  • JobAgent memory
  • StatusFeatured
  • Commits242
  • Forks70
  • Watching6
  • Stars in 28 days+96
  • CreatedSep 5, 2026
  • First seen by usNov 7, 2026
  • CheckedNov 7, 2026

Type to search.

Try