Skip to content
Hacker News front page

Agent memory as a file format beats complex pipelines and knowledge graphs

Agent Memory as a File Format

Cal Paterson proposes 'memoryfield': a zip of Markdown files plus an optional SQLite vector index for agent memory. Agents write short prose pages directly, then use semantic search to jump to all relevant pages in parallel—at most two tool calls. He argues this is faster and more reliable than knowledge-graph traversal, which adds 2–3 seconds per hop and often misses relevant info. The post doesn't include benchmark comparisons. Soft page limit is ~2,000 tokens.

Why it matters: Cal Paterson proposes memoryfield, an agent memory file format that packs Markdown pages with optional YAML frontmatter and a SQLite vector index into a zip, soft-capping pages near 8kb.

Read the original ↗Export Markdown