hn.today

Show HN: DaiDocs, AI memory as a plain-text file format, not a service

github.com6 points1 comments
Screenshot of Show HN: DaiDocs, AI memory as a plain-text file format, not a service

DaiDocs is an open plain-text file format (.dai) and reference engine that treats assistant memory as files on disk rather than a vendor service. Each .dai file contains three human-readable zones (a YAML header, a fenced JSON block, and the text body), plus a small derived index, so any editor, grep, git or custom reader can inspect and reuse memory. The design separates a cheap observer model that writes the store from any answering model that reads it, enabling model independence, tool agnosticism, and resilience to vendor lock-in. The repository includes a Node reference engine (Kerneta Engine V4.4n), an MCP stdio server for integration with assistants, and a pure-Python reader; installs use npx daidocs setup or pip install daidocs for reading.

The project provides reproducible evidence for its claims: benchmark artifacts, judge verdicts per question, and a MANIFEST.sha256 so results can be verified. On LongMemEval-S with GPT-4o answering, the setup scores 83.00% (second on the leaderboard) versus 60.60% with no memory, reading far fewer tokens in retrieval; a five-model comparison and per-row diagnostics are included. Integrations are provided for many MCP-capable clients and assistants (Claude, Cursor, Windsurf, Zed, etc.), conversion tools for histories, and step-by-step setup, emphasizing interoperability, inspectability and repeatable measurement rather than a proprietary memory service.

Read on github.com1 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in AI

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.

Show HN: DaiDocs, AI memory as a plain-text file format, not a service · hn.today