Using the Open Knowledge Format to Give Agents Long-Term Context Across Sessions

rseroter · x · 2026-09-12

Oscar Reyes writes about using the Open Knowledge Format (OKF) to give agents durable long-term context. The pain is familiar: just as a long agent session starts clicking, compaction wipes the slate, and every new session begins with re-explaining the codebase.

Tools like Claude Code already write things down — plan files, memory folders, CLAUDE.md — but the knowledge lands in tool-private locations whose meaning lives only in the author's head. OKF proposes a small set of conventions for recording knowledge as markdown that survives sessions and is readable by the next agent without a translation layer. The author frames OKF as not necessarily the final answer, but a viable option for agent memory.

Original post →

More from coding & agent

coding & agent channel →