arXiv:2611.06389cs.AINov 2026

Manuscript Offprint

arXiv:2611.06389

MA-Mesh: Resilient Multi-Agent Collaboration via Role-based Self-Healing

JunYong Lee, Woo Kyung Kim, Honguk Woo

Abstract

Effective collaboration in multi-agent systems requires mechanisms for coordination and adaptability in dynamic and uncertain environments. However, existing multi-agent systems rarely model resilience explicitly, instead relying on ad-hoc output correction that limits systematic, runtime management of robustness. In this work, we propose Multi-Agent Mesh (MA-Mesh), a framework that constructs a role-based self-healing layer on top of a collaboration pattern. Specifically, MA-Mesh generates resilience-aware system specifications and synthesizes them into executable multi-agent policy code. To enhance resilience, we introduce two self-healing mechanisms: Cross-agent reflection, a mechanism that allows agents to evaluate not only their own outcomes but also the performance of their peers, enabling informed behavioral adjustments and collective policy refinement; Role-based failover, a strategy which dynamically reassigns roles and enables agents to substitute for one another when sub-tasks fail or agents underperform, ensuring continuity of task execution. Experimental results across diverse tasks (e.g., software development, tool use, scientific reasoning) demonstrate that MA-Mesh significantly outperforms existing multi-agent systems in both task performance and robustness under system uncertainty.

1 Introduction

Building on the success of single LLMs for individual tasks (Rozière et al., 2023; Zhang et al., 2024; Ahn et al., 2023), compound agentic systems composed of multiple LLM-based agents have emerged as a promising approach to scale these capabilities toward more complex, long-horizon tasks that demand collaboration and coordination (Wu et al., 2024). Early multi-agent systems were developed in a domain-specialized manner (Du et al., 2024;

Hong et al., 2024), with each system hand-crafted for a specific application. In parallel, a line of work has explored automating multi-agent orchestration, either by leveraging the parametric knowledge of LLMs (Chen et al., 2024b,a) or by learning to configure the coordination structures (Zhang et al., 2025a). However, these multi-agent systems are typically designed under nominal system conditions, which limits their resilience to partial system failures and internal execution uncertainty.

To address this, we draw inspiration from the cloud service mesh (Li et al., 2019) to automate the construction of resilient multi-agent systems that can be instantiated dynamically on top of a collaboration pattern. Specifically, we explicitly decouple the collaboration logic, which governs task execution, from the resilience policy, which materializes a role-based self-healing layer. The self-healing layer operates through two mechanisms: (i) cross-agent reflection, which evaluates an agent's own outcomes or those of its peers against its role-specific requirements to detect performance degradation; (ii) role-based failover, which continuously monitors agent execution and substitutes an affected agent with a suitable alternative when reflection signals performance degradation or a response timeout occurs. Such a design directly parallels a service mesh, where sidecar proxies transparently provide a resilience layer to microservices.

To this end, we present the Multi-Agent Mesh (MA-Mesh) framework, which overlays a role-based self-healing layer on top of a collaboration pattern, yielding a resilient multi-agent system. Given a task, an LLM orchestrator generates a resilience-aware system specification in a structured format. The specification comprises collaboration logic, which is either a user-supplied or an orchestrator-generated workflow, and a cross-agent reflection mechanism, which specifies the peers to evaluate and the role-specific criteria for assessing their execution outcomes. The orchestrator

*Equal contribution. †Corresponding author.

then synthesizes the executable code by instantiated pre-defined agent and resilient proxy classes from this specification. A resilient proxy is attached to each agent; collectively, these proxies realize the self-healing layer. The role-based failover mechanism is built into the resilient proxy class, which monitors agent execution and triggers recovery upon performance degradation (detected by cross-agent reflection) or response timeout. Once triggered, a dedicated meta-agent replaces the affected agent and reassigns its role, ensuring execution continuity without global re-orchestration.

In this way, the resulting resilient multi-agent system is constructed analogously to a service mesh architecture, comprising a control plane and a data plane. The resilience-aware system specification, together with the meta-agent responsible for runtime recovery upon agent failures, constitutes the control plane; the agent instances and their attached sidecar-like resilient proxies form the data plane.

Through evaluations on software development for GUI and web applications (Liu et al., 2025; Hu et al., 2025b), tool-use tasks (Mialon et al., 2024), and scientific reasoning (Rein et al., 2023), we demonstrate that MA-Mesh substantially improves the resilience of multi-agent systems. We evaluate under four system uncertainty scenarios (Netflix, 2012) that model partial and behavioral uncertainty: agent chaos, prompt chaos, I/O chaos, and compound chaos. Across these settings, MA-Mesh consistently outperforms the strongest baseline C+I (Huang et al., 2025), with an average accuracy gain of 32.51 percentage points (pp). We further evaluate detection recall (DR), the fraction of affected agents correctly identified by resilient proxies, and observe an average improvement of 0.36 in DR over C+I. Moreover, to validate MA-Mesh's adaptability to arbitrary collaboration patterns, we overlay it on top of MetaGPT (Hong et al., 2024) and RTADev (Liu et al., 2025), observing an average accuracy gain of 43.74 pp and 29.42 pp, respectively (see Table 5). Lastly, we validate MA-Mesh on AIOpsLab (Chen et al., 2025), a cloud-native testbed, demonstrating its practical applicability beyond synthetic chaos scenarios. The contributions of our work are summarized as follows:

  • We present the MA-Mesh framework to construct multi-agent systems resilient to partial system failures and behavioral uncertainty.

  • We explicitly decouple collaboration logic from resilience policy in a structured specification, from which we synthesize executable code, enabling a role-based self-healing layer to be overlaid on top of any collaboration pattern.

  • We introduce resilient proxies to realize the self-healing layer, comprising cross-agent reflection for role-specific degradation detection and role-based failover for recovery.

  • Through experiments on benchmarks including software development, tool use, and scientific reasoning, we demonstrate that MA-Mesh outperforms existing multi-agent systems under diverse system uncertainty scenarios.