Muffin - A Shared Memory Buffer for Asynchronous AI Agents
Organizations: Department of Computer Science & Artificial Intelligence, University of Technology Nuremberg, Dr.-Luise-Herzberg-Straße 4, 90461 Nuremberg, Germany
Abstract
The rise of Agentic AI systems has changed the landscape of artificial intelligence by enabling strong reasoning capabilities through specialized multi-agent interaction with structured self-reflection. However, in target-driven reasoning tasks, single- and multi-agent systems are often on par in terms of performance gains. A major challenge is that failures often arise from an ineffective exchange of critical information during inter-agent interaction and coordination. Different from existing multi-agent debate paradigms that rely on synchronous turn-taking and sharing information across different agents, we propose an inter-agent protocol based on shared Memory bUFFer INference - referred to as MUFFIN - in an asynchronous agentic framework. In the first step, an orchestrator routes queries based on their reasoning demands and delegates demanding ones to a multi-agent setting, where a shared memory buffer provides asynchronous exchange of intermediate findings while an agent's private reasoning remains local. Our experiments show that our framework Muffin outperforms established competitors, achieving the best accuracy in 17 out of 20 of our benchmark settings, and provides a better quality-cost trade-off than multi-agent debate: Muffin improves accuracy by 19.2 accuracy points while using 77.4% fewer tokens, without requiring full-trace sharing.
Figures & tables
| Model | Method | Chess | GPQA | MMLU-Pro | OlymMATH-E | OlymMATH-H |
|---|---|---|---|---|---|---|
| gemma-4-E4B-it | Single-Agent | |||||
| Majority Vote | ||||||
| Multi-Agent Debate | ||||||
| Muffin | ||||||
| gemma-4-31B-it | Single-Agent | |||||
| Majority Vote |
| All examples | Changed examples only | ||
|---|---|---|---|
| Category | % | Category | % |
| Same as last agent | 83.62 | Wrong Correct | 32.05 |
| Different from last agent | 11.14 | Correct Wrong | 21.20 |
| Direct route | 5.24 | Wrong Wrong | 39.26 |
| Correct Correct | 7.49 | ||
Appendix figures & tables14 assets
Supplementary material from the paper’s appendix.
Appendix
Multi-Agent LLM Systems
Multi-agent large language model systems coordinate multiple AI agents to solve tasks through communication, specialization, shared tools, and memory.
See all 1,039 papers