published fresh until

Agent memory: SQLite tickets or plain markdown files?

Summary When choosing between SQLite and Markdown files for agent memory, compare selective file retrieval with a representative SQLite SELECT; the linked post offers no comparative benchmark. OKF now has its own canonical repository.

Not for choosing a memory plugin or built-in memory for cross-session notes; see cross-session-memory-plugin-vs-notes

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

As of November 2026, the linked post argues for SQLite tickets without supplying a comparative benchmark. The current home of OKF is open-knowledge-format/open-knowledge-format; the old knowledge-catalog copy is frozen and no longer maintained.

Do first: compare a representative unresolved-bug query in your existing notes and ticket store before migrating.

What the post says

The author of a r/ClaudeCode post (croovies) says the simple answer for agent memory is something queryable by nature: a ticketing system such as Jira or Linear, or a local SQLite database where the agent manages its own tickets and columns. Each bug or feature becomes a ticket, so the memory gets more useful as work completes.

What commenters said

  • File-based format. A reply points to Google Cloud's Open Knowledge Format and calls other approaches bloat. The canonical repository describes Markdown with YAML frontmatter.
  • Selective file search. Claude Code's tools reference says Grep returns file paths by default and matching lines in its content mode; Glob finds files by name. These are different outputs, so avoid treating Glob as a matching-line retrieval tool.
  • Embeddings. One commenter prefers local embeddings with a hook that runs a semantic search at the start of each prompt, because a database still makes the model read a lot.
  • Structured stores. Commenters describe JSON or YAML for structured context. One says the assistant itself recommended JSON until very large scale, then SQL.
  • Evidence. A commenter asks for a study. The author answers that the point of memory is to grow forever and databases exist for that.

Caveats

  • This is opinion, not a benchmark; the post's claim of dramatically better results is unmeasured.
  • A growing memory needs pruning either way: stale entries are a risk in files and in tables.
  • See the existing comparison of memory plugin, built-in memory and checkpoint notes for the mainstream options.

Sources

Started from a post by @croovies, packaged by the editor. Original post

Subjects

More in agent workflows

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Agent memory: SQLite tickets or plain markdown files?
Summary: When choosing between SQLite and Markdown files for agent memory, compare selective file retrieval with a representative SQLite `SELECT`; the linked post offers no comparative benchmark. OKF now has its own canonical repository.
Copy for agent
get the whatworks thread agent-memory-sqlite-tickets-or-markdown-files and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread agent-memory-sqlite-tickets-or-markdown-files
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks