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

작성자

카테고리:

← 피드로
arXiv cs.AI · Thamilvendhan Munirathinam · 2026-07-20 AI

[Submitted on 31 May 2026 (v1), last revised 17 Jul 2026 (this version, v3)]

View PDF HTML (experimental)

Abstract:Agent-memory frameworks — mem0, Letta/MemGPT, Cognee, Zep/Graphiti, MemoryOS, MemTensor — each ship their own SDK, storage layout, and operational vocabulary. There is no shared wire format: every integration is bespoke, every migration rebuilds memory from scratch, and no framework ships a governance surface that lets a human review writes before they enter long-term storage. We present memorywire, a JSON-Schema 2020-12 wire format for five memory operations (remember, recall, forget, merge, expire) over four memory types (semantic, episodic, procedural, emotional), with a MemoryStore interface, a fan-out router, and an optional HITL governance channel. We describe an open-source reference implementation with five backend adapters (sqlite-vec, mem0, Letta, Cognee, pgvector); a microbenchmark on a 100-fact / 50-query labelled corpus (42 with non-empty gold ids + 8 no-match probes) achieving recall@5 = 1.000 on the 42 gold-id queries with ingest p50 = 37.8 ms and recall p50 = 40.6 ms; an adversarial-fusion experiment showing Reciprocal Rank Fusion holds recall@5 = 1.000 across a 1-of-N rank-0 injection sweep (K in {0, 5, …, 50}) where max fusion collapses to 0.500 with 80% leak at K >= 5; and a 16-scenario cross-adapter conformance suite passing 68 of 80 cells with zero failures. The contribution is not a new algorithm; it is a packaging of established components (RRF, FSMs, STM/LTM consolidation, diff-and-approve workflows) into a venue-neutral protocol with an empirically validated reference, positioned to compose with the Model Context Protocol rather than compete with it. We further show that memorywire’s provenance field is the strongest lever for recovering a poisoned store, evaluated with an external benchmark (PurgeBench).

Submission history

From: Thamilvendhan Munirathinam [view email]
[v1] Sun, 31 May 2026 10:18:56 UTC (80 KB)
[v2] Wed, 3 Jun 2026 07:59:47 UTC (80 KB)
[v3] Fri, 17 Jul 2026 07:51:17 UTC (81 KB)

원문에서 계속 ↗

추출 본문 · 출처: arxiv.org · https://arxiv.org/abs/2606.01138

코멘트

답글 남기기

이메일 주소는 공개되지 않습니다. 필수 필드는 *로 표시됩니다