← Latest papers
🤖 AI

MELD: A Protocol for Merging Knowledge Across Distributed Agentic Memories

The paper presents MELD, a self-managing protocol that enables distributed autonomous agents to reconcile and merge their knowledge graphs through auditable patches and CRDT-based status tracking, achieving high recall and storage efficiency while preserving contradictions for later adjudication without a central coordinator.

Original authors: Lauri Lovén, Jaakko Sauvola, Jukka Riekki, Sasu Tarkoma

Published 2026-08-18
📖 5 min read🧠 Deep dive

Original authors: Lauri Lovén, Jaakko Sauvola, Jukka Riekki, Sasu Tarkoma

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

In the emerging world of artificial intelligence, autonomous agents are becoming increasingly capable. These are software programs that can perceive their environment, make decisions, and even call upon other tools to get things done. Imagine a team of digital assistants, each specialized in a different task, working together to solve a complex problem. For years, the focus has been on connecting them so they can talk to one another and share their capabilities. However, a critical piece of the puzzle has been missing: while these agents can share their tools, they cannot truly share what they know. Each agent builds its own private library of facts, experiences, and rules, but there has been no reliable way for two agents to compare their notes, realize they are talking about the same thing, or agree on a contradiction without one simply overwriting the other. This silence creates a fragmented reality where knowledge is trapped in isolated silos, leading to redundant work or the accidental loss of important information.

Researchers at the University of Oulu and the University of Helsinki have addressed this gap with a new protocol called MELD. Think of it as a universal translator and a librarian combined, designed specifically for the memories of these digital agents. The core problem MELD solves is the "same fact, different words" dilemma. If one agent learns a rule phrased as "keep records for seven years" and another learns "retain customer data for 7y," a standard system might treat these as two completely different facts, or worse, silently delete one in favor of the other. MELD changes this by introducing a careful, step-by-step process that happens every time an agent receives a new piece of information. Instead of blindly accepting or rejecting a claim, the receiving agent pauses to analyze it against what it already knows. It checks if the new information is identical, if it is a different way of saying the same thing, if it overlaps with existing knowledge, or if it directly contradicts what is already held.

The system relies on three specific signals to make these decisions. First, it looks at the core identity of the claim, checking if the content and its specific context match exactly. Second, it uses a mathematical measure of meaning to see how similar the new text is to old text, even if the words are different. Third, it employs a logic check to determine if the new claim contradicts the old one. Based on these signals, the agent makes one of five choices. It can insert the information as something brand new. It can merge it with an existing fact if they are the same enough, effectively consolidating duplicates. It can link them if they are related but distinct. It can flag a conflict if they contradict, preserving both claims so a human or a higher authority can decide later. Finally, it can reject the information if it is outdated or invalid. Crucially, the system never silently discards a contradiction; it keeps the tension visible, ensuring that no information is lost in the shuffle.

To ensure that this process works reliably across a network of agents that might be disconnected or moving at different speeds, MELD uses a self-healing mechanism. If the network splits in two and agents on opposite sides update their memories independently, the system is designed to automatically reconcile these changes once the connection is restored. It does this without needing a central boss to tell everyone what to do. Instead, it uses a mathematical guarantee that ensures all agents eventually agree on the status of every piece of information, regardless of the order in which they received the updates. This prevents the chaos that usually happens when different parts of a system try to overwrite each other's work.

The researchers tested this system in a realistic environment that spanned from a local computer to a national supercomputer and even to a 5G mobile network edge. They found that when agents used MELD to merge their memories, they could recall information just as well as if all the data had been stored in a single, central location. In fact, by intelligently combining duplicate facts, the distributed system actually used about 11 percent less storage space than a straightforward approach that simply kept everything separate. The system was also highly efficient at filtering traffic, sending only about one-third as many messages as a standard broadcast system would require to achieve the same level of knowledge sharing.

Perhaps most importantly, the system proved robust against errors. In tests involving thousands of potential conflicts, the protocol made very few mistakes in merging distinct facts together, with a false merge rate of only about 1.3 percent. When it did encounter a contradiction, it successfully flagged it for review rather than hiding it. The study also demonstrated that the system could recover from network failures, with all agents returning to a single, consistent state after a simulated break in communication, a feat that older methods failed to achieve in more than two-thirds of the trials.

This work does not claim to solve the problem of which fact is ultimately "true" in a philosophical sense; that decision is left to human judgment or higher-level authority. Instead, MELD provides the infrastructure that allows a network of intelligent agents to maintain a coherent, shared understanding of the world without losing the richness of their individual perspectives. It turns a collection of isolated digital brains into a federation that can grow, adapt, and heal itself, ensuring that knowledge is not just stored, but truly shared.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →