Manuscript Offprint

arXiv:2610.02396

Inherit-MAS: Test-Time Evolution of Multi-Agent Systems through Workflow and Execution Inheritance

Songtao Wei, Yi Li, Zhichun Guo, Bingzhe Li

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Multi-agent systems (MAS) built from large language models coordinate specialized agents to tackle complex tasks, but effective workflows are difficult to design in advance. Test-time evolution refines workflows using execution feedback, yet broad revisions can disturb useful components, while re-executing unchanged requests can incur redundant computation. Inspired by the interplay of inheritance and selection in biological evolution, we introduce Inherit-MAS, which makes inheritance explicit at the workflow and execution levels. A meta-model first synthesizes a workflow of worker agents with declared roles, communication inputs, and tool permissions, and a separately prompted judge scores each executed candidate and diagnoses its deficiencies. In ordinary refinement rounds, workflow inheritance starts from the latest completed candidate, may discard removable nodes judged unhelpful, and applies a validated edit to address the diagnosed deficiency. When the new candidate executes, execution inheritance inherits eligible stored results only if the complete resolved request and execution context match, avoiding redundant model and tool calls. With GPT-4o-mini workers, Inherit-MAS achieves 55.4% completion on WorkBench and 49.7% joint F1 on HotpotQA FullWiki, outperforming EvoAgent, EvoMAS, and TacoMAS. With Qwen3-32B workers, it also exceeds these evolving-MAS baselines on both benchmarks. Compared with rerunning the same controller with execution inheritance disabled, execution inheritance reduces worker-token usage by 29.1% on WorkBench and 34.6% on HotpotQA, and total token usage by 5.3% and 18.1%.

1 Introduction

Large language model (LLM) agents are increasingly moving beyond single-turn question answering toward complex tasks that require planning, tool use, interaction with external environments (Yao et al., 2023), and adaptation over extended periods of time (Shinn et al., 2023). One approach to managing these demands is to coordinate specialized language-model agents in a multi-agent system (MAS), using workflows for decomposition, tool use, communication, and verification. Rather than asking one LLM to maintain the entire reasoning and execution trajectory, a MAS can divide the task among agents with different responsibilities, execute independent subtasks in parallel, exchange intermediate results, and assign other agents to critique or verify them. Systems such as AutoGen (Wu et al., 2024) and MetaGPT (Hong et al., 2024) instantiate these patterns through programmable conversations and role-based procedures, while automatic design methods search agent programs (Hu et al., 2025), executable workflows (Zhang et al., 2025c), prompts, and graph connections (Zhuge et al., 2024). Across these approaches, performance depends on task decomposition, role and tool assignment, information flow, and verification. Because their interactions are difficult to anticipate, the initial execution may expose weaknesses in evidence collection, tool use, or coordination.

However, such diagnostic information becomes available only after the initial workflow has been synthesized and executed. A fixed workflow can respond to observations within its prescribed execution pattern, but it cannot revise that pattern to address weaknesses exposed by a particular task. Evolving-MAS methods aim to close this gap by revising or modifying an initial system rather than treating it as final, through evolutionary operations over an expert agent (Yuan et al., 2025), pools of promising configurations with accumulated experience (Hu et al., 2026), or coupled fast and slow test-time loops (Xu et al., 2026). Yet deciding what to change is only part of this process. A workflow may retrieve relevant evidence but fail to combine it into a complete answer. Changing the retrieval strategy along with the integration step may disturb work that was already useful. Conversely, retaining an agent’s configuration does not establish that its previous result remains applicable, since a revision may change the information it receives. Workflow evolution therefore needs to consider both the scope of a revision and its consequences for completed computations.

Inheritance gives evolution a memory, while natural selection favors beneficial variations and acts against harmful ones (Darwin, 1859). This interplay suggests that test-time MAS evolution should use execution feedback to guide change without unnecessarily losing useful work from earlier attempts. An unsuccessful attempt can still be informative, as its trace may reveal useful partial results alongside missing evidence, redundant work, or coordination failures. Such feedback offers a basis for cumulative adaptation, in which each attempt builds on what earlier executions have revealed. The aim is not to preserve every earlier choice, since some choices must be revised or abandoned, but to use this experience to guide subsequent changes. Under a finite test-time budget, both the quality of those changes and the cost of evaluating them matter. We therefore ask: How can a MAS use execution feedback to improve task performance while controlling the inference cost of test-time evolution?

To answer this question, we propose Inherit-MAS, a test-time evolution loop with explicit workflow and execution inheritance. A meta-model synthesizes an initial workflow from the task and its interface, specifying agent roles, prompts, tools, and communication links. Each valid candidate is executed, and a separately prompted judge scores its output and trace and provides node-level feedback. In each ordinary refinement round, workflow inheritance starts from the latest completed candidate (the incumbent). Guided by the critique, the meta-model may discard removable nodes judged unhelpful, then applies one validated edit intended to address a reported deficiency. The rest of the kept workflow is inherited unchanged. During execution, execution inheritance reuses an eligible node's stored result only when its complete resolved request (including upstream results and the execution-context fingerprint) matches a verified record. All other nodes execute live. After the attempt budget is exhausted, the ranking rule returns the highest-ranked completed candidate's stored output.

We evaluate Inherit-MAS on WorkBench (Styles et al., 2024) and HotpotQA FullWiki (Yang et al., 2018). The paper makes three contributions:

• We formulate test-time MAS evolution as explicit workflow inheritance. After initial synthesis, each candidate starts from the latest candidate, keeps the nodes that a node-level critique identifies as useful, and changes the kept workflow through one validated edit directed at the diagnosed deficiency.

• We introduce conservative change localization and request-verified execution inheritance, allowing eligible model and read-only tool results to be used directly across related candidates without altering the candidate being evaluated.

• On WorkBench and HotpotQA FullWiki benchmarks, Inherit-MAS outperforms EvoAgent, EvoMAS, and TacoMAS on overall completion and joint F1 scores while using less inference than EvoMAS and TacoMAS. We also show that, compared with independent reruns with execution inheritance disabled, execution inheritance avoids 29.1% and 34.6% of the live worker inference on the two benchmarks and 5.3% and 18.1% of total tokens.

References (90)