Shared memory boosts asynchronous ai agent cooperation efficiency

Muffin - A Shared Memory Buffer for Asynchronous AI Agents

Artificial IntelligenceMultiagent Systems

Summary

AI agents often work together to solve hard problems, but they can struggle when sharing important information in the right way. The authors created Muffin, a shared memory system that helps multiple AI agents communicate their findings asynchronously, meaning they don't have to wait their turn. Muffin improves accuracy significantly while using less computational resources compared to other approaches. This method keeps each agent's private reasoning separate but uses shared memory to coordinate effectively.

What this means in practice

  • For ai system builders: Improve multi-agent AI setups by integrating shared memory for quicker, more accurate asynchronous reasoning.
  • For cloud service teams: Reduce computational costs and improve throughput for AI services by using Muffin’s shared memory approach to agent coordination.

Authors

Ping-Lin Kuo, Suman Navaratnarajah, Christian Frey, Gresa Shala, Josif Grabocka

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.