Agent memory needs its OpenTelemetry moment lorekit.io · 33 points · 20 comments...
HN Best 200 @best
Agent memory needs its OpenTelemetry moment lorekit.io · 33 points · 20 comments · HN thread
TL;DR The author, who builds the open-source memory tool LoreKit, argues that agent memory formats are fragmented (instruction files, Anthropic's memory tool, Copilot Memory, Mem0, Letta, Graphiti, LoreKit and others) and proposes a shared OpenTelemetry-style spec with a common record data model, conventions, a small MCP contract and conformance tests. The commenters are largely skeptical: many doubt a standard is timely, and several say plain Markdown files and developer docs in the repo work better than memory layers.
- Current agent memory systems use incompatible shapes: instruction files, agent-managed files, hosted repo facts, context blocks, extracted facts, namespaced stores, knowledge graphs, temporal graphs and addressed records.
- The author compares this to pre-2019 observability, where OpenTelemetry merged OpenTracing and OpenCensus into a shared data model, semantic conventions, a protocol and reference implementations.
- A proposed spec would define a record with address, key, id, kind, writer, content, lifecycle and an attributes namespace, serialisable as Markdown with frontmatter or JSON.
- The spec would separate export (moving memory between vendors, as MacPaw's Portable Memory, the Open Memory Protocol and Cognee's COGX attempt) from live addressing for concurrent agents in the same repo.
- Open questions include which address levels to support, whether forgetting should be the default, whether records should link to the code they depend on, and who should coordinate the standard.
- The author flags prompt injection through shared memory as a risk and suggests recording writers and allowing signatures.
Discussion The thread is mostly skeptical of the premise. Several commenters argue that agents can read any format, so standardization is unnecessary, and that a standard is premature while people still do not understand how memory and context should work. Others report that agent memory degrades results, citing context bloat and stale or wrong notes, and recommend plain Markdown developer docs or a simple filesystem instead. One commenter cites Anthropic's own research noting that loaded memory is often ignored, while another says indexing and embedding everything is the answer. The mood is wry and dismissive rather than hostile.
- Plain files or repo docs beat memory layers (many): Several commenters say agent memory makes models confused and that developer documentation in the repo, or a plain filesystem directory, works better. They recommend keeping it readable so humans can audit what the model has absorbed.
- Agents can read any format, so no standard is needed (some): One view holds that agents are good at traversing files and already follow instructions for different formats, so a unified spec adds little. Others counter that spending context on finding the right files is wasteful.
- Too early to standardize memory (some): Commenters argue the field does not yet understand how context and memory should work or how long memories should last, and that a premature abstraction could end up like SOAP or SGML.
- Agent memory is harmful in practice (a few): A commenter reports disabling memory on every harness because it recalls wrong things and fixates the agent on them. Another says it can bake in a stray comment and make a weird rule out of it.
- Build and index everything instead (a few): One commenter advises indexing and embedding all material so agents can query it, then evaluating configurations to see what works.
Links from the comments
- Anthropic research piece quoted by a commenter noting injected memories cost tokens, can carry wrong notes, and that MEMORY.md loads only its first 200 lines or 25 KB.
- Off-topic video shared by a commenter about wanting diverse wiring in AI companions.
#agentMemory #openTelemetry #standards #codingAgents #markdown