← Latest papers
💻 computer science

AMP: A Vendor-Neutral Wire Format for Agent Memory Operations

This paper introduces memorywire, a vendor-neutral JSON-Schema wire format and reference implementation that standardizes agent memory operations across diverse frameworks through a unified interface, governance channel, and empirically validated backend adapters, aiming to enable interoperability without competing with the Model Context Protocol.

Original authors: Thamilvendhan Munirathinam

Published 2026-06-02
📖 5 min read🧠 Deep dive

Original authors: Thamilvendhan Munirathinam

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

Imagine you are building a team of AI assistants. Right now, every assistant has its own unique way of remembering things. One writes notes in a leather journal, another uses a digital sticky note app, and a third keeps a voice memo. They all speak different "languages" of memory. If you want to switch your assistant from one system to another, you have to rewrite their entire history from scratch. Worse, if an assistant writes something weird or dangerous, there's no manager to check it before it gets locked away in their permanent brain.

memorywire is a new proposal to fix this chaos. Think of it as a universal translator and a standardized filing system for AI memories.

Here is how the paper breaks it down, using simple analogies:

1. The Problem: The "Tower of Babel" of AI Memory

Currently, popular AI memory tools (like mem0, Letta, Cognee) are like different countries with different currencies.

  • The Issue: If you want to move an AI's memory from "Country A" to "Country B," you can't just transfer the cash; you have to melt it down and re-mint it. You lose details, and it's expensive.
  • The Missing Manager: None of these systems have a built-in "manager" to review what the AI writes before it becomes permanent. It's like letting a student write on the school whiteboard without a teacher checking if the math is right first.

2. The Solution: A Universal "Memory Wire"

The authors created memorywire, which is a standard format (a specific way of packaging data) that any AI system can understand.

  • The 5 Actions: Instead of a messy list of commands, memorywire defines exactly five things an AI can do with memory:

    1. Remember: Write a new fact.
    2. Recall: Ask for a memory.
    3. Forget: Delete a memory.
    4. Merge: Combine two similar memories into one (to stop duplicates).
    5. Expire: Automatically delete old memories (like a "best before" date).
  • The 4 Types of Memory: Just like humans, the system sorts memories into four buckets:

    • Semantic: Facts (e.g., "Alice hates peanuts").
    • Episodic: Events (e.g., "Alice was nervous on her flight yesterday").
    • Procedural: How-to steps (e.g., "How to book a flight").
    • Emotional: Feelings (e.g., "Alice felt anxious about flying").

3. The "Traffic Cop": The Router

The paper introduces a "Router" that acts like a traffic cop.

  • How it works: When you ask an AI to "Recall" something, the Router doesn't just ask one database. It shouts the question to all the different memory systems connected to it at the same time.
  • The Magic Trick (RRF): The Router uses a math trick called Reciprocal Rank Fusion (RRF). Imagine three friends are guessing a number.
    • If Friend A says "5," Friend B says "5," and Friend C (a liar) says "100," the Router trusts the two friends who agree.
    • The paper proves that even if one of the memory systems is hacked or lying, this math trick ensures the AI still gets the right answer. It's like a safety net that catches the liar.

4. The "Human-in-the-Loop": The Approval Gate

This is a major feature. The system allows for a "Diff-and-Approve" workflow.

  • The Scenario: An AI wants to write a new memory: "The user is allergic to peanuts."
  • The Gate: Instead of saving it immediately, the system pauses. It shows a human reviewer a "diff" (a comparison of what is new vs. what is old).
  • The Decision: The human clicks "Approve" or "Reject." Only then does the memory get saved. This prevents the AI from accidentally writing down fake or harmful facts.

5. What They Actually Tested (The Results)

The authors didn't invent a new magic brain; they just organized the existing tools better. They tested their system with:

  • Speed: It was very fast (about 40 milliseconds to remember or recall something).
  • Accuracy: Tested with 42 questions, the system found the correct answer 100% of the time in the top 5 results. (An additional 8 trick questions were used to ensure the system didn't hallucinate.)
  • Security: They tried to "hack" the system by making one of the memory databases lie. The "Traffic Cop" (RRF) successfully ignored the liar and kept the correct answers.
  • Compatibility: They tested it against 5 different existing memory systems. It worked perfectly with the ones built on standard databases (SQLite and PostgreSQL) and worked well enough with the others, proving it can talk to different "languages."

The Bottom Line

The paper claims that memorywire isn't a new type of AI intelligence. It's a standardized protocol. It's the "USB-C port" for AI memory. It allows different AI systems to plug into the same memory bank, ensures that bad data can be filtered out by humans, and protects the system even if one part of the network is compromised.

The authors are honest: they are not claiming this is the final, perfect solution. They are releasing it as a "draft" (version 0) to get feedback, with the goal of making it a standard that everyone adopts, similar to how the Model Context Protocol (MCP) is becoming a standard for AI tools.

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 →