Agent memory needs its OpenTelemetry moment lorekit.io · 154 points · 101 commen...

@best30

Agent memory needs its OpenTelemetry moment lorekit.io · 154 points · 101 comments · HN thread

TL;DR The LoreKit author argues that agent memory formats (AGENTS.md, Anthropic's memory tool, Copilot Memory, Mem0, Letta, Graphiti, LangGraph, and others) are fragmented and mutually unreadable, and proposes a shared OpenTelemetry-style spec: a common record envelope with address, identity, writer, and lifecycle, plus shared conventions, an MCP operation contract, and conformance tests. The article surveys existing formats and proposals, and lists open questions. The thread is dominated by skepticism: many commenters think standardizing now is premature, that plain Markdown files suffice, and that the article reads as LLM-written.

  • Memory formats today differ in unit of memory, addressing, forgetting policy, and whether the model, a person, or a service writes the memory.
  • The author compares agent memory to observability before OpenTelemetry (2019), where OpenTracing and OpenCensus merged into a shared data model, semantic conventions, a protocol, and reference implementations.
  • A proposed record is a Markdown file with frontmatter (spec version, id, address, key, kind, written_by, content_type, lifecycle, attributes), serializable to JSON as well.
  • The proposed spec would cover conventions (address levels, kinds, attribute namespaces), a small contract of write/read/list/search/archive operations over MCP, and conformance tests, while leaving storage, ranking, and UI to vendors.
  • MCP standardizes the call but not the record; the author argues memory needs both a protocol and a data model.
  • Shared memory widens the prompt-injection surface, so the spec should record authorship, allow signatures, and optionally link records to the code they depend on.
  • Open questions include the set of address levels, whether forgetting should be the default, whether records should point at code, and who should coordinate a standard.

Discussion The thread is mostly skeptical of both the premise and the article's form. Many commenters argue that memory is too young a problem to standardize, since the right shape is still changing with each model release, and that agents can already read plain files, so a schema adds little. A large share of the comments are about the article being LLM-written, with some saying that the writing style is a reason to ignore it, and others pushing back that the content matters more than the authorship. A smaller group reports practical experience: running memory tools well, or finding that agent memory degrades output and disabling it. The mood is wry and critical, with frequent jokes about AI slop.

  • Plain files or docs in the repo are enough (many): Commenters say AGENTS.md, a docs/ directory, or a memory folder synced to git or S3 works well and is simpler than any memory product. Agents already search Markdown with grep, so a format spec adds little.
  • Standardizing now is premature (many): Several argue the field is still experimenting, that OpenTelemetry only succeeded after decades of practice, and that a spec now would freeze immature ideas like SOAP or SGML did.
  • Agent memory often makes models worse (some): Some report that memories carry stale or one-off decisions into later sessions, cause confirmation bias, and push agents toward unrelated patterns, so they disable memory and keep curated docs instead.
  • The article reads as LLM-generated (many): A large part of the thread objects to the writing style and suspects heavy AI generation, with an author reply saying they dictated the outline and used Claude to draft and polish it.
  • Memory should be curated by humans, not agents (some): Commenters argue that what an agent needs across sessions should be written by the operator, and that agent-written notes drift from the truth and need vetting.
  • Interesting open problems are linking memory to code and staleness (a few): A few commenters see the real challenges as attaching memories to code, relating memories to each other, and checking whether they are still true, rather than the storage format.
  • Standards won't be adopted by competing vendors (a few): Some doubt that AI companies would cooperate on a shared format, since they compete for paying users.

Links from the comments

#agentMemory #standards #llmTools #opentelemetry #aiAgents