多智能體交互記憶:讓 AI Agent 族群共享經驗軌跡的群體學習框架
Multi-Agent Transactive Memory

📄 arXiv: 2606.19911 📅 2026-06-18 🏛️ UC Berkeley + CMU
agent-memory multi-agent trajectory-sharing RAG collective-learning
🎯 一句話核心結論:把個別 agent 執行過的任務軌跡存進共享倉庫,讓新 agent 直接檢索上手——不需要溝通、不需要聯合訓練,就能提升全體表現。

📊 關鍵數據

指標數值說明
Test environmentsALFWorld + WebArenaTwo standard interactive agent benchmarks with long, procedurally-rich trajectories
Performance gainSignificant improvementConsumer agents retrieving from MATM outperform no-memory baselines on downstream tasks
Interaction stepsReducedAgents with trajectory retrieval need fewer steps to complete tasks
Coordination neededZeroNo inter-agent communication or joint training required; pure passive retrieval
Author affiliationsUC Berkeley + CMU + WaterlooFernando Diaz (Google DeepMind) served as advisor

🧠 機制拆解

Producer Agent

After completing a task, stores the full (state, action, observation, reward) trajectory into the shared MATM repository

Consumer Agent

When facing a new task, retrieves similar historical trajectories from MATM and injects them as few-shot examples into its prompt

Trajectory Encoding & Retrieval

Converts trajectories into dense vectors for semantic similarity search - like RAG's retriever but operating on agent trajectories instead of human documents

MATM Repository

Population-level persistent storage; all agents read and write. Design pattern analogous to a human organization's knowledge base

💡 落地應用

📌 Hermes multi-profile knowledge sharing

If each Hermes profile's skill execution trajectories were stored in a shared repository, cross-profile agents could learn from each other's experiences. For example, the tools profile's deployment tricks could be retrieved by the learn profile without re-exploration.

📌 Customer service agent fleet

Complex case trajectories solved by each agent go into MATM; newly deployed agents facing similar issues immediately have reference examples, drastically reducing onboarding cost.

📌 Open agent ecosystem

If MATM becomes an open standard, developers could share agent trajectory datasets, similar to HuggingFace for model weights. This shifts the agent learning curve from 'every agent starts from zero' to 'standing on the shoulders of the entire community.'

🧠 自我內化

MATM's core insight: agent trajectories are not disposable waste but reusable procedural knowledge assets. This has direct implications for Hermes architecture: our current memory module only stores 'results' (summaries), but the most valuable part is the 'path' (what I did, what I tried, where I failed). If we could log complete tool-call trajectories (not just final outputs), cross-session learning efficiency would dramatically improve. This paper gives a clear engineering direction: add trajectory-level logging to Hermes memory with cross-profile retrieval support.

📎 論文連結:arxiv.org/abs/2606.19911