Current AI agent memory is fragmented across at least four distinct formats, ranging from Markdown files like `CLAUDE.md` to JSONL knowledge graphs and hosted repository facts. Because these formats are incompatible, a lesson learned by a CI agent in one tool cannot be accessed by an editor agent in another, creating a siloed experience for developers using multiple AI tools.

The Fragmentation of Agent Memory

As the ecosystem of AI agents grows, developers are building bespoke memory layers with unique schemas and storage methods. These include local files, namespaced stores, and temporal knowledge graphs, but none of these systems can natively communicate with one another.

The author of LoreKit argues that the problem is not a lack of tools, but a lack of a shared agreement. Without a common data model, every new solution adds another isolated format that prevents cross-tool context sharing.

The OpenTelemetry Model

The proposal draws a direct parallel to the observability industry. Before 2019, different vendors shipped proprietary instrumentation libraries and data formats, forcing users to re-instrument code when switching providers.

The industry solved this by merging into OpenTelemetry, which standardized what a span, metric, and log record are, along with shared names (semantic conventions) and a common protocol (OTLP). This allowed a whole ecosystem of tools to read each other's data while still competing on storage and analysis.

A comparison chart showing the four layers of the OpenTelemetry model versus the current state of agent memory.
The proposal mirrors the OpenTelemetry model, aiming to standardize the data model, semantic conventions, and protocol layers for AI agent memory.www.lorekit.io

The article explains how the proposal draws a direct parallel to the observability industry's move toward OpenTelemetry to solve fragmentation.

Agent memory is currently in a similar state, where the formats are young enough to be standardized before they become entrenched.

Export vs. Live Addressing

The proposal distinguishes between two primary problems: 'export' and 'live addressing.' Export refers to moving a user's memory from one vendor to another, which several existing drafts like the Open Memory Protocol attempt to solve.

Live addressing is the more complex challenge of allowing a CI job, an editor agent, and a review bot to work in the same repository at once. A shared specification would provide a common 'address' (e.g., a specific repo or branch) where these tools can agree on what a memory record means in real-time.

A diagram illustrating the difference between exporting memory between vendors and live addressing by multiple agents.
The distinction between 'export' (moving memory between vendors) and 'live addressing' (simultaneous multi-agent access).www.lorekit.io

This visual clarifies the two primary problems discussed: moving data between tools versus real-time shared access.

Proposed Architecture and Trade-offs

A proposed record would include a unique ID, a scope (address), a key, a lifecycle (expiry), and a 'written_by' field to identify if a human or an agent created the memory. This structure allows tools to decide how much to trust the information based on its origin.

A code snippet showing a sample structure for a shared memory record.
A conceptual example of a shared memory record including fields for ID, scope, and authorship.www.lorekit.io

The article describes the specific fields a proposed record would include to facilitate interoperability.

Critics note that a shared standard might be a 'premature abstraction' or a prompt-injection risk. The proposal suggests mitigating these risks by including signatures and linking records to specific code versions, though it remains an open question which address levels (e.g., repo vs. branch) should be standard.

What Hacker News readers are saying

  • Skeptical: One commenter argued that standardizing on an abstraction now might be premature because the industry does not yet fully understand the best way to approach context and memory duration. comment ↗
  • Skeptical: Several commenters expressed skepticism about the need for a unified format, noting that agents are already capable of reading and traversing various file formats to retrieve context. comment ↗
  • Experience: One user shared their experience of disabling agent memory entirely because it often remembers incorrect information, preferring instead to have the agent record specific findings into files. comment ↗
  • Experience: Another commenter suggested that the best approach is to provide the agent with a standard directory and minimal rules, allowing the agent to manage the memory autonomously. comment ↗

Summarized opinions from the Hacker News thread, not verified facts. Read the full discussion ↗