HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
okf-memory
okf-agent-memory
Go2026–2026
okf-memory / okf-agent-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.

2Distinct people
3Mentions
0Explicit recommenders
865GitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

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.

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 1:49:46 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by day3 dated mentions

Observed mentions: 2026-09-05 22:15:52 UTC to 2026-10-04 16:45:23 UTC.

0122026-09-05 00:00:00 UTC to 2026-09-06 00:00:00 UTC (exclusive): 2 mentions; 1 submissions, 1 commentsSep 52026-09-06 00:00:00 UTC to 2026-09-07 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-09-07 00:00:00 UTC to 2026-09-08 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-09-08 00:00:00 UTC to 2026-09-09 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-09-09 00:00:00 UTC to 2026-09-10 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-09-10 00:00:00 UTC to 2026-09-11 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-09-11 00:00:00 UTC to 2026-09-12 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-09-12 00:00:00 UTC to 2026-09-13 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-09-13 00:00:00 UTC to 2026-09-14 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-09-14 00:00:00 UTC to 2026-09-15 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-09-15 00:00:00 UTC to 2026-09-16 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-09-16 00:00:00 UTC to 2026-09-17 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-09-17 00:00:00 UTC to 2026-09-18 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-09-18 00:00:00 UTC to 2026-09-19 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-09-19 00:00:00 UTC to 2026-09-20 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 commentsSep 192026-09-20 00:00:00 UTC to 2026-09-21 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-09-21 00:00:00 UTC to 2026-09-22 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-09-22 00:00:00 UTC to 2026-09-23 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-09-23 00:00:00 UTC to 2026-09-24 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-09-24 00:00:00 UTC to 2026-09-25 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-09-25 00:00:00 UTC to 2026-09-26 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-09-26 00:00:00 UTC to 2026-09-27 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-09-27 00:00:00 UTC to 2026-09-28 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-09-28 00:00:00 UTC to 2026-09-29 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-09-29 00:00:00 UTC to 2026-09-30 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-09-30 00:00:00 UTC to 2026-10-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-10-01 00:00:00 UTC to 2026-10-02 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-10-02 00:00:00 UTC to 2026-10-03 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-10-03 00:00:00 UTC to 2026-10-04 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2026-10-04 00:00:00 UTC to 2026-10-05 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsOct 4

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
Sep 52026-09-05 00:00:00 UTC2026-09-06 00:00:00 UTC211
Sep 62026-09-06 00:00:00 UTC2026-09-07 00:00:00 UTC000
Sep 72026-09-07 00:00:00 UTC2026-09-08 00:00:00 UTC000
Sep 82026-09-08 00:00:00 UTC2026-09-09 00:00:00 UTC000
Sep 92026-09-09 00:00:00 UTC2026-09-10 00:00:00 UTC000
Sep 102026-09-10 00:00:00 UTC2026-09-11 00:00:00 UTC000
Sep 112026-09-11 00:00:00 UTC2026-09-12 00:00:00 UTC000
Sep 122026-09-12 00:00:00 UTC2026-09-13 00:00:00 UTC000
Sep 132026-09-13 00:00:00 UTC2026-09-14 00:00:00 UTC000
Sep 142026-09-14 00:00:00 UTC2026-09-15 00:00:00 UTC000
Sep 152026-09-15 00:00:00 UTC2026-09-16 00:00:00 UTC000
Sep 162026-09-16 00:00:00 UTC2026-09-17 00:00:00 UTC000
Sep 172026-09-17 00:00:00 UTC2026-09-18 00:00:00 UTC000
Sep 182026-09-18 00:00:00 UTC2026-09-19 00:00:00 UTC000
Sep 192026-09-19 00:00:00 UTC2026-09-20 00:00:00 UTC000
Sep 202026-09-20 00:00:00 UTC2026-09-21 00:00:00 UTC000
Sep 212026-09-21 00:00:00 UTC2026-09-22 00:00:00 UTC000
Sep 222026-09-22 00:00:00 UTC2026-09-23 00:00:00 UTC000
Sep 232026-09-23 00:00:00 UTC2026-09-24 00:00:00 UTC000
Sep 242026-09-24 00:00:00 UTC2026-09-25 00:00:00 UTC000
Sep 252026-09-25 00:00:00 UTC2026-09-26 00:00:00 UTC000
Sep 262026-09-26 00:00:00 UTC2026-09-27 00:00:00 UTC000
Sep 272026-09-27 00:00:00 UTC2026-09-28 00:00:00 UTC000
Sep 282026-09-28 00:00:00 UTC2026-09-29 00:00:00 UTC000
Sep 292026-09-29 00:00:00 UTC2026-09-30 00:00:00 UTC000
Sep 302026-09-30 00:00:00 UTC2026-10-01 00:00:00 UTC000
Oct 12026-10-01 00:00:00 UTC2026-10-02 00:00:00 UTC000
Oct 22026-10-02 00:00:00 UTC2026-10-03 00:00:00 UTC000
Oct 32026-10-03 00:00:00 UTC2026-10-04 00:00:00 UTC000
Oct 42026-10-04 00:00:00 UTC2026-10-05 00:00:00 UTC101

What Hacker News says

3 sources
Hey HN, We built OKF Agent Memory because we were frustrated with how AI coding agents (Claude Code, Cursor, Windsurf, local models) handle long-term project context. Every time a context window closes or a session resets, the agent forgets architectural decisions, domain discoveries, and operational rules. The existing solutions fall into two extremes: 1. Ad-hoc flat files (CLAUDE.md, AGENTS.md, .cursorrules) that inevitably balloon into 20k-token monoliths, degrade agent focus, and cause "lost-in-the-middle" attention failure. 2. Vector databases / background daemons (Mem0, Letta, Zep) that introduce heavy runtimes (Python/Node), docker containers, proprietary storage silos, and recurring embedding API costs (adding 200–800ms per retrieval call). Our approach: The "LLM Wiki" in pure Go. OKF Agent Memory (v0.1.0) is a single, zero-depend
Read the rest
ency Go binary that turns your Git repository into a structured, self-validating knowledge corpus based on Google's Open Knowledge Format (OKF) v0.2 specification: • In-Memory BM25 Search (<300µs): Fast lexical ranking across titles, YAML metadata, tags, and bodies directly in memory. No embedding APIs, zero network overhead, zero runtime cost. • Progressive Disclosure: Slashes prompt overhead by up to 90%. Instead of loading thousands of lines of context, the agent searches the bundle index and pulls only the exact 300-token concept required for the current task. • 100% Git-Native: Everything lives in `knowledge/` as human-readable Markdown. You audit your agent's memory via `git diff`, `git blame`, and code reviews. • Built-In Stdio MCP Server: `okf mcp knowledge` exposes native Model Context Protocol tools (`okf_search`, `okf_show`, `okf_create`, `okf_validate`) directly to Claude Code and Cursor. • Trust Tiers: Distinguishes authoritative human law (`verified: human:...`) from agent-generated drafts (`generated: agent:...`). • Sub-4ms Cold Starts (<15MB RSS): Starts in milliseconds with no VM spin-up. Try it in 30 seconds: $ brew install okf-memory/tap/okf $ cd your-project && okf bootstrap . GitHub: https://github.com/okf-memory/okf-agent-memory Docs & Landing Page: https://okf-memory.dev We'd love your feedback on the architecture, the Go implementation, and how your coding agents behave with progressive disclosure memory!
In OKF Agent Memory – Git-native persistent memory for AI coding agents

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.