[KongchangAI]
· 2 min read· 1,186 words

SurrealDB Launches Agent Memory: 77.2% on Strict BEAM Evaluation

SurrealDB Launches Agent Memory: 77.2% on Strict BEAM Evaluation

SurrealDB launches a native multi-model Agent memory system, achieving 77.2% accuracy under strict evaluation.

The article introduces Agent Memory, announced by SurrealDB founder Tobie, aiming to solve AI Agent bottlenecks in memory retrieval, relationship understanding, and fact updates. The system transforms conversations and documents into structured entities, relationships, and facts, with support for provenance tracking and temporal history. Its core differentiation lies in leveraging SurrealDB's graph, vector, and document multi-model capabilities to avoid the sync and consistency costs of stitching together multiple storage components. On evaluation, the team deliberately chose the stricter BEAM Strict protocol, achieving 77.2% accuracy rather than chasing a high score under loose conditions. The article also compares the approaches of Mem0, Honcho, and Cognee, and notes that long-term memory management remains an open problem.

When AI Agents Start to "Forget": The Real Challenge of Memory Systems

Developers building AI Agents quickly run into the same bottleneck: storing information isn't hard—the hard part is accurately retrieving it when needed, understanding the relationships between pieces of information, and handling fact updates that change over time.

SurrealDB founder Tobie announced their new solution on Reddit—SurrealDB Agent Memory. It's an Agent memory system built on top of a multi-model database, with the goal of transforming conversations and documents into structured entities, relationships, and facts, while tracking data provenance and temporal history.

You might not have noticed that this system achieved 77.2% accuracy under the strict BEAM evaluation protocol. Behind this number is a deliberate choice the team made about evaluation methodology.

Why Choose SurrealDB as the Memory Layer?

Graph, Vector, Document: One Database Does It All

In traditional approaches, building an Agent memory system often requires stitching together multiple storage components—a vector database for semantic retrieval, a graph database for entity relationships, and a document store for raw content. The cost of this architecture is the compounding of operational complexity and data consistency overhead.

SurrealDB's differentiation lies in its multi-model capability: graph, vector, and document capabilities are unified within a single database. This means Agent Memory doesn't need to synchronize data across multiple systems—entity relationships, semantic similarity, and raw documents can all be linked in a single query.

For developers building context layers or knowledge graphs, this eliminates a layer of architectural glue and reduces the probability of hidden failures like "data out of sync across three systems."

From Conversations to Structured Knowledge

The core workflow of Agent Memory is transforming unstructured input—conversation records, documents—into structured entities, relationships, and facts. This transformation process isn't simple information extraction; it's semantic modeling with provenance tracking and temporal history.

Provenance tracking means the system can answer "where did this information come from," while temporal history lets it handle "when did this fact change." Both are critical in real Agent scenarios: user preferences change, business rules get updated, and a memory system that can't handle fact timeliness is essentially just an ever-expanding information garbage dump.

Provenance Tracking is a well-established concept in the database and knowledge graph fields, referring to recording the complete chain of how each piece of data was produced, flowed, and modified. In Agent memory scenarios, it answers "which conversation did the user say this fact in, which document was it extracted from, and which reasoning step generated it." Without provenance tracking, once a memory system retrieves incorrect information, developers have no way to determine whether the error came from the original input, the extraction step, or the reasoning step—making debugging extremely costly.

Temporal History goes further, requiring the system to record not only the fact itself but also its valid time interval and write time. This corresponds to bitemporal modeling in databases: a record like "user prefers dark theme" might take effect in January and be overwritten in March, and the system needs to be able to answer "what did the system think the user preferred in January" as well as "what did the system think in February." Only when these two dimensions are combined does a memory layer become auditable and traceable.

Strict BEAM Evaluation: The Trade-offs Behind 77.2%

The "Degrees of Freedom" Problem in Evaluation Protocols

In his post, Tobie called out an industry pain point directly: memory benchmark scores can fluctuate dramatically depending on the evaluation protocol. The same system, run through a different evaluation pipeline, might score more than ten percentage points differently.

This makes cross-system score comparisons difficult and also creates room for "score gaming"—optimizing for a specific evaluation protocol rather than genuinely improving memory capability.

The SurrealDB team's approach was to deliberately choose the stricter BEAM Strict protocol rather than chase a better-looking number under looser conditions. The 77.2% accuracy was achieved under this constraint.

BEAM (Benchmark for Episodic and Associative Memory or a similar name; the exact full name depends on the publisher) is a class of benchmarks targeting Agent long-term memory capabilities, typically including multi-turn conversations, fact updates, and cross-session retrieval tasks. The so-called "strict" versus "loose" protocols usually differ in several aspects: whether the system is allowed to see the complete history during retrieval, whether top-k recall is limited, whether old values are required to be completely invalidated after fact updates, and whether evaluation questions overlap with training/indexed content.

Under loose protocols, systems can "guess right" through large-scale recall or generous time windows; strict protocols often require exact matching, limit context length, and enforce that old facts are no longer retrievable. Therefore, a ten-plus percentage point gap between the same system under two protocols is a common phenomenon. This is also the root cause of the long-standing lack of comparability in the memory evaluation field—a score alone is insufficient to demonstrate capability; it must be interpreted alongside its protocol.

How the Approach Differs from Mem0, Honcho, and Cognee

Tobie mentioned several similar solutions: Mem0, Honcho, and Cognee. He didn't directly compare scores, but emphasized that SurrealDB wanted to "explore a different path."

From publicly available information, the core difference in this path is database nativity—Agent Memory isn't an abstraction layer built on top of general-purpose storage, but rather directly leverages SurrealDB's multi-model query capabilities. The potential advantage of this approach is query efficiency and transactional consistency; the cost is being tied to the SurrealDB ecosystem.

For teams already using SurrealDB, this is a natural extension; for teams on other tech stacks, migration costs need to be factored in.

Mem0 is an Agent memory layer solution that emphasizes automatically extracting and deduplicating facts from conversations, typically offered as a hosted service or lightweight SDK, with the underlying layer able to connect to various vector stores. Honcho focuses on building user profiles and personalized context for Agents, leaning toward "maintaining a continuously evolving psychological model for each user." Cognee is closer to a knowledge graph construction tool, emphasizing organizing documents and entities with graph structures and providing hybrid graph+vector retrieval.

What all three share is: memory capabilities are built on top of general-purpose storage, with an abstraction layer masking underlying differences. SurrealDB's path differs by pushing memory semantics directly down into the database engine, allowing graph traversal, vector similarity, and document filtering to be completed in a single query plan. The potential benefit is fewer cross-system calls and stronger consistency guarantees, but the cost is that the memory layer is bound to the database and can't be freely swapped out like an SDK.

Open Questions in Long-term Memory

At the end of his post, Tobie raised several questions: How do developers manage long-term memory? How do they handle information that changes over time?

These questions currently have no standard answers. The Agent memory field is still in an early exploratory stage, with different teams diverging on architecture choices, evaluation standards, and product forms. SurrealDB Agent Memory offers an option with clear trade-offs: carrying the memory layer on a multi-model database, and trading strict evaluation for credible scores.

Its actual performance still needs to be tested in more real-world scenarios.

#SurrealDB#Agent Memory#BEAM evaluation#AI Agent#multi-model database#provenance tracking#temporal history
Share:

Related articles