frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

OKF Agent Memory – Git-native persistent memory for AI coding agents

https://github.com/okf-memory/okf-agent-memory
7•okf_memory•1h ago

Comments

okf_memory•1h ago
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-dependency 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!

hankbond•10m ago
How are you using this compared to more explicit approaches where you lay out the project documentation in certain formats and conventions?

Private German rocket makes history, reaches orbit from European soil

https://www.space.com/space-exploration/launches-spacecraft/isar-aerospace-second-launch-norway-a...
285•bookmtn•3h ago•140 comments

Finite time blowup for an averaged three-dimensional Navier-Stokes equation (2014)

https://terrytao.wordpress.com/2014/02/04/finite-time-blowup-for-an-averaged-three-dimensional-na...
51•gmays•3h ago•20 comments

Learn Programming with OCaml

https://usr.lmf.cnrs.fr/lpo/
148•elvis70•7h ago•67 comments

Falsehoods Programmers Believe About LANs

https://dreamstation.systems/personal/lanfalsehoods.html
37•robinpie•1h ago•34 comments

The "$60 Gaming PC" – AMD BC-250 (2025)

https://devquasar.com/hardware/the-60-gaming-pc-amd-bc-250/
260•networked•10h ago•76 comments

OKF Agent Memory – Git-native persistent memory for AI coding agents

https://github.com/okf-memory/okf-agent-memory
7•okf_memory•1h ago•2 comments

How Swiss tables work in Go built-in map

https://victoriametrics.com/blog/go-swiss-table-map/index.html
27•valyala•2d ago•1 comments

Visualizing Rust's Vtables: How dyn Trait Works In Memory

https://sofiabelen.github.io/projects/visualizing-rusts-vtables-how-dyn-trait-works-in-memory/
120•torutofu•10h ago•14 comments

Show HN: Fly By – retro biplane flying game

https://michaelteter.com/flyby.html
26•michaelteter•4d ago•23 comments

Discovery of a new OpenAI agent message board

https://collusion.wiki/
2079•moultano•1d ago•1507 comments

Balrogg: Demonically compacting (up to 15%) lossless Vorbis/Opus recompressor

https://github.com/iczelia/balrogg
47•palaiologos•2d ago•8 comments

How AI is breaking the British state

https://www.economist.com/leaders/2026/08/06/how-ai-is-breaking-the-british-state
21•tchalla•2h ago•19 comments

Actively exploited sandbox RCE in all Chromium versions

https://nvd.nist.gov/vuln/detail/cve-2026-85046
735•negura•1d ago•433 comments

Nitter has more working instances than before the takedowns

https://codeberg.org/mv12star/shitter/wiki/Instances
608•Cider9986•23h ago•289 comments

Delidded Intel I9-14900KS CT Scan

https://www.lttlabs.com/articles/2026/09/02/delidded-intel-i9-14900ks
49•willx86•3d ago•0 comments

LLMs as a Cognitive Virus

https://arxiv.org/abs/2609.03344
145•canjobear•3h ago•129 comments

Isar Aerospace launch into orbit [video]

https://www.youtube.com/watch?v=Ss1DUqLjecc
74•stefan_•3h ago•18 comments

The revolt of the reader

https://bcantrill.dtrace.org/2026/09/05/the-revolt-of-the-reader/
14•chmaynard•2h ago•4 comments

Formalizing Fermat's Last Theorem

https://www.anthropic.com/research/formalizing-fermats-last-theorem
741•jlebar•1d ago•479 comments

America's two largest school districts impose AI moratoriums

https://www.techpolicy.press/americas-two-largest-school-districts-impose-ai-moratoriums/
35•cdrnsf•2h ago•24 comments

Topologist's Map of the World

https://www.futilitycloset.com/2026/09/01/small-world-20/
10•beardyw•4d ago•4 comments

South African diamond mines are closing due to weak sales and lab-grown stones

https://www.wsj.com/business/diamond-mines-are-closing-and-south-africans-have-few-alternatives-f...
46•bookofjoe•2h ago•18 comments

Terpstra Keyboard

http://terpstrakeyboard.com/
111•cl3misch•13h ago•53 comments

Stopping the Unstoppable: When an unstoppable force meets a dashpot snubber

https://practical.engineering/blog/2026/9/1/stopping-the-unstoppable
46•crescit_eundo•4d ago•5 comments

ISAR Aerospace 5 Sept Mission Onward and Upward

https://isaraerospace.com/mission-updates-overview
10•t43562•4h ago•1 comments

.gitignore Everything by Default

https://packagemain.tech/p/gitignore-everything-by-default
149•der_gopher•10h ago•146 comments

Statichost.eu – European static site hosting

https://www.statichost.eu/
437•p4bl0•1d ago•200 comments

Steffen's Polyhedron

https://www.gregegan.net/SCIENCE/Steffen/Steffen.html
46•pavel_lishin•2d ago•4 comments

A bizarre Commodore 64 peripheral, a mime, and some pretty bad ads

https://buttondown.com/suchbadtechads/archive/spartan-and-the-mime/
72•rfarley04•11h ago•9 comments

Can AI design circuit boards yet?

https://eebench.org/blog/can-ai-design-circuit-boards-yet/
372•iopapa•1d ago•205 comments