arXiv:2610.31355cs.AIOct 2026

Manuscript Offprint

arXiv:2610.31355

Muffin - A Shared Memory Buffer for Asynchronous AI Agents

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.

1 INTRODUCTION

Frontier models like Opus (Anthropic, 2026), Gemini (Google DeepMind, 2026), ChatGPT (OpenAI, 2026) have made a substantial leap in artificial intelligence by demonstrating reasoning capabilities that approach human performance in a variety of domains (Luo et al., 2024; Bermejo et al., 2025; Alohali et al., 2025; Street et al., 2026). In the current era of Agentic AI, we see a shift towards systems that are able to plan, act, use tools, and apply feedback loops for enhanced performance (Abou Ali et al., 2025; Pati, 2025; Xi et al., 2025). However, strong single-agent reasoning does not remove the need for collaboration. More complex tasks often require decomposing the problem, checking partial information, and integrating the conclusions generated by different reasoning parts. This motivates goal-oriented multi-agent behavior that goes beyond single-agent responses toward agent collaboration supported by memory (Zhang et al., 2025), reasoning (Subramaniam et al., 2025), or environmental interaction (Lan et al., 2024).

Recent multi-agent research has been applied to scientific experimentation (Ghareeb et al., 2026), embodied agents (Huang et al., 2023), or societal simulation (Gao et al., 2023). Nevertheless, recent studies suggest that multi-agent systems do not automatically outperform strong single-agent or repeated-sampling baselines (Xia et al., 2024; Kapoor et al., 2025), because critical information is lost during inter-agent coordination and verification processes fail (Cemri et al., 2025). In particular, a key limitation is that many multi-agent systems communicate after an agent has produced a complete output, leaving partial critical findings unavailable to peer agents while simultaneously overwhelming them with verbose, task-irrelevant reasoning traces that increase context overhead (Liu et al., 2024; Ning et al., 2024; Du et al., 2024). This motivates our core question, whether agents can collaborate more effectively by asynchronously sharing the intermediate findings, and allowing other agents to retrieve and reuse information during inference without exposing full reasoning traces.

Figure

Figure 1: General workflow of Muffin - a shared memory buffering system.

We propose an asynchronous system based on shared memory buffer inference, referred to as Muffin, that enables exchange of agents' novel insights. The general workflow is visualized in Figure 1. In the first step, an Orchestrator routes a user query based on the expected reasoning demands, i.e., whether a query can be solved directly or a multi-step reasoning is required. For more demanding queries, multiple agents are instantiated by assigning each of them a specialized role, and a subtask, both provided by the orchestrator. For an efficient exchange of relevant insights, a shared memory provides a controlled and selective exchange of intermediate findings. An agent only pushes relevant information into the buffer which is expected to help in making progress in a collaborative problem solving manner. We keep an agent's own reasoning local. After a finite reasoning horizon, a Summarizer is fed the final messages from each agent along the agents' meta information and the initial user query, to produce the final response.

In our empirical study, we show how Muffin provides reasoning capabilities that are on the Pareto front w.r.t. the downstream accuracy and the token consumption. We evaluate on four reasoning benchmarks and report performance gains across four open-weight language models. By applying Muffin, we improve the strongest baseline by 4.4 accuracy points on average across all benchmarks, with larger gains on OlymMATH-E of 11.8 accuracy points. Moreover, we show that it reaches a better quality-cost trade-off compared to multi-agent debate architectures, improving accuracy by 19.2 accuracy points while using 77.4% fewer tokens in the step-wise analysis, as in our pipeline we exchange only selected findings instead of full reasoning traces.

The key contributions of our work:

• Shared Memory Buffer: We propose Muffin, an LLM-based multi-agent workflow in which agents asynchronously exchange selected intermediate findings through a shared buffer.

• Asynchronously Selective Information Sharing: Muffin keeps each agent’s local reasoning information private and shares partial intermediate findings through the buffer asynchronously, enabling agent collaboration without exposing full reasoning traces.

• Accuracy-Cost Trade-off: Muffin outperforms single-agent and majority-vote baselines across four reasoning benchmarks, while lying on the accuracy-token Pareto frontier.

References (42)