Manuscript Offprint
arXiv:2611.01728MAC-Bench: Benchmarking Multi-Agent Collaboration via Interconnected Tasks
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
Large language model (LLM)-based multi-agent systems (MAS) tackle challenging tasks by dividing work among agents and coordinating their contributions toward shared objectives. Evaluating these systems therefore requires benchmarks that assess not only task-solving performance but also the ability to handle interdependent work. However, existing benchmarks often emphasize task difficulty without substantial collaboration requirements or evaluate only a limited range of predefined collaboration patterns. In this paper, we introduce MAC-Bench, a comprehensive benchmark for evaluating multi-agent collaboration through interconnected tasks. Rather than imposing predefined agent roles or communication protocols, MAC-Bench embeds collaboration requirements directly into task dependencies and shared-resource constraints. Specifically, we mine reusable collaboration structures from selected benchmark tasks at two levels. Local collaboration patterns capture recurring interactions among subtasks, while global task structures characterize how these interactions contribute to complete workflows. Through coarse-to-fine composition, these structures are recombined into task graphs combining different collaboration requirements. Tasks are instantiated in executable environments with automated verification of partial progress and complete task resolution.
1 Introduction
Large language model (LLM)-based multi-agent systems (MAS) combine task decomposition, specialized roles, and inter-agent communication to extend the capabilities of individual agents (Li et al., 2023a; Wu et al., 2023; Hong et al., 2023; Qian et al., 2024; Feng et al., 2026). Recent systems further automate team organization and adaptation, achieving strong performance in reasoning, software engineering, and tool use (Ruan et al., 2026; Yang et al., 2025b; Hao et al., 2026; Cao et al., 2026). The rapid advancement of LLM-based MAS calls for rigorous benchmarks to measure collaborative progress and guide system design on complex, long-horizon tasks.
Benchmarks used to evaluate MAS fall into two categories: (1) General-purpose agent benchmarks offer complex, multi-step tasks for evaluating MAS (Ruan et al., 2026; Yang et al., 2025b; Hao et al., 2026), spanning reasoning (Hendrycks et al., 2021), software engineering (Jimenez et al., 2024), and interactive tool use (Mialon et al., 2024; Trivedi et al., 2024; Li et al., 2023b; Yao et al., 2024; Merrill et al., 2026; Zhou et al., 2024; Xie et al., 2024b). Their difficulty and execution length motivate division of work to improve overall task performance. (2) MAS-specific benchmarks construct explicit collaboration requirements (Zhu et al., 2025; Grötschla et al., 2025; Du et al., 2026; Ke et al., 2026), including distributed-information and privacy-constrained exchange (Zhang et al., 2026; Ossowski et al., 2025; Park et al., 2026), role-separated execution (Kim et al., 2026), joint action in games (Xu et al., 2024b; Agashe et al., 2025; Sun et al., 2025), and integration of separately developed features (Khatua et al., 2026). Recent efforts extend evaluation to long-horizon workflows and scalable task generation (Kim et al., 2026; Shu et al., 2026; Tessera et al., 2026). Tasks are expanded through variants of curated templates (Kim et al., 2026; Shu et al., 2026), or by generating coordination requirements from environment-specific mechanisms (Tessera et al., 2026).
Despite this progress, constructing tasks for MAS collaboration evaluation presents two dilemmas. (1) Complexity does not imply interdependence (Dilemma 1). Difficulty and execution length can increase through serial work without creating substantial branches that require coordination (Kim et al., 2025; Anthropic, 2025). (2) Limited patterns constrain collaboration coverage (Dilemma 2). Testing selected interactions pro-

Figure 1: MAC-Bench overview. Left: a packaging task links work branches through intermediate artifacts. Upper right: six task categories across two domains. Lower right: overall Progress Score (PS) for four systems with two LLM backbones; the highest Resolved Rate (RR) is 6.25%.
vides targeted evidence (Khatua et al., 2026; Kim et al., 2026; Shu et al., 2026; Tessera et al., 2026), but does not fully capture the complexity of real-world collaboration. This raises a central question: How can we construct executable tasks that test diverse combinations of collaboration requirements?
To overcome these fundamental dilemmas, we propose MAC-Bench, a benchmark for evaluating multi-agent collaboration through interconnected tasks. We construct its tasks by mining reusable structures from selected benchmark tasks (Shi et al., 2026; Ren et al., 2026; Xu et al., 2026b; Deng et al., 2026) and recombining them to support compositional scaling of task structures. The extracted structures form a library at two scales: ① local collaboration patterns that capture interactions among subtasks, and ② global task structures that retain task organization and interface constraints. Coarse-to-fine composition recombines global structures and expands them with local patterns to form task graphs combining different collaboration requirements. The graphs guide instantiation in executable environments, where task outcomes can be verified.
Our contributions are summarized as follows:
-
We introduce MAC-Bench, covering six categories in business operations and software engineering through complete, executable tasks with substantial, interdependent branches.
-
We develop a compositional construction approach that mines reusable local collaboration patterns and global task structures from existing tasks and recombines them into new combinations of collaboration requirements.

Figure 2: Task structures in general-purpose agent benchmarks. Percentages over 50 sampled tasks per benchmark. Unresolved denotes uncertain classifications from available materials (Appendix G.3.1).
- We evaluate three MAS and a single-agent baseline across two LLM backbones. Multi-agent designs show mixed benefits in verified progress, and no configuration resolves more than 6.25% of the 48 test tasks.
2.1 What Tasks Test Collaboration?
Evaluating multi-agent collaboration requires examining how agents coordinate different parts of a task toward a shared outcome (Hong et al., 2023; Qian et al., 2024). We describe these parts as branches, each involving sustained work toward a local goal and producing intermediate results. Separately progressable branches support division of work and parallel execution (Anthropic, 2025; Carlini, 2026). However, parallel progress alone does not establish the ability to coordinate interdependent work (Kim et al., 2025). When branches depend on one another's outputs or modify shared resources, local decisions can constrain work in other branches (Anthropic, 2026). Agents must then reconcile their contributions, as misalignment and integration conflicts can prevent joint completion (Cemri et al., 2025; Khatua et al., 2026). Tasks combining substantial branches with these dependencies allow evaluation of local progress and coordination toward task completion.
2.2 Do Existing Benchmarks Cover Such Tasks?
We next examine how frequently benchmarks commonly used for MAS evaluation contain substantial branches with cross-branch dependencies. We analyze 50 uniformly sampled tasks from each of GAIA, SWE-bench Verified, and Terminal-Bench 2.0 (Mialon et al., 2024; Jimenez et al., 2024; Merrill et al., 2026), distinguishing serial work, independent branches, and interdependent branches (Appendix G.3.1). As shown in Figure 2, single or primarily serial work accounts for 98% of sampled tasks in both GAIA and SWE-bench Verified and 74% in Terminal-Bench 2.0. Only 22% of the Terminal-Bench samples have confirmed interdependent branches, motivating explicit construction of such tasks.
For MAS-specific benchmarks, we consider how different collaboration requirements are combined within complete tasks. Template-based expansion varies task content or initial conditions within established workflows (Kim et al., 2026; Shu et al., 2026), while procedural environments generate coordination requirements through their own mechanics (Tessera et al., 2026). Reusing a complete workflow preserves the connections among task branches, but carries over their original organization. An interaction alone, however, leaves unspecified the work that produces and consumes its result. Assessing such combinations calls for tasks that link local interactions to substantial work across branches.
These analyses motivate selecting tasks with substantial, interdependent branches as material for benchmark construction. Benchmarks of professional work and multi-component software development provide candidates for such selection (Shi et al., 2026; Ren et al., 2026; Xu et al., 2026b; Deng et al., 2026). We can then mine and recombine their constituent structures to create new combinations of collaboration requirements within coherent, executable tasks.
3 MAC-Bench
MAC-Bench evaluates multi-agent systems on executable tasks involving substantial and interdependent work. This section presents their format, evaluation, and construction.
3.1 Task Format and Evaluation
As illustrated in Figure 1, each MAC-Bench task involves multiple interconnected work components toward a common objective. An evaluation instance provides a task description, an initialized environment, and permitted operations. The evaluated system determines how to organize and coordinate the work, without prescribed agent roles or workflows. Construction graphs and reference materials remain hidden.
MAC-Bench contains 48 test tasks across six categories in business operations and software engineering, alongside a separate development set. Private outcome verifiers assess partial progress and complete resolution through observable environment states and artifacts. We construct these tasks through a three-stage pipeline that combines diverse work dependencies.
3.2 Benchmark Construction
The construction process consists of three stages: (1) Dependency-aware Task Structure Mining abstracts tasks from existing benchmarks into graphs and builds a reusable library of local collaboration patterns, global task structures, and composition rules. (2) Coarse-to-fine Task Composition uses this library to recombine global structures and expand them with local patterns into new task graphs. (3) Environment-grounded Task Instantiation refines the composed graphs into environment-supported scenarios and prepares task descriptions, initial environment states, and outcome verifiers. The task graphs specify work requirements and dependencies; agent organization is left to the evaluated system. Figure 3 illustrates the construction process.
3.2.1 Dependency-aware Task Structure Mining
Cross-task recombination requires reusable local interactions and the global structures and interface conditions that connect them into complete tasks. We abstract selected benchmark tasks (Shi et al.,

Figure 3: Construction pipeline of MAC-Bench. (a) Mining extracts reusable local patterns and global task structures from existing tasks. (b) Composition recombines global structures and expands them with local patterns. (c) Instantiation specifies concrete tasks, initial environments, and outcome verifiers.
2026; Ren et al., 2026; Xu et al., 2026b; Deng et al., 2026) into graphs and extract local and global structures for composition.
Task Graph Abstraction. We first recursively decompose each task into subtasks with identifiable local outcomes, following hierarchical task decomposition (Erol et al., 1994). Given a task , each subtask is represented as , specifying its objective, required inputs, produced outputs, and read/write accesses to shared resources. A decomposition policy generates children of subtask conditioned on and the original task :
Recursive application yields a task tree , where contains the original task and its subtasks, and contains parent-child decomposition edges. Its leaf subtasks form . Each non-root tree node identifies the group of leaf subtasks in its subtree.
We then infer relations among leaf subtasks from their inputs, outputs, and resource accesses. A dependency indicates that supplies an output or establishes a resource condition required by . A coupling indicates mutually affecting modifications to shared resources. These relations define the annotated dependency graph:
Dependencies form a DAG; couplings are undirected annotations that do not prescribe an execution order. Thus, records task grouping and records subtask interactions. Appendix F.1 details decomposition and abstraction checks.
Local Collaboration Pattern Mining. We next mine local collaboration patterns and rules for connecting them. To match patterns across tasks, we cluster leaf subtasks using weighted -medoids over semantic, interface, and structural features. Each cluster defines a subtask type ; its observed input/output types and resource-access modes are retained for subsequent interface matching.
We enumerate connected two- and three-node subgraphs , retaining their subtask types, direct dependencies, coupling annotations, and precedence inherited from . Each receives a canonical representation :
where contains all permutations of the nodes, encodes type labels , direct and indirect precedence, and couplings in order , and the minimum is lexicographic. We merge identical representations into pattern types and filter by distinct-task support.
Within each task, we record overlapping occurrences of patterns and . Their node alignment maps shared subtasks between the two patterns' positions. Each tuple specifies a way to connect the patterns by merging their shared nodes. We retain these composition rules with their distinct-task support counts.
Global Task Structure Extraction. Finally, we extract global task structures to retain the context in which local patterns contribute to complete tasks. The root's children in partition the subtasks of into groups . Contracting each group into one node yields a coarse graph with cross-group dependencies and coupling annotations. Each node retains its group's objective and boundary interfaces: external inputs and outputs, and read/write accesses to shared resources. The tree records containment; the coarse graph records interactions between groups.
Coarsening at non-root internal nodes yields refinement rules, each recording child groups, their relations, and parent-to-child interface mappings. Subtasks combining multiple upstream outputs provide integration templates, while shared-resource interactions provide coupling templates. These templates retain the relevant input/output types and access modes.
To link local patterns to these structures, we categorize groups by their objectives and boundary interfaces, assigning each a label . Each pattern occurrence is indexed under the smallest categorized group containing its subtasks. For category , collects the indexed pattern types and counts its distinct supporting tasks.
Together, these results form . The local library stores subtask types and their interface characteristics, category-indexed patterns, and overlap-based composition rules with support statistics. The global library stores coarse task structures, boundary interfaces, and refinement, integration, and coupling rules. Shared group categories link the two libraries for subsequent composition. Mining and indexing details are provided in Appendix F.1.
3.2.2 Coarse-to-fine Task Composition
Local patterns provide reusable interactions, while global structures specify how they are organized within complete tasks. Using , we first compose group-level structures from , expand each group with patterns from , and assemble local graphs using coarse dependencies and couplings.
Global Structure Composition. We sample a whole-task coarse graph from with a corresponding grouping tree. Refinement replaces a group with its child-group graph through stored boundary mappings; integration inserts a multi-input group; coupling introduces shared-resource interactions. The tree records containment separately from graph interactions.
Target-guided search applies compatible rules to meet group and integration count ranges while preserving interfaces and dependency acyclicity. Accepted outputs comprise a grouping tree and a coarse graph , whose nodes correspond to terminal tree groups and retain category , local size targets, and boundary interfaces.
Local Pattern Composition. We next expand each group node of into a local subtask graph. For its category , the patterns in define the seed candidates. Their distinct-task support counts give the sampling distribution
where is a smoothing constant. We sample a size-compatible seed from this distribution and expand it to cover the group's boundary requirements.
We expand the seed using connecting rules sampled by distinct-task support. Repeated attachments form a local graph within the group's target size, preserving subtask types and acyclicity while satisfying requirements for its category and boundary interfaces.
Interface-constrained Graph Assembly. We map group boundaries to compatible nodes in using interface characteristics in . These mappings realize coarse dependencies and couplings in the assembled graph , retaining internal relations and group membership. After interface, resource-consistency, and acyclicity checks, guides environment instantiation. Search, attachment, and interface-assignment details appear in Appendix F.2.
3.2.3 Environment-grounded Task Instantiation
To construct executable tasks, we refine the composed task graphs into concrete scenarios in an environment supporting the required resources and operations. Refinement specifies objectives, entities, and artifacts, adapting the work to the environment. The process produces:
| System | Business Operations | Software Engineering | Overall | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Finance PS↑ | Service RR↑ | Project PS↑ | App Dev. PS↑ | Lib Dev. RR↑ | Dev. Tools PS↑ | All PS↑ | ||||||||
| GPT-6 Luna | ||||||||||||||
| Single Agent (ReAct) (Yao et al., 2023) | 21.08 | 0.00 | 24.93 | 0.00 | 26.08 | 12.50 | 7.79 | 0.00 | 8.08 | 0.00 | 18.50 | 12.50 | 17.74 | 4.17 |
| AOrchestra (Ruan et al., 2026) | 0.00 | 0.00 | 14.86 | 0.00 | 4.71 | 0.00 | 8.08 | 0.00 | 2.46 | 0.00 | 2.08 | 0.00 | 5.37 | 0.00 |
| Magnetic-One (Fourney et al., 2024) | 0.00 | 0.00 | 1.12 | 0.00 | 15.69 | 0.00 | 0.00 | 0.00 | 4.00 | 0.00 | 18.20 | 0.00 | 6.50 | 0.00 |
| Meta-Team (Hao et al., 2026) | 12.14 | 0.00 | 33.19 | 12.50 | 42.69 | 12.50 | 7.08 | 0.00 | 16.20 | 0.00 | 24.50 | 12.50 | 22.63 | 6.25 |
| DeepSeek-Flash | ||||||||||||||
| Single Agent (ReAct) (Yao et al., 2023) | 30.71 | 0.00 | 27.08 | 12.50 | 32.08 | 12.50 | 8.93 | 0.00 | 10.00 | 0.00 | 22.50 | 12.50 | 21.88 | 6.25 |
| AOrchestra (Ruan et al., 2026) | 0.00 | 0.00 | 17.71 | 0.00 | 4.86 | 0.00 | 8.12 | 0.00 | 2.50 | 0.00 | 2.50 | 0.00 | 5.95 | 0.00 |
| Magnetic-One (Fourney et al., 2024) | 0.00 | 0.00 | 1.79 | 0.00 | 18.75 | 0.00 | 0.00 | 0.00 | 5.00 | 0.00 | 20.00 | 0.00 | 7.59 | 0.00 |
| Meta-Team (Hao et al., 2026) | 8.26 | 0.00 | 37.20 | 0.00 | 45.69 | 12.50 | 7.14 | 0.00 | 17.50 | 0.00 | 27.50 | 12.50 | 23.88 | 4.17 |
Table 1: Main results on MAC-Bench. Progress Score (PS) and Resolved Rate (RR) are percentages (↑). Bold and underlined values indicate the best and second-best scores in each column within each backbone. Zero scores are left unmarked.
where describes the task objective, constraints, and requested outcomes; contains the initial records or project files; and checks task outcomes. Dependencies connect work through required intermediate artifacts or environment conditions, while shared-resource interactions impose consistency requirements across branches.
Outcome verification. Following state-based evaluation in executable agent environments (Trivedi et al., 2024; Tu et al., 2026; Aggarwal et al., 2026), checks goal completion and consistency in final environment states and artifacts without prescribing an action sequence.
Task validation. We review task requirements and supported operations, check loading, reset, and initial non-completion, and calibrate outcome checks using valid, alternative, and invalid results. Appendices F.3 and D report validation procedures and reference-execution records.
4 Experiments
We evaluate agent performance, analyze collaboration, and examine benchmark validity through three research questions: RQ1 (Benchmark performance): How do agent systems perform on MAC-Bench across task domains and backbones? RQ2 (Collaboration analysis): How do agent systems handle task dependencies and shared-resource constraints? RQ3 (Benchmark validity): Does MAC-Bench provide valid, diverse tasks for multi-agent collaboration evaluation?
4.1 Experimental Setup
Benchmark. The main evaluation uses all 48 test tasks in MAC-Bench, with eight tasks in each of six categories across Business Operations and Software Engineering (Section 3.1). Development tasks are separate from the test set.
Baselines. We compare single-agent ReAct (Yao et al., 2023) with three MAS: AOrchestra (Ruan et al., 2026), Magnetic-One (Fourney et al., 2024), and Meta-Team (Hao et al., 2026). Each system is evaluated with GPT-6 Luna and DeepSeek-Flash; the same backbone is used for all agents and auxiliary model calls within a run.
Evaluation Protocol. We run one episode per system–backbone–task combination from a reset environment with identical instructions and tool access. Task caps of 5M, 10M, or 15M input/output tokens are preassigned by workload, cover all model calls, and apply to all systems and backbones. Meta-Team adapts on development tasks and freezes teams before testing. Further settings appear in Appendix G.1.
Evaluation Metrics. We report Progress Score (PS) and Resolved Rate (RR). PS averages the fraction of achieved goals across tasks; RR is the fraction of fully resolved tasks. Automated checks assess final environment states and artifacts; full resolution also requires applicable preservation constraints. We report both as percentages by category and overall (Appendix G.2).
4.2 Benchmark Performance (RQ1)
We compare single-agent and multi-agent systems across six task categories and two LLM backbones (Table 1). PS and RR reveal whether progress gains translate into complete resolution and how system rankings vary by category.

Figure 4: Task-relation outcomes with DeepSeek-Flash. (a) 14 dependency checks on nine tasks. (b) Six shared-resource checks on four tasks. Percentages are averaged within tasks, then across tasks, and rounded. Unavailable denotes missing outputs; unassessable denotes inconclusive evidence.
Obs. 1. Progress gains vary across multi-agent systems. Meta-Team leads in PS under both backbones, reaching 22.63%/23.88% versus ReAct's 17.74%/21.88% (Table 1). With both backbones, AOrchestra and Magentic-One achieve lower PS than ReAct.
Obs. 2. Progress and resolution yield different rankings. The highest RR is 6.25%. With DeepSeek-Flash, ReAct resolves three tasks and Meta-Team two, despite Meta-Team's higher PS; this ordering reverses with GPT-6 Luna. AOrchestra and Magentic-One resolve none. Progress and complete resolution thus rank systems differently.
Obs. 3. Rankings vary across task categories. Meta-Team's PS reaches 42.69%/45.69% on Project Management but only 7.08%/7.14% on Application Development. ReAct outperforms Meta-Team on Financial Management under both backbones, despite its lower overall PS.
4.3 Collaboration Analysis (RQ2)
Beyond aggregate scores, we examine task dependencies and shared-resource constraints in four-system DeepSeek-Flash runs on nine business tasks (Appendix G.3.2). Figure 4 distinguishes satisfied relations, inconsistent results, unavailable outputs, and unassessable cases, averaging within tasks before across tasks. Figure 5 complements these statistics with business and software examples.
Obs. 4. Results can remain inconsistent across branches. Meta-Team's dependency outcomes are 35.6% satisfied, 8.9% inconsistent, and 55.6% unavailable (Figure 4). In the market task, AOrchestra workers produce internally consistent allocations and inspections, yet 39 of 48 inspections

Figure 5: Meta-Team collaboration cases. (a) Different workers leave booking and calendar dates inconsistent for six of 20 volunteers. (b) The planner's CLI calls the developer's unimplemented isolated-build environment constructor, blocking the isolated build.
disagree with their upstream allocations. Local consistency thus need not extend across branches.
Obs. 5. Cross-agent work can leave task dependencies unmet. In Figure 5(a), correction reduces date mismatches from eleven to six, but bookings and calendars still disagree for trainees accepting either week. In (b), the planner implements CLI integration while the developer leaves the required isolated-build environment constructor unimplemented, causing validation to fail.
4.4 Benchmark Validity (RQ3)
We validate MAC-Bench through task-structure analysis, reference execution, and scoring calibration. Across all 48 tasks, we examine branches, dependencies, and shared-resource constraints. Reference solutions pass complete task grading on all 48 tasks; none of the untouched initial states passes. For scoring calibration, we select two tasks per category and evaluate six conditions: a reference result, a legal alternative, missing work, a broken relation, a preservation violation, and a corresponding repair. These yield 72 evaluations; procedures and interventions are detailed in Appendix D.
Obs. 6. Tasks combine several forms of interdependence. As shown in Figure 6, tasks contain 3–10 substantial branches (median five). Multi-input integration appears in 47 tasks, and shared-resource or mutable-state constraints in 38: 21

Figure 6: Work structures in MAC-Bench. (a) Task frequencies by branch and cross-branch dependency counts. (b) Exclusive profiles: dependencies only (Dep.), integration without sharing (Integr.), or integration with sharing only within (Within) or across branches (Across). Dashes mark zero counts.
across branches and 17 within branches only. Profiles vary across categories: Developer Tools combines dependencies with integration, whereas all eight Application Development tasks also require sharing resources across branches.
Obs. 7. Scoring reflects goal completion and preservation requirements. All twelve legal alternatives and twelve repairs pass, while all 36 erroneous results are rejected. Table 2 shows the goal-level progress retained under each violation. In the housing test, changing an allocation without updating its handover fails the handover goal while the other three goals remain complete, yielding PS of 75%. Correcting the handover restores PS to 100% and full acceptance.
Preservation checks additionally assess whether completed work leaves protected records and existing behavior intact. In Jinja, altering existing error metadata leaves all five task goals satisfied but fails the preservation check: PS remains 100%, while the task is rejected. The dagger-marked entries distinguish this outcome from missing goal progress. Further conflict-and-repair tests for shared resources appear in Appendix D.4.
5 Related Work
LLM-based multi-agent systems. LLM-based MAS coordinate specialized agents through communication and delegation (Li et al., 2023a; Wu et al., 2023; Hong et al., 2023; Qian et al., 2024; Chen et al., 2026; Wu et al., 2026). G-Designer generates task-adaptive communication topologies, AFlow searches executable workflows, and MaAS samples query-dependent agent architec-
| Task | PS after violation (%) | ||
|---|---|---|---|
| Missing work | Broken relation | Preservation violation | |
| Business operations | |||
| Studio closeout | 85.7 | 85.7 | 100.0† |
| Workspace recovery | 85.7 | 85.7 | 100.0† |
| Housing allocation | 75.0 | 75.0 | 100.0† |
| Market allocation | 83.3 | 83.3 | 100.0† |
| Restaurant publication | 83.3 | 83.3 | 100.0† |
| Riverbank activities | 80.0 | 80.0 | 100.0† |
| Software engineering | |||
| Black | 20.0 | 80.0 | 40.0 |
| Build | 20.0 | 40.0 | 0.0 |
| Jinja | 0.0 | 60.0 | 100.0† |
| Lark | 0.0 | 80.0 | 0.0 |
| FreshRSS | 0.0 | 75.0 | 75.0 |
| Kanboard | 0.0 | 75.0 | 50.0 |
Table 2: Scoring under controlled changes. All displayed results fail complete grading; † denotes PS of 100% despite a failed preservation check. References, legal alternatives, and repairs pass on all twelve tasks with PS of 100%.
tures (Zhang et al., 2024a,b, 2025b). AOrchestra and Meta-Team further explore dynamic sub-agent creation and team-level adaptation (Ruan et al., 2026; Hao et al., 2026). These approaches design agent systems; MAC-Bench specifies task requirements and leaves agent organization open.
Agent benchmarks. General-purpose benchmarks assess reasoning, software engineering, and tool use (Mialon et al., 2024; Jimenez et al., 2024; Trivedi et al., 2024). WorkArena++ and TheAgentCompany extend evaluation to compositional knowledge work and workplace activities (Boisvert et al., 2024; Xu et al., 2024a). MAS-specific benchmarks test communication, distributed information, and coordinated execution (Ossowski et al., 2025; Zhang et al., 2026; Zhu et al., 2025; Kim et al., 2026; Khatua et al., 2026). Recent environments extend collaboration to long-horizon tasks (Shu et al., 2026).
Task and environment generation. AgentGen generates environments and planning tasks (Hu et al., 2024). EnvScaler and ScaleEnv synthesize tool-interactive environments and validated tasks (Song et al., 2026; Tu et al., 2026). SWE-smith generates coding tasks through repository modifications, while Gym-Anything converts software into agent environments (Yang et al., 2025a; Aggarwal et al., 2026). WorkArena++ and -bench compose atomic components into larger tasks (Boisvert et al., 2024; Barres et al., 2025).
6 Conclusion
MAC-Bench provides substantial, interconnected tasks across business operations and software engineering by mining and composing reusable task structures. Tasks combine varied dependencies, integration, and shared-resource constraints; targeted checks show effects of selected relation violations. Across two LLM backbones, Meta-Team leads in progress, while AOrchestra and Magentic-One trail ReAct. No configuration resolves more than 6.25% of tasks. MAC-Bench separates partial progress from complete task resolution.
References
Saaket Agashe, Yue Fan, Anthony Reyna, and Xin Eric Wang. 2025. LLM-coordination: Evaluating and analyzing multi-agent coordination abilities in large language models. In Findings of the Association for Computational Linguistics: NAACL 2025, pages 8053–8072.
Pranjal Aggarwal, Graham Neubig, and Sean Welleck. 2026. Gym-Anything: Turn any software into an agent environment. arXiv preprint arXiv:2604.06126.
Anthropic. 2025. How we built our multi-agent research system.
Anthropic. 2026. Patterns and problems in emerging multiagent systems.
Victor Barres, Honghua Dong, Soham Ray, Xujie Si, and Karthik Narasimhan. 2025. -Bench: Evaluating conversational agents in a dual-control environment. arXiv preprint arXiv:2506.07982.
Léo Boisvert, Megh Thakkar, Maxime Gasse, Massimo Caccia, Thibault Le Sellier De Chezelles, Quentin Cappart, Nicolas Chapados, Alexandre Lacoste, and Alexandre Drouin. 2024. WorkArena++: Towards compositional planning and reasoning-based common knowledge work tasks. arXiv preprint arXiv:2407.05291.
Qinuo Cao, Xin He, Dianxuan Fu, Lizhi Zhang, Zhaoqing Xing, Jiapu Wang, Xin Wang, Na Zou, Yi Chang, and Qinggang Zhang. 2026. EvoTeam: Multi-agent collaboration via evolving teams. arXiv preprint arXiv:2610.39813.
Nicholas Carlini. 2026. Building a C compiler with a team of parallel Claude.
Mert Cemri, Melissa Z Pan, Shuyi Yang, Lakshya A Agrawal, Bhavya Chopra, Rishabh Tiwari, Kurt Keutzer, Aditya Parameswaran, Dan Klein, Kannan
Ramchandran, Matei A Zaharia, Joseph E Gonzalez, and Ion Stoica. 2025. Why do multi-agent LLM systems fail? In Advances in Neural Information Processing Systems, volume 38.
Zerui Chen, Qinggang Zhang, Zhishang Xiang, Zhimin Wei, Linfeng Gao, Xiao Huang, Zhihong Zhang, and Jinsong Su. 2026. LegalGraphRAG: Multi-agent graph retrieval-augmented generation for reliable legal reasoning. In Proceedings of the 64th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 37455–37484.
Qizhi Chu, Zekai Yu, Sijie Wen, Yang Liu, Chen Qian, Cheng Yang, Chuan Shi, and Zhiyuan Liu. 2026. MASBench: Benchmarking LLM-based multi-agent collaboration under partial observability. arXiv preprint arXiv:2610.04672.
Philip R. Cohen and Hector J. Levesque. 1991. Teamwork. Noûs, 25(4):487–512.
Gangda Deng, Zhaoling Chen, Zhongming Yu, Haoyang Fan, Yuhong Liu, Yuxin Yang, Dhruv Parikh, Rajgopal Kannan, Le Cong, Mengdi Wang, Qian Zhang, Viktor Prasanna, Xiangru Tang, and Xingyao Wang. 2026. SWE-Milestone: Evaluating AI agents on continuous software evolution. In Proceedings of the 43rd International Conference on Machine Learning, volume 306 of Proceedings of Machine Learning Research, pages 23853–23890. PMLR.
Hongyi Du, Jiaqi Su, Jisen Li, Lijie Ding, Yingxuan Yang, Peixuan Han, Xiangru Tang, Kunlun Zhu, and Jiaxuan You. 2026. ProtocolBench: Which LLM multi-agent protocol to choose? In Proceedings of the 43rd International Conference on Machine Learning, volume 306 of Proceedings of Machine Learning Research, pages 26649–26695.
Cornelius Emde, Alexander Rubinstein, Anmol Goel, Ahmed Heakl, Sangdoo Yun, Seong Joon Oh, and Martin Gubri. 2026. MASEval: Extending multi-agent evaluation from models to systems. In Proceedings of the 64th Annual Meeting of the Association for Computational Linguistics (Volume 3: System Demonstrations), pages 345–356.
Kutluhan Erol, James Hendler, and Dana S. Nau. 1994. UMCP: A sound and complete procedure for hierarchical task-network planning. In Proceedings of the Second International Conference on AI Planning Systems, pages 249–254.
Yuyuan Feng, Zhishang Xiang, Chaobin Yang, Qichao Ma, Zerui Chen, Yujing Zhang, Ke Huang, Chuanjie Wu, Zhaoxu Liu, Yili Wang, and 1 others. 2026. Graph engineering in the era of LLM agents: From individual intelligence to system intelligence. arXiv preprint arXiv:2608.21156.
Adam Fourney, Gagan Bansal, Hussein Mozannar, Cheng Tan, Eduardo Salinas, Erkang Zhu, Friederike Niedtner, Grace Proebsting, Griffin Bassman, Jack Gerrits, Jacob Alber, Peter Chang, Ricky Loynd,
Robert West, Victor Dibia, Ahmed Awadallah, Ece Kamar, Rafah Hosn, and Saleema Amershi. 2024. Magentic-one: A generalist multi-agent system for solving complex tasks. arXiv preprint arXiv:2411.04468.
Barbara J. Grosz and Sarit Kraus. 1996. Collaborative plans for complex group action. Artificial Intelligence, 86(2):269–357.
Florian Grötschla, Luis Müller, Jan Tönshoff, Mikhail Galkin, and Bryan Perozzi. 2025. AgentsNet: Coordination and collaborative reasoning in multi-agent LLMs. arXiv preprint arXiv:2507.08616.
Zhezheng Hao, Tianfu Wang, Huanshuo Dong, Ziyan Liu, Hong Wang, Xiankun Lin, Qiang Lin, Can Wang, Hande Dong, and Jiawei Chen. 2026. Evolve as a team: Collaborative self-evolution for LLM-based multi-agent systems. arXiv preprint arXiv:2605.29790.
Dan Hendrycks, Collin Burns, Saurav Kadavath, Akul Arora, Steven Basart, Eric Tang, Dawn Song, and Jacob Steinhardt. 2021. Measuring mathematical problem solving with the MATH dataset. In Proceedings of the Neural Information Processing Systems Track on Datasets and Benchmarks, volume 1.
Sirui Hong, Mingchen Zhuge, Jiaqi Chen, Xiawu Zheng, Yuheng Cheng, Ceyao Zhang, Jinlin Wang, Zili Wang, Steven Ka Shing Yau, Zijuan Lin, Liyang Zhou, Chenyu Ran, Lingfeng Xiao, Chenglin Wu, and Jürgen Schmidhuber. 2023. MetaGPT: Meta programming for a multi-agent collaborative framework. arXiv preprint arXiv:2308.00352.
Mengkang Hu, Pu Zhao, Can Xu, Qingfeng Sun, Jianguang Lou, Qingwei Lin, Ping Luo, and Saravan Rajmohan. 2024. AgentGen: Enhancing planning abilities for large language model based agent via environment and task generation. arXiv preprint arXiv:2408.00764.
Yuntong Hu, Yuting Zhang, Matthew Trager, Yi Zhang, Shuo Yang, Wei Xia, and Stefano Soatto. 2026. EvoMAS: Evolutionary generation of multi-agent systems. arXiv preprint arXiv:2602.06511.
Carlos E. Jimenez, John Yang, Alexander Wettig, Shunyu Yao, Kexin Pei, Ofir Press, and Karthik Narasimhan. 2024. SWE-bench: Can language models resolve real-world GitHub issues? In The Twelfth International Conference on Learning Representations.
Zixuan Ke, Yifei Ming, Austin Xu, Ryan Chin, Xuan-Phi Nguyen, Prathyusha Jwalapuram, Jiayu Wang, Semih Yavuz, Caiming Xiong, and Shafiq Joty. 2026. MAS-orchestra: Understanding and improving multi-agent reasoning through holistic orchestration and controlled benchmarks. In Proceedings of the 43rd International Conference on Machine Learning, volume 306 of Proceedings of Machine Learning Research, pages 56527–56570.
Arpandeep Khatua, Hao Zhu, Peter Tran, Arya Prabhudesai, Frederic Sadrieh, Johann K. Lieberwirth, Xinkai Yu, Yicheng Fu, Michael J. Ryan, Jiaxin Pei, and Diyi Yang. 2026. CooperBench: Why coding agents cannot be your teammates yet. arXiv preprint arXiv:2601.13295.
Yubin Kim, Ken Gu, Chanwoo Park, Chunjong Park, Samuel Schmidgall, A. Ali Heydari, Yao Yan, Zhihan Zhang, Yuchen Zhuang, Yun Liu, Mark Malhotra, Paul Pu Liang, Hae Won Park, Yuzhe Yang, Xuhai Xu, Yilun Du, Shwetak Patel, Tim Althoff, Daniel McDuff, and Xin Liu. 2025. Towards a science of scaling agent systems. arXiv preprint arXiv:2512.08296. Version 3, revised April 8, 2026.
Yubin Kim, Chanwoo Park, Taehan Kim, Eugene Park, Samuel Schmidgall, Salman Rahman, Chunjong Park, Cynthia Breazeal, Xin Liu, Hamid Palangi, Hae Won Park, and Daniel McDuff. 2026. Teambench: Evaluating agent coordination under enforced role separation. arXiv preprint arXiv:2605.07073.
Guohao Li, Hasan Abed Al Kader Hammoud, Hani Itani, Dmitrii Khizbullin, and Bernard Ghanem. 2023a. CAMEL: Communicative agents for “mind” exploration of large language model society. arXiv preprint arXiv:2303.17760.
Minghao Li, Yingxiu Zhao, Bowen Yu, Feifan Song, Hangyu Li, Haiyang Yu, Zhoujun Li, Fei Huang, and Yongbin Li. 2023b. API-Bank: A comprehensive benchmark for tool-augmented LLMs. In Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing, pages 3102–3116.
Zongxia Li, Zhongzhi Li, Yucheng Shi, Ruhan Wang, Junyao Yang, Zhichao Liu, Xiyang Wu, Anhao Li, Yue Yu, Ninghao Liu, Lichao Sun, Haotao Mi, and LeoweilLiang. 2026. Long-horizon-terminal-bench: Testing the limits of agents on long-horizon terminal tasks with dense reward-based grading. Preprint, arXiv:2607.08964.
Guangyi Liu, Haojun Lin, Huan Zeng, Heng Wang, and Quanming Yao. 2026. MAS-on-the-Fly: In-context structural adaptation of LLM-based multi-agent systems. In Proceedings of the 2026 Conference on Empirical Methods in Natural Language Processing.
Xiao Liu, Hao Yu, Hanchen Zhang, Yifan Xu, Xuanyu Lei, Hanyu Lai, Yu Gu, Hangliang Ding, Kaiwen Men, Kejuan Yang, Shudan Zhang, Xiang Deng, Aohan Zeng, Zhengxiao Du, Chenhui Zhang, Sheng Shen, Tianjun Zhang, Yu Su, Huan Sun, and 3 others. 2024. AgentBench: Evaluating LLMs as agents. In International Conference on Learning Representations.
Thomas W. Malone and Kevin Crowston. 1994. The interdisciplinary study of coordination. ACM Computing Surveys, 26(1):87–119.
Mike A. Merrill, Alexander G. Shaw, Nicholas Carlini, Boxuan Li, Harsh Raj, Ivan Bercovich, Lin Shi, Jeong Yeon Shin, Thomas Walshe, E. Kelly
Buchanan, and 1 others. 2026. Terminal-bench: Benchmarking agents on hard, realistic tasks in command line interfaces. In The Fourteenth International Conference on Learning Representations.
Grégoire Mialon, Clémentine Fourrier, Craig Swift, Thomas Wolf, Yann LeCun, and Thomas Scialom. 2024. GAIA: A benchmark for general AI assistants. In The Twelfth International Conference on Learning Representations.
Ron Milo, Shai Shen-Orr, Shalev Itzkovitz, Nadav Kashtan, Dmitri Chklovskii, and Uri Alon. 2002. Network motifs: Simple building blocks of complex networks. Science, 298(5594):824–827.
Timothy Ossowski, Danyal Maqbool, Jixuan Chen, Zefan Cai, Tyler Bradshaw, and Junjie Hu. 2025. COMMA: A communicative multimodal multi-agent benchmark. Transactions on Machine Learning Research.
Minjun Park, Donghyun Kim, Hyeonjong Ju, Seungwon Lim, Dongwook Choi, Taeyoon Kwon, Minju Kim, and Jinyoung Yeo. 2026. PAC-BENCH: Evaluating multi-agent collaboration under privacy constraints. In Findings of the Association for Computational Linguistics: ACL 2026, pages 31030–31056.
Chen Qian, Wei Liu, Hongzhang Liu, Nuo Chen, Yufan Dang, Jiahao Li, Cheng Yang, Weize Chen, Yusheng Su, Xin Cong, Juyuan Xu, Dahai Li, Zhiyuan Liu, and Maosong Sun. 2024. ChatDev: Communicative agents for software development. In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics.
Qingnan Ren, Shun Zou, Shiting Huang, Ziao Zhang, Kou Shi, Zhen Fang, Yiming Zhao, Yu Zeng, Qisheng Su, Lin Chen, Yong Wang, Zehui Chen, Xiangxiang Chu, and Feng Zhao. 2026. SaaSBench: Exploring the boundaries of coding agents in long-horizon enterprise SaaS engineering. arXiv preprint arXiv:2605.17526.
Jianhao Ruan, Zhihao Xu, Yiran Peng, Fashen Ren, Zhaoyang Yu, Xinbing Liang, Jinyu Xiang, Yongru Chen, Bang Liu, Chenglin Wu, Yuyu Luo, and Jiayi Zhang. 2026. AOrchestra: Automating sub-agent creation for agentic orchestration. In Proceedings of the 43rd International Conference on Machine Learning, volume 306 of Proceedings of Machine Learning Research, pages 106017–106040.
Kean Shi, Zihang Li, Tianyi Ma, Zengji Tu, Jialong Wu, Xinbo Xu, Qingyao Yang, Ruoyu Wu, Weichu Xie, Ming Wu, Jason Zeng, Michael Heinrich, Elvis Zhang, Liang Chen, Kuan Li, and Baobao Chang. 2026. SaaS-Bench: Can computer-use agents leverage real-world SaaS to solve professional workflows? arXiv preprint arXiv:2605.15777.
Raphael Shu, Yusen Zhang, Young Min Cho, Jin Mo Yang, Yuan Yuan, Wenliang Zheng, Sharath Chandra Guntuku, Lyle Ungar, Zhou Yu, and Rui Zhang. 2026. Agentworld: Benchmarking long-horizon
collaboration of multi-agent LLMs. arXiv preprint arXiv:2609.31590.
Xiaoshuai Song, Haofei Chang, Guanting Dong, Yutao Zhu, Ji-Rong Wen, and Zhicheng Dou. 2026. EnvScaler: Scaling tool-interactive environments for LLM agent via programmatic synthesis. arXiv preprint arXiv:2601.05808.
Haochen Sun, Shuwen Zhang, Lujie Niu, Lei Ren, Hao Xu, Hao Fu, Fangkun Zhao, Caixia Yuan, and Xiaojie Wang. 2025. Collab-overcooked: Benchmarking and evaluating large language models as collaborative agents. In Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing, pages 4922–4951.
Milind Tambe. 1997. Towards flexible teamwork. Journal of Artificial Intelligence Research, 7:83–124.
Kale-ab Abebe Tessera, Andras Szcесnyi, Cameron Barker, Alexander Rutherford, Davide Paglieri, Aidan Scannell, Henry Gouk, Elliot J. Crowley, Tim Rocktäschel, and Amos Storkey. 2026. Benchmarking open-ended multi-agent coordination in language agents. arXiv preprint arXiv:2606.08340.
Harsh Trivedi, Tushar Khot, Mareike Hartmann, Ruskin Manku, Vinty Dong, Edward Li, Shashank Gupta, Ashish Sabharwal, and Niranjan Balasubramanian. 2024. AppWorld: A controllable world of apps and people for benchmarking interactive coding agents. arXiv preprint arXiv:2407.18901.
Dunwei Tu, Hongyan Hao, Hansi Yang, Yihao Chen, Yi-Kai Zhang, Zhikang Xia, Yu Yang, Yueqing Sun, Xingchen Liu, Furao Shen, Qi Gu, Hui Su, and Xunliang Cai. 2026. ScaleEnv: Scaling environment synthesis from scratch for generalist interactive tool-use agent training. arXiv preprint arXiv:2602.06820.
Chuanjie Wu, Zhishang Xiang, Yunbo Tang, Zerui Chen, Qinggang Zhang, and Jinsong Su. 2026. MemGraphRAG: Memory-based multi-agent system for graph retrieval-augmented generation. In Proceedings of the 32nd ACM SIGKDD Conference on Knowledge Discovery and Data Mining V. 2, pages 5407–5418.
Qingyun Wu, Gagan Bansal, Jieyu Zhang, Yiran Wu, Beibin Li, Erkang Zhu, Li Jiang, Xiaoyun Zhang, Shaokun Zhang, Jiale Liu, Ahmed Hassan Awadallah, Ryen W. White, Doug Burger, and Chi Wang. 2023. AutoGen: Enabling next-gen LLM applications via multi-agent conversation. arXiv preprint arXiv:2308.08155.
Zhishang Xiang, Chengyi Yang, Zerui Chen, Zhimin Wei, Yunbo Tang, Zongpei Teng, Zexi Peng, Zongxia Li, Chengsong Huang, Yicheng He, and 1 others. 2026. A systematic survey of self-evolving agents: From model-centric to environment-driven co-evolution. Available at SSRN 6626878.
Jian Xie, Kai Zhang, Jiangjie Chen, Tinghui Zhu, Renze Lou, Yuandong Tian, Yanghua Xiao, and Yu Su.
2024a. TravelPlanner: A benchmark for real-world planning with language agents. In Proceedings of the 41st International Conference on Machine Learning, volume 235 of Proceedings of Machine Learning Research, pages 54590–54613.
Tianbao Xie, Danyang Zhang, Jixuan Chen, Xiaochuan Li, Siheng Zhao, Ruisheng Cao, Toh Jing Hua, Zhoujun Cheng, Dongchan Shin, Fangyu Lei, Yitao Liu, Yiheng Xu, Shuyan Zhou, Silvio Savarese, Caiming Xiong, Victor Zhong, and Tao Yu. 2024b. OSWorld: Benchmarking multimodal agents for open-ended tasks in real computer environments. arXiv preprint arXiv:2404.07972.
Frank F. Xu, Yufan Song, Boxuan Li, Yuxuan Tang, Kritanjali Jain, Mengxue Bao, Zora Z. Wang, Xuhui Zhou, Zhitong Guo, Murong Cao, Mingyang Yang, Hao Yang Lu, Amaad Martin, Zhe Su, Leander Maben, Raj Mehta, Wayne Chi, Lawrence Jang, Yiqing Xie, and 2 others. 2024a. TheAgentCompany: Benchmarking LLM agents on consequential real world tasks. arXiv preprint arXiv:2412.14161.
Lin Xu, Zhiyuan Hu, Daquan Zhou, Hongyu Ren, Zhen Dong, Kurt Keutzer, See-Kiong Ng, and Jiashi Feng. 2024b. MAgIC: Investigation of large language model powered multi-agent in cognition, adaptability, rationality and collaboration. In Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing, pages 7315–7332.
Ran Xu, Yuchen Zhuang, Yishan Zhong, Yue Yu, Zifeng Wang, Xiangru Tang, Hang Wu, May Dongmei Wang, Peifeng Ruan, Donghan Yang, Tao Wang, Guanghua Xiao, Xin Liu, Carl Yang, Yang Xie, and Wenqi Shi. 2026a. MedAgentGym: A scalable agentic training environment for code-centric reasoning in biomedical data science. In The Fourteenth International Conference on Learning Representations.
Xinbo Xu, Ruihan Yang, Haiyang Shen, Wendong Xu, Bofei Gao, Ruoyu Wu, Kean Shi, Weichu Xie, Xuanzhong Chen, Ming Wu, Jason Zeng, Michael Heinrich, Elvis Zhang, Liang Chen, Kuan Li, and Baobao Chang. 2026b. RoadmapBench: Evaluating long-horizon agentic software development across version upgrades. arXiv preprint arXiv:2605.15846.
John Yang, Kilian Lieret, Carlos E. Jimenez, Alexander Wettig, Kabir Khandpur, Yanzhe Zhang, Binyuan Hui, Ofir Press, Ludwig Schmidt, and Diyi Yang. 2025a. SWE-smith: Scaling data for software engineering agents. arXiv preprint arXiv:2504.21798.
Yingxuan Yang, Huacan Chai, Shuai Shao, Yuanyi Song, Siyuan Qi, Renting Rui, and Weinan Zhang. 2025b. AgentNet: Decentralized evolutionary coordination for LLM-based multi-agent systems. In Advances in Neural Information Processing Systems, volume 38.
Shunyu Yao, Noah Shinn, Pedram Razavi, and Karthik Narasimhan. 2024. -bench: A benchmark for tool-agent-user interaction in real-world domains. arXiv preprint arXiv:2406.12045.
Shunyu Yao, Jeffrey Zhao, Dian Yu, Nan Du, Izhak Shafran, Karthik Narasimhan, and Yuan Cao. 2023. ReAct: Synergizing reasoning and acting in language models. In International Conference on Learning Representations.
Thomson Yen, Julian Poeltl, Harshith Srinivas Gear, Yilin Meng, Joshua Fan, Adam Shen, Yili Liu, Ali Bauyrzhan, Siri Du, Haoyang Liu, Daniel Guetta, and Hongseok Namkoong. 2026. MBABench: Evaluating LLM Agents on End-to-End Spreadsheet Tasks in Finance. Preprint, arXiv:2605.22664.
Guibin Zhang, Muxin Fu, Guancheng Wan, Miao Yu, Kun Wang, and Shuicheng Yan. 2025a. G-Memory: Tracing hierarchical memory for multi-agent systems. arXiv preprint arXiv:2506.07398.
Guibin Zhang, Luyang Niu, Junfeng Fang, Kun Wang, Lei Bai, and Xiang Wang. 2025b. Multi-agent architecture search via agentic supernet. arXiv preprint arXiv:2502.04180.
Guibin Zhang, Yanwei Yue, Xiangguo Sun, Guancheng Wan, Miao Yu, Junfeng Fang, Kun Wang, Tianlong Chen, and Dawei Cheng. 2024a. G-Designer: Architecting multi-agent communication topologies via graph neural networks. arXiv preprint arXiv:2410.11782.
Jiayi Zhang, Jinyu Xiang, Zhaoyang Yu, Fengwei Teng, Xionghui Chen, Jiaqi Chen, Mingchen Zhuge, Xin Cheng, Sirui Hong, Jinlin Wang, Bingnan Zheng, Bang Liu, Yuyu Luo, and Chenglin Wu. 2024b. AFlow: Automating agentic workflow generation. arXiv preprint arXiv:2410.10762.
Yuzhe Zhang, Feiran Liu, Yi Shan, Xinyi Huang, Xin Yang, Yueqi Zhu, Xuxin Cheng, Cao Liu, Ke Zeng, Terry Jingchen Zhang, and Wenyuan Jiang. 2026. SILO-BENCH: A scalable environment for evaluating distributed coordination in multi-agent LLM systems. In Proceedings of the 64th Annual Meeting of the Association for Computational Linguistics, pages 29379–29398.
Shuyuan Zhou, Frank F. Xu, Hao Zhu, Xuhui Zhou, Robert Lo, Abishek Sridhar, Xianyi Cheng, Tianyue Ou, Yonatan Bisk, Daniel Fried, Uri Alon, and Graham Neubig. 2024. WebArena: A realistic web environment for building autonomous agents. In International Conference on Learning Representations.
Kunlun Zhu, Hongyi Du, Zhaochen Hong, Xiaocheng Yang, Shuyi Guo, Zhe Wang, Zhenhailong Wang, Cheng Qian, Xiangru Tang, Heng Ji, and Jiaxuan You. 2025. MultiAgentBench: Evaluating the collaboration and competition of LLM agents. In Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics, pages 8580–8622.
Mingchen Zhuge, Wenyi Wang, Louis Kirsch, Francesco Faccio, Dmitrii Khizbullin, and Jürgen Schmidhuber. 2024. Language agents as optimizable graphs. arXiv preprint arXiv:2402.16823.
A Frequently Asked Questions
How do task structures relate to agent organization? Task structures specify how work results depend on one another; the evaluated system decides how agents produce and coordinate those results. A system can assign several branches to one agent or divide a branch among multiple agents. It receives the public task description, initialized environment, and permitted operations, while construction graphs and reference materials remain hidden. Outcome verifiers assess the required states and artifacts. Relation-level analysis then connects these outcomes to the system's actual division of work (Section 3.1 and Appendix G.3.2).
How are task feasibility and scoring validated? We review the correspondence between public requirements, available task materials, and scoring checks. Reference solutions pass complete grading on all 48 test tasks. On twelve tasks, controlled scoring tests accept valid alternative results and repairs while rejecting missing work, broken relations, and preservation violations. Further tests examine shared-resource conflicts and missing upstream records. Together, these checks assess whether tasks can be completed and whether scoring responds to the stated requirements (Table 2 and Appendix D).
Why are task-resolution rates low? MAC-Bench tasks are demanding in specification length, workload, and coordination. Lengthy task descriptions and supporting materials contain requirements, exceptions, and constraints that systems must interpret and track throughout execution. Each task contains 3–10 substantial work branches, with a median of five. For example, the housing task covers 48 households: each needs an eligible flat, a reconciled account, a staffed key-collection appointment, and a consistent handover pack. Changing a flat assignment can affect the fee, collection location, and officer assignment. Software tasks similarly require interacting components to work together; the build-frontend task connects its CLI, build engine, and isolated environment. Complete resolution requires all task goals and applicable preservation constraints to hold together, combining substantial local work with consistency across its results. Task structures and examples are detailed in Appendix B.
Why use existing tasks to construct a new benchmark? Existing tasks provide concrete examples of professional work and multi-component software development. We extract their local collaboration patterns and global task structures, then recombine and instantiate them into new evaluation tasks. This allows recurring dependencies and resource interactions to appear in different task organizations. The mining and held-out corpora are separate from the 48-task evaluation collection. Source composition and structural reuse analyses appear in Appendices B.5 and E.
B Benchmark Description and Statistics
This section describes the final MAC-Bench task collection, its categories and work structures, and the validation protocol. Construction sources are reported separately from the evaluation tasks.
B.1 Benchmark Overview
The evaluation collection contains 48 test tasks, with eight tasks in each of six categories. The Business Operations domain contains 24 tasks across Financial Management, Service Management, and Project Management. The Software Engineering domain contains 24 tasks across Application Development, Library Development, and Developer Tools. Figure 7 summarizes the category distribution. Development tasks are kept separate from the test set and used for method adaptation.
Software engineering environments expose a project workspace and terminal operations. Business operations environments expose native application records through application discovery, tool descriptions, calls, and result retrieval. Each accepted instance has a public task, an initial environment, and evaluator-side outcome checks. The task description states the required outcomes and available evidence; generated graph annotations and reference materials remain evaluator-side. Each task package contains the public description, environment assets, and outcome checks.
B.2 Task Categories and Examples
The categories describe the work to be completed. Business tasks require changes to application records and consistent operational commitments. Software tasks require working implementations across interacting components. Table 3 gives representative requirements.
For example, a workspace-settlement task combines invoice remedies, vendor settlement, expense ownership, and funded recovery commitments. A

Figure 7: Task distribution in MAC-Bench. Six equally sized categories contain eight test tasks each, totaling 48 tasks.
| Category | Representative work and relations |
|---|---|
| Business Operations | |
| Financial Management | Resolve credits, expenses, and balances; align recovery commitments with capacity and funding. |
| Service Management | Reconcile eligibility, appointments, and allocations; keep bookings and schedules consistent. |
| Project Management | Coordinate permissions, content, staffing, and costs; make delivery records reflect selected arrangements. |
| Software Engineering | |
| Application Development | Implement interacting data, service, and user-facing features while retaining existing behavior. |
| Library Development | Complete parsing, validation, conversion, or rendering components supporting downstream execution. |
| Developer Tools | Implement formatting, model generation, or build components supporting command-line or release operations. |
Table 3: Task categories in MAC-Bench. Each category contains eight test tasks. Examples summarize public requirements from the final collection.
GraphQL task combines document processing, validation, input coercion, and request execution. In both cases, completing isolated components is insufficient when their results must agree or support downstream work. Concrete execution cases are analyzed in Section 4.3.
B.3 Task Structure Statistics
We analyze the 48 test tasks using their public requirements and task contracts. LLM-assisted annotations identify work branches and their relations, retaining source quotations and contract entries for
| Category | Branch range | Integr. | Sharing | |
|---|---|---|---|---|
| Within | Across | |||
| Finance | 7–10 | 8 | 8 | 0 |
| Service | 3–6 | 8 | 6 | 2 |
| Projects | 5–8 | 8 | 2 | 6 |
| Applications | 4–7 | 8 | 0 | 8 |
| Libraries | 5–5 | 7 | 1 | 5 |
| Dev. tools | 5–5 | 8 | 0 | 0 |
| All tasks | 3–10 | 47 | 17 | 21 |
Table 4: Final-task structure summary. Each category contains eight tasks. Integr. counts tasks with multi-input integration. Share within counts tasks with within-branch constraints only; Share across counts tasks with cross-branch constraints.
each task. We aggregate these annotations to obtain the counts below. Reviewing the revised release materials preserves the branch groupings and relation counts; the accompanying records link each annotation to its current public sources.
Branch and relation definitions. A substantial branch pursues a distinct local outcome. Serial identity and eligibility checks for the same service case are merged; pure final-handover aggregation is excluded from branch counts. Software branches follow the declared implementation responsibilities and interfaces. Directed relations represent required upstream artifacts or interface compatibility. Figure 6(a) counts only dependencies between substantial branches; the full annotation also retains handover relations. Multi-input integration requires contributions from at least two upstream work units.
Shared constraints concern competing resource use or consequential updates to mutable state, rather than shared reads or unrelated records in one container. We distinguish constraints within a branch from those across branches. The four profiles in Figure 6(b) are mutually exclusive: dependencies only; dependencies with integration and no sharing; integration with sharing confined to a branch; and integration with cross-branch sharing, possibly also within-branch constraints. All observed sharing profiles include integration.
Table 4 summarizes the final collection. Median branch count is five. One library task has dependencies without multi-input integration; ten tasks have no shared constraint. Interface interpretation and reasonable alternative groupings can change fine-grained edge counts. The annotations retain the supporting task passages and grouping decisions.
| Source | Mining | Held-out |
|---|---|---|
| MBABench (Yen et al., 2026) | 17 | 9 |
| UniPat SaaS-Bench (Shi et al., 2026) | 12 | 5 |
| RoadmapBench (Xu et al., 2026b) | 30 | 15 |
| SaaSBench (Ren et al., 2026) | 20 | 9 |
| SWE-Milestone (Deng et al., 2026) | 19 | 11 |
| LHTB (Li et al., 2026) | 2 | 1 |
| Total | 100 | 50 |
Table 5: Source-task composition of the mining and held-out corpora. Counts refer to accepted task graphs, rather than instantiated benchmark tasks.
B.4 Validation Protocol
Task and interface review. We check that public requirements identify the requested changes, preservation obligations, and evidence needed to complete the task. Cross-application identifiers, repository dependencies, and permitted operations are checked against the packaged environment. Each outcome is linked to the state fields or artifacts used to assess it.
Environment and scoring checks. Loading and reset checks verify the packaged starting state. Private graders run separately from the solver and assess exported application states or software artifacts. We evaluate both the untouched starting state and a completed reference result, then test scoring with valid alternatives and controlled violations. Constructed final states test the grader's decisions; reference executions test completion through the available environment. Appendix D reports coverage, procedures, and results.
B.5 Construction Sources
Construction draws on professional-work and multi-component software tasks from six sources. These materials are separate from the 48-task evaluation collection. Public task specifications and accompanying documents, data, or code are converted into task hierarchies and annotated dependency graphs. Table 5 gives the accepted mining and held-out composition. Tasks sharing a repository, original case, or normalized specification remain on the same side. The two partitions contain 65 and 34 source groups, respectively. The mining graphs have 4–38 leaves (median 9), and held-out graphs have 4–38 leaves (median 8). Median directed dependency counts are 12 and 10. These are subtask-level statistics, distinct from the terminal-group counts used in controlled generation.
The 100-task partition supplies the structure li-

Figure 8: Task-level PS differences from ReAct. Each system is compared on the same 48 tasks. Circle area indicates frequency; diamonds and lines show means and 95% task-resampling intervals.
braries; the 50-task partition is reserved for held-out reuse analysis. Extraction details and library sizes are reported in Appendices F.1 and G.3.4.
C Additional System Evaluation
The main evaluation measures completed goals and full task resolution. We first examine how these outcomes vary across tasks and how much execution they require. We then connect the dependency and shared-resource checks in RQ2 to agents' contributions, asking whether related results remain consistent when different agents produce them. Appendix G.3 gives the analysis settings.
C.1 Benchmark Performance (RQ1)
C.1.1 Task-level Performance Differences
An overall PS difference can reflect broad improvements across tasks or gains on a few tasks offset by losses elsewhere. We therefore compare each MAS with ReAct on each of the 48 tasks. Figure 8 plots their PS differences, with means and 95% intervals from 20,000 task-bootstrap draws.
Obs. 8. Multi-agent gains vary across tasks. Meta-Team achieves a higher average PS than Re-Act, but improves on 15 tasks, ties on 20, and performs worse on 13. AOrchestra and Magentic-One improve on only seven and three tasks, respectively, while performing worse on seventeen and fifteen. Thus, the gains from multi-agent organization depend on the task, and the average ranking does not imply consistent improvements across tasks.
C.1.2 Resource Use and Stopping Conditions
The work branches in MAC-Bench require sustained execution. We report cumulative model usage and episode stopping conditions to characterize the resources used to pursue these outcomes.
| System | Median use | Episode stops | |||
|---|---|---|---|---|---|
| Tokens (M) | Calls | Cap | End | Other | |
| ReAct | 13.38 | 222 | 34 | 8 | 6 |
| AOrchestra | 15.00 | 995 | 44 | 3 | 1 |
| Magnetic-One | 15.01 | 306 | 42 | 3 | 3 |
| Meta-Team | 14.49 | 297.5 | 35 | 13 | 0 |
Table 6: Resource use and stopping across the 48 tasks. Tokens and Calls are median total tokens and recorded model calls. Cap, End, and Other count budget stopping, normal episode ending, and other stops; each row totals 48. End does not imply task resolution.
Obs. 9. Most recorded episodes end at the shared token cap. Budget stopping accounts for 34–44 of 48 episodes per system. Table 6 reports median cumulative tokens and recorded model calls, followed by episode stopping counts. The preassigned 5M, 10M, and 15M token caps are shared across systems on each task. An admitted final call may cross the cap. Episode stopping is recorded separately from the final task score.
C.2 Collaboration Analysis (RQ2)
Task dependencies connect the results produced by different work branches. We examine where these connections remain unfinished, whether available results agree, and how their agreement changes during execution. The analysis retains all fourteen dependency checks across the same nine tasks and four systems used in RQ2. Each check covers the relevant people, activities, or allocations. Appendix G.3.2 describes record matching and contributor attribution.
Obs. 10. Available upstream results do not always lead to downstream results. Figure 9 separates unfinished dependencies by the side that is missing. For AOrchestra, housing allocations are available for all 48 cases, but their handover records are missing. For Meta-Team, market eligibility decisions and pitch allocations are available, but corresponding handovers and inspection arrangements are missing. Upstream-only availability accounts for 22.2% and 16.7% of dependency outcomes for these two systems, respectively, using the task averaging of RQ2. This distinguishes work that stops between branches from work whose related results are both unavailable.
Obs. 11. Result coverage and cross-agent consistency reveal different failures. The market task illustrates the distinction. AOrchestra produces comparable allocation and inspection records

Figure 9: Dependent results by task relation. Cells give item counts in each state; split cells show multiple states. For unavailable results, ↑ and ↓ indicate that only the upstream or downstream side is available; unmarked gray cells indicate neither. Stars identify the cross-agent relations traced in Table 7.
for all 48 inspections, but 39 disagree; Meta-Team leaves the inspection side unavailable. In student support, AOrchestra has seven consistent eligibility–handover pairs out of 96, whereas Meta-Team has all 96. Counting consistency only where both results are available would hide this coverage difference. Contributor tracing further identifies six fully comparable relations handled across agents: three for AOrchestra and three for Meta-Team. Five contain inconsistencies, while Meta-Team’s conservation schedule and staffing agree for all 32 group placements. Thus, completing related outputs and coordinating them are distinct requirements exposed by the task structure.
Obs. 12. Correcting individual schedules can leave paired results inconsistent. We reconstruct changes to the six cross-agent relations from successful operations, starting from each episode’s initial state. Table 7 compares the first state with comparable records for every item against termination. In volunteer training, the booking worker later moves five volunteers who can attend only the second week, reducing booking–calendar mismatches from eleven to six. All six remaining mismatches concern volunteers available in either week: each date is individually feasible, but the booking and calendar refer to different sessions. The other four inconsistent relations retain their mismatches at termination. These changes show why checking each branch’s local requirements does not replace checking agreement across branches.
| Cross-agent relation | Items | Inconsistent | |
|---|---|---|---|
| First | Final | ||
| AOrchestra | |||
| Radio rights → text | 24 | 24 | 24 |
| Market eligibility → handover | 84 | 72 | 72 |
| Market allocation → inspections | 48 | 39 | 39 |
| Meta-Team | |||
| Radio schedule → staffing | 12 | 12 | 12 |
| Conservation schedule → staffing | 32 | 0 | 0 |
| Training bookings → calendar | 20 | 11 | 6 |
Table 7: Changes in cross-agent consistency. First is the earliest state with comparable records for all listed items; Final is episode termination. The bold count reflects five corrected booking–calendar mismatches. Other rows are unchanged. Conservation counts 32 group placements across 16 sessions.
D Additional Benchmark Validation (RQ3)
MAC-Bench requires both completed local work and consistency across dependent results and shared resources. Validation therefore examines whether these requirements are stated in the task materials, can be fulfilled in the environment, and are reflected in scoring. Specification review and reference evaluation cover all 48 tasks. Controlled changes on twelve tasks test whether scoring accepts valid alternatives and repairs while rejecting missing work, broken relations, and preservation violations. Further diagnostics trace these decisions to individual goals. Each goal is assessed by a group of checks; PS measures completed goals, while full resolution also requires applicable preservation checks.
D.1 Task Specifications
Requirements and scoring checks. We review the 283 goals across all 48 test tasks. For each goal, we identify its public requirement, the records or artifacts needed to fulfill it, and the checks used to award credit. Business tasks provide source records, policies, and recording guides; software tasks provide interface specifications, starter code, and public tests. Preservation requirements are reviewed alongside the requested changes. For software, the review examines selected behavior groups and targeted assertions against the supplied interfaces and specifications.
We check this correspondence in both directions. Starting from a requirement, we examine whether the grader checks the requested behavior and its dependencies. Starting from a check, we locate the public basis for its rejection conditions, including permitted alternatives, required formats, and protected records or behavior. The resulting review records link each outcome to public source passages and grading entrypoints.
Review examples. The review checks both conditional requirements and the availability of required outputs. In the riverbank activity-planning task, notices must match the chosen session and its site's restrictions. We corrected a check that required a nesting-zone exclusion at two sites where none applied; it now tests the selected site's restrictions. In the university support-allocation task, a required and graded budget summary was missing from the structured list of outputs. We added its entry to the recording interface.
D.2 Reference Solutions
Execution procedure. Business reference solutions begin from the task's initial application state and use public tools to create or update the required records. We export the resulting state, apply the complete task grader, and reset the environment to check that the initial records are restored. Software reference solutions are installed in the supplied task environments, built with their prepared dependencies, and evaluated by the complete task grader, including checks of retained behavior. We separately evaluate the untouched application states and public software workspaces.
Reference results pass on 48/48 tasks, with eight per category; no untouched initial state passes complete grading. All 24 software starters build successfully before their initial-state evaluation. All business environments pass reset checks after reference execution and are closed after evaluation.
Materials and execution records. Evaluation records link each task and grader version to the evaluated state or source artifact and its check and goal scores. Business records include the public-tool trace and exported final state. These supplementary checks use the revised release packages; the main-system evaluation uses the packages from its original runs. Housing and screening grader corrections are evaluated on the unchanged final states from their reference executions.
D.3 Scoring under Controlled Changes
Task selection and candidates. We select two tasks per category, covering distinct requirements
| Condition | Change to the evaluated result |
|---|---|
| Expected to pass complete grading | |
| Reference | Complete result from the reference solution. |
| Legal alternative | A different permitted choice or implementation, with dependent results updated. |
| Repair | Correct the inconsistent business records or restore the edited software component. |
| Expected to fail complete grading | |
| Missing work | Remove a required result register or omit required functionality. |
| Broken relation | Leave a consumer inconsistent with an upstream result or configuration. |
| Preservation violation | Alter protected source evidence or retained software behavior. |
Table 8: Controlled scoring protocol. Each of twelve tasks is evaluated under all six conditions. The expected decision follows the task requirements; Table 2 reports observed scores for the violations.
such as financial reconciliation, allocation and handover, publication, and interacting software components. For each task, we construct six candidate results from its reference final state or implementation (Table 8) and submit them to the grader, yielding 72 evaluations. Each candidate specifies the expected task decision; business candidates also specify which goals should pass or fail.
Candidate construction. Legal alternatives change a permitted choice or implementation while retaining the required behavior. Business alternatives select another allocation, schedule, menu, or session and update dependent records. For example, a housing reallocation includes a matching handover. In Lark, successive stable sorting passes replace a tuple-key sort while preserving the required ordering.
Relation violations leave connected results inconsistent: housing handover retains the old unit, Build omits the requested backend configuration, and label or role changes in FreshRSS and Kanboard leave old associations in place. Preservation violations alter protected source notes or existing software behavior, such as Jinja's exception line number. Business repairs synchronize dependent records with the permitted upstream choice; software repairs restore the edited component to its reference implementation.
Evaluation procedure. Business candidates are evaluated by the task's SQL checks and goal aggregation. Software candidates undergo a fresh build and complete task grading. We record task resolution, goal decisions, preservation checks, and PS. Table 2 reports the scores under the three types of violation.
Obs. 13. Valid alternatives pass, while inconsistent results fail. All twelve references, twelve legal alternatives, and twelve repaired results pass with PS of 100%. All 36 violations fail complete grading. In the business cases, the goal-level results also match the specified affected and retained outcomes across all 36 candidates. The following diagnostics examine how the scores respond when errors affect a dependent result, a shared resource, or preserved behavior.
D.4 Relation and Goal-level Diagnostics
Changing one branch's output can invalidate downstream work; individually valid choices can also conflict over a shared resource. We test whether goal-level scores capture these consequences while retaining credit for unaffected work.
Dependency consistency and completeness. The housing task assigns households to units and requires allocation, finance, appointment, and handover records. A permitted change in allocation must be reflected in the household's handover. Retaining the old unit in the handover fails that goal while the other three remain complete, giving PS of 75%; synchronizing the handover restores full acceptance.
We also remove each upstream register separately from a complete result. This tests whether downstream checks require their supporting records to exist. The diagnostic exposed a missing-record case in the handover check, which we corrected with explicit per-household presence checks. Table 9 reports the resulting goal failures. Removing allocation also invalidates appointments, whereas removing finance or appointments leaves the other upstream goals complete. All three removals fail the handover goal; the reference continues to pass.
Shared-resource conflicts. We test shared-resource constraints in university support allocation and riverbank activity planning. Each has four candidate results: the reference, a conflicting assignment, a feasible swap, and restoration of the original arrangement. University support adds a thirteenth task to the calibration coverage. Two students can each use either of two remote-
| Condition | Goal passed | PS(%) | |||
|---|---|---|---|---|---|
| Alloc. | Fin. | Appt. | Hand. | ||
| Reference | ✓ | ✓ | ✓ | ✓ | 100 |
| Stale handover | ✓ | ✓ | ✓ | ✗ | 75 |
| Repaired handover | ✓ | ✓ | ✓ | ✓ | 100 |
| Remove an upstream register from the reference | |||||
| Allocation | ✗ | ✓ | ✗ | ✗ | 25 |
| Finance | ✓ | ✗ | ✓ | ✗ | 50 |
| Appointments | ✓ | ✓ | ✗ | ✗ | 50 |
Table 9: Goal-level diagnosis in housing allocation. Columns show allocation, finance, appointments, and handover. A stale handover fails its own goal; missing upstream records also invalidate dependent goals. ✓ and × indicate pass and fail.
interpretation services, each with one place available for the term. Assigning both to one service exceeds its capacity. In riverbank activities, two overlapping sessions are assigned the same equipment kit. A feasible swap removes each conflict while maintaining individual suitability.
Obs. 14. Partial scores follow the affected requirements. The university conflict fails the allocation goal while preserving credit for five other goals, changing PS from 100% to 83.3%. The riverbank conflict fails the resources goal while four others remain complete, yielding PS of 80%. Both swaps restore PS to 100% and complete acceptance. The task-level and goal-level decisions match the specified outcomes in all eight conditions.
Software checks show how different errors affect different sets of goals. Ignoring Lark's token-retention option fails the tree goal while the other four goals pass, giving PS of 80%. In Jinja, leaving bound macro arguments marked as unused fails the language and composition goals, while contexts, asynchronous execution, and loading retain credit, giving PS of 60%. Altering Jinja's exception line number instead preserves all five task goals but fails the retained-behavior check: PS is 100%, yet the task is rejected. Thus the score records completed goals, while full acceptance additionally requires preservation constraints to hold.
Application-state transitions. In the health-screening task, cancellation requires refunding affected payments. The reference execution exposed a payment-lifecycle mismatch: after a completed refund, Pretix marks the original payment as refunded, while the check required confirmed. We corrected the check to recognize the completed-refund state while requiring exactly one completed refund for the original payment and amount. Re-grading the unchanged recorded final state passes all 95 individual verifier checks. Six controlled variants—missing, pending, duplicate, wrong-amount, incorrectly linked, and unpaid-source refunds—all fail the refund requirement and complete grading. This checks the legitimate state transition together with its corresponding error cases.
E Task Construction Analysis (RQ3)
MAC-Bench constructs tasks by reusing and recom-bining structures of interdependent work. We ex-amine whether local patterns and connecting rules recur across tasks, whether composition expands the range of structures meeting specified require-ments, and how target guidance and acceptance criteria affect these results. Finally, we compare the scenario specifications produced by alternative instantiation procedures.
E.1 Cross-task Structure Reuse
Local patterns describe dependencies and coupling among two or three typed subtasks; connecting rules describe how two patterns overlap through shared subtasks. To examine their reuse beyond the mining corpus, we extract libraries from up to 100 tasks and measure coverage on 50 held-out tasks from disjoint source groups. A local occurrence is covered when its subtask types and relations match a library pattern. A connection is covered when both pattern types and their shared-node alignment match a stored rule. We compute each coverage fraction within a task, then average across tasks. Ten nested mining sequences use five corpus sizes, yielding 41 distinct libraries with a shared 100-task endpoint (Appendix G.3.3).
Obs. 15. Larger mining corpora cover more held-out structures. As shown in Figure 10(a), increasing the mining corpus from 10 to 100 tasks raises local-pattern coverage from 10.3% to 70.2% and rule coverage from 3.4% to 41.0%. Source-group bootstrap intervals for the gains are [53.3,66.2] and [27.4,49.1] percentage points. Rule coverage is 44.6% at 75 tasks; subtask types are re-extracted at each corpus size, so coverage can decrease between sizes.
Obs. 16. Local patterns transfer more broadly than their composition rules. Figure 10(b) complements the means with task-level distributions. Median coverage is 82.5% for local patterns and

Figure 10: Task-structure reuse on 50 held-out tasks. (a) Coverage versus corpus size, with ranges across ten nested sequences. (b) Coverage distributions with 100 mining tasks.
| Held-out source | Tasks | Local | Rules |
|---|---|---|---|
| MBABench | 9 | 57.7 | 22.7 |
| UniPat SaaS-Bench | 5 | 23.8 | 2.2 |
| RoadmapBench | 15 | 72.9 | 34.9 |
| SaaSBench | 9 | 96.7 | 79.4 |
| SWE-Milestone | 11 | 76.4 | 51.2 |
| LHTB | 1 | 70.0 | 33.3 |
| All tasks | 50 | 70.2 | 41.0 |
Table 10: Held-out structure coverage by source (%). Each value averages task-level coverage; All tasks averages the 50 tasks rather than the source means.
30.8% for rules; interquartile ranges are 49.8–96.9% and 7.3–72.1%. Twelve tasks have full local-pattern coverage, but only three have full rule coverage, and five have no rule match. Thus, recurring local configurations are more widely represented than the particular ways they connect into larger structures.
Coverage by source and relation type. Table 10 reports mean task-level coverage by source under the full library. The LHTB entry represents its single held-out task.
A post-hoc breakdown attributes 70.2% of local-pattern occurrences to covered types, 8.3% to types observed below the support threshold, 21.4% to observed topologies with unrepresented type combinations, and 0.1% to unseen topologies (task-macro shares). Coupling-containing patterns attain 67.2% coverage on 25 eligible tasks; patterns without coupling attain 76.6% on 49. Each fraction is computed over occurrences of the corresponding pattern class within eligible tasks.
E.2 Controlled Structure Composition
Coarse-to-fine composition changes the connections among subtask groups, then expands each group with local patterns. We test whether this

Figure 11: Accepted outputs and distinct structures. Filled and open markers show distinct accepted structures and all accepted outputs from 60 requests, respectively. Their gap counts repeated structures; the remainder fails checks. No eligible larger fixed-global source exists (—).
produces distinct task graphs beyond the existing global structures. The comparison includes composition, Direct LLM generation, and a fixed-global reference that expands local patterns while keeping an existing global structure. All use the same library extracted from 100 tasks, targets, and checks. Each applicable condition receives 60 requests at each of two graph scales; Direct LLM uses one call per request without repair.
The targets specify how many terminal sub-task groups the coarse graph contains and how many integrate outputs from multiple upstream groups. Acceptance also requires sufficient leaf-level work connected through explicit artifacts or shared-resource accesses (Appendix G.3.4). Figure 11 separates accepted outputs from distinct accepted structures. Composition produces fifteen repeated accepted structures at the smaller scale and eight at the larger scale; every accepted Direct LLM output is distinct.
For structural comparison, we remove names and IDs while retaining group categories, typed interfaces, directed dependencies, coupling, and shared-resource participation. Labeled graph isomorphism determines whether two outputs have the same structure. Weisfeiler–Lehman signatures and graph invariants accelerate comparisons by separating outputs that cannot be isomorphic.
Obs. 17. Composition expands distinct organizations meeting the chosen requirements. The fixed-global reference expands local patterns within four eligible source structures without global operations. It accepts 55 smaller-scale requests, yielding four organizations; none meets the larger target. Composition yields 33 distinct accepted organizations at the smaller scale and 47 at the larger

Figure 12: Expected discovery of distinct accepted structures within each recorded 60-request batch. Each curve is computed from uniformly sampled subsets of the recorded requests, including failed requests.


Figure 13: Effect of the global operation cap on target attainment. Each point uses 60 paired requests; bands show 95% within-seed request-bootstrap intervals. The resource-backed check and target scales are the same as in Figure 11.
scale, including 29 smaller-scale structures absent from comparable source structures.
Figure 12 shows the expected number of distinct accepted structures in a uniformly sampled subset of each 60-request batch. Among accepted composition outputs, 33 of 48 are distinct at the smaller scale and 47 of 55 at the larger scale; all accepted Direct LLM outputs are distinct. The curves combine acceptance frequency with repetition among accepted outputs.
E.2.1 Target Guidance and Operation Limits
Target guidance selects refinement, integration, and coupling operations that move the coarse graph toward the requested group and integration counts, stopping when the targets are met or no improving update remains. We remove this guidance while retaining the same operation cap and local expansion routine. Acceptance under the resource-backed criterion drops from 80.0% to 5.0% at the smaller scale and from 91.7% to 26.7% at the larger scale, with no reduction in recorded request time (Table 11).
Operation-limit sensitivity. We use the same 100-task structure library, both target scales, and 60 requests per scale, setting global operation caps to 0, 2, 4, 6, and 8. Paired requests share initialization and local random streams, while local expansion and resource checks remain fixed. The unguided variant removes both target-directed selection and target/positive-gain stopping. The zero-operation condition still performs source initialization and local expansion; Fixed global instead preselects eligible sources.
The paired operation-cap protocol and uncertainty estimates are specified in Appendix G.3.4.
Obs. 18. Target guidance matters beyond the operation count. As shown in Figure 13, guided composition reaches 80.0% attainment after two operations at the smaller scale and 91.7% after four at the larger scale. Without guidance, smaller-scale attainment falls from 26.7% at two operations to zero at eight; larger-scale attainment peaks at 26.7% at six. More operations alone do not ensure target attainment. Guided plateaus partly reflect stopping once targets are met.
E.2.2 Acceptance Criteria and Generation Failures
The task design calls for substantial branches connected through intermediate outputs or shared resources. The resource-backed criterion assesses these properties in generated graphs: work counts toward the required minimum when it has explicit artifact or shared-resource links, and integration requires artifacts from distinct upstream groups. We compare this criterion with the initial structural check and two variants on the same requests (Figure 14); Appendix G.3.4 gives their thresholds.
Obs. 19. Generator comparisons depend on the structural criterion. The initial criterion counts groups and their declared connections. The two variants extend the resource-backed check by including final-delivery groups in the integration count or requiring explicit resource support for every subtask. The latter strengthens a minimum amount of interconnected work into a requirement on all subtasks.
Requiring every subtask to have resource support reverses the generator ranking: composition accepts 4 of 60 smaller-scale outputs and 1 of 60 larger-scale outputs, compared with 22 and 13 for Direct LLM. Including delivery groups can also

Figure 14: Sensitivity of target attainment to the acceptance criterion. All four checks use the same 60 requests per method and target scale. Resource-backed, With delivery, and All subtasks denote the criteria in Appendix G.3.4.
| Generator | Smaller graphs | Larger graphs | ||
|---|---|---|---|---|
| Pass (%) | Time (s) | Pass (%) | Time (s) | |
| Composition | 80.0 | 0.071 | 91.7 | 0.212 |
| Direct LLM | 38.3 | 63.69 | 21.7 | 75.93 |
| w/o guidance | 5.0 | 0.347 | 26.7 | 0.352 |
Table 11: Target attainment and recorded mean graph-generation time, with 60 requests per generator and scale. Pass uses the resource-backed criterion; time excludes mining and instantiation.
change acceptance because it increases the integration count while retaining its upper bound.
Under the initial criterion, composition accepts 56 of 60 outputs at both scales; Direct LLM accepts 55 and 54 at the smaller and larger scales, respectively. Direct LLM's failed submissions include six transport failures and one truncated response. All submissions remain in the denominator. Diagnostic labels cover transport, schema, interface, target, and resource-support failures; one output may receive multiple labels.
E.2.3 Generation Resources
Obs. 20. Library-based composition avoids further model calls at the graph stage. After structure extraction, composition uses no further model calls and takes a mean 0.071 and 0.212 seconds per graph request at the smaller and larger scales. Direct LLM takes 63.69 and 75.93 seconds, respectively (Table 11). These times cover graph generation under the recorded execution configuration, excluding mining, development, and task instantiation. Token usage is available for 114 of 120 Direct LLM submissions; the six transport failures have no returned usage record.
| Construction | Acceptance (%) |
|---|---|
| Ours | 40.0 |
| Source + refinement | 40.0 |
| Direct LLM | 46.7 |
Table 12: Acceptance of generated scenario specifications under common structural checks and automatic review supported by specification excerpts. Each condition uses 60 requests across 30 paired backgrounds.
E.3 Exploratory Scenario Comparison
During environment-grounded instantiation, abstract subtasks become concrete work with entities, outputs, and shared resources supported by the available applications. We compare the resulting scenario specifications under three procedures: refining composed graphs, refining existing source structures, and generating scenarios directly. Thirty business backgrounds each receive two requests per method, yielding 180 attempts. The methods share backgrounds, application capabilities, requirements for branches and their relations, output schema, and single-call budgets.
Programmatic checks assess schema, identifier consistency, dependency acyclicity, artifact bindings, and size. DeepSeek-Flash at temperature zero then evaluates each specification against common collaboration and environment requirements, with method names hidden. Each judgment must cite exact passages from the generated specification. Acceptance requires all criteria to be supported by valid citations; failed requests and unsupported judgments count as failures.
Obs. 21. Observed specification acceptance rates are close. Accepted specifications number 24/60, 24/60, and 28/60 (Table 12). Paired-background bootstrap differences are 0.0 points versus source refinement (95% interval [−16.7, 16.7]) and −6.7 versus direct generation ([-21.7, 8.3]). Both intervals include zero, leaving the direction of the acceptance differences unresolved.
F Task Construction Details
We detail the three construction stages in Section 3.2. Mining turns existing tasks into reusable local patterns and global structures; composition combines them into new task graphs; instantiation specifies executable tasks in supported environments. Corpus statistics and comparison-specific candidate limits appear in Appendices B and G; validation results appear in Appendix D.
F.1 Dependency-aware Task Structure Mining
Task graph abstraction. A task specification and its accompanying documents, data, or code supply the evidence for recursive decomposition. Starting from , the policy proposes child subtasks, each described by its goal, inputs, outputs, and shared-resource accesses . Review checks whether their outcomes cover the parent's objective, whether required external inputs and outputs are retained, and whether the children specify distinct local results. Recursion ends at a coherent local result or when no acceptable further decomposition is obtained within the attempt limit. The retained tree is , with leaf set .
We infer relations between leaf subtasks from their inputs, outputs, and resource accesses. An output used as another leaf's required input, or a write establishing its required resource condition, supports a directed dependency. Coupling identifies mutually consequential modifications to a shared resource; sharing a read-only document or using unrelated records in one application is insufficient. The graph carries directed edges and separate coupling annotations , following Equation 2. Relation records retain artifact or resource identity, access modes, and supporting task evidence. Checks verify that referenced subtasks and resources exist, linked interfaces are compatible, and directed dependencies are acyclic. The recorded evidence supports the inferred meaning of each relation.
Local collaboration patterns: subtask types. Cross-task matching first assigns leaf subtasks to types . Four distances compare objective semantics, interfaces, hierarchy context, and graph position. Semantic distance uses cosine dissimilarity of objective embeddings. Interface distance compares sets of input/output and resource-access descriptors using Jaccard dissimilarity. Hierarchy distance uses shared ancestry within a task; leaves from different task trees have no shared ancestry. Graph distance combines differences in structural position (such as source, sink, or fan-in), input/output behavior, and resource-access mode with normalized in/out-degree differences.
Let pool leaves from the mining tasks, with task indices distinguishing node identities. Let index these four distances , with fixed weights , and let be the candidate number of subtask types. We choose a set of representative leaves, or medoids, by minimizing weighted
distance:
(6)
For each candidate , we alternate nearest-medoid assignment and weighted medoid updates, retaining the lowest-cost fit across initializations. Each medoid defines a type , and every leaf receives its nearest medoid's type. The factor gives each task equal total weight. For each type, we retain observed input/output descriptors and resource-access modes for later compatibility checks.
We select k by maximizing cohesion minus weighted instability and low-support penalties. Cohesion is the fractional reduction in weighted distance relative to a single-medoid fit. Instability is the fraction of originally co-clustered leaf pairs separated after refitting with one task omitted, averaged over refits. The low-support penalty is the fraction of clusters represented in fewer than two tasks. Table 16 gives the candidate range, penalty weights, and refit settings.
Local collaboration patterns: canonicalization and connections. We enumerate connected two- and three-leaf sets, using dependency edges and coupling annotations for connectivity. Each occurrence retains its type labels and pairwise relations. The encoding distinguishes direct dependencies, indirect precedence established by reachability, incomparable nodes, and coupling. Thus, two contributing nodes in a fork or join can remain incomparable while belonging to one connected pattern. Equation 3 gives the canonical encoding; identical encodings identify the same pattern type M regardless of node names.
Within a source task, two pattern occurrences can share leaf subtasks. We record their pattern types and and a mapping between the positions of the shared subtasks. The resulting rule identifies which nodes to merge when connecting these pattern types. For example, attaching a three-node pattern through one shared position introduces two new nodes. Each pattern and rule stores its supporting-task set; repeated occurrences within one task count once toward support. Both patterns and rules must meet their distinct-task support thresholds; a retained rule connects retained pattern types.
Global task structures and boundary mappings. For an internal node of the task tree , let be its descendant leaves. Each child of defines a group, and these groups partition . Contracting each child group gives : a directed coarse edge exists when a leaf dependency crosses the corresponding groups, and coupling is retained when a coupling annotation crosses them. Internal relations stay inside their groups. The whole-task structure is extracted at the root; non-root internal groups provide refinement templates. Coarse cycles are excluded.
A boundary records externally supplied inputs, outputs needed outside the group or by the task objective, and shared-resource accesses involving other groups. Boundary mappings identify which child produces an output and which children consume an input or access a resource. For example, if a group must supply a report, the mapping identifies the child that produces that report after the group is expanded. A refinement template stores both the child-group graph and these mappings, allowing later replacement without losing external connections. Subtasks that combine multiple upstream contributions and feed further work supply integration templates; compatible shared-resource accesses supply coupling templates. The grouping tree records containment throughout, while coarse graphs record interactions.
Category indexing and library outputs. Group categories connect global structures to local pattern selection: a group's function determines which category-indexed patterns can expand it. The category describes that function: foundation supplies shared prerequisites, capability produces a local work result, integrate combines constituent work, and deliver provides the final task output. The experimental libraries assign these categories using deterministic rules over group objectives, decomposition, and boundary connections. For example, a root-level group that combines multiple upstream contributions and has no downstream group is categorized as deliver. These group categories index local patterns separately from the leaf-subtask types .
A local occurrence is indexed under the smallest categorized tree group containing its leaves. We begin at their lowest common ancestor and move upward to the first categorized ancestor; occurrences with no categorized common ancestor are not in-
Algorithm 1 Extracting task structure libraries
Require: Tasks with accompanying materials Ensure: 1: 2: for each task do 3: 4: 5: if VALIDABSTRACTION() then 6: 7: end if 8: end for 9: Eq. 6 10: 11: Eq. 3 12: 13: 14: 15: 16: return
cluded in the category-indexed library. For each category , stores its retained pattern types and counts distinct supporting tasks. The local library contains these indexed patterns, type interfaces, and overlap rules; the global library contains coarse graphs, boundaries, and composition templates. These outputs form .
Algorithm 1 summarizes this data flow. The retained abstractions form ; stores subtask types and their interfaces, and is the type assigned to leaf . retains pattern occurrences with their task identities and node mappings, while stores overlap rules. FILTER applies the distinct-task support thresholds to patterns and rules. COARSEN extracts the global structures, boundaries, templates, and group categories described above; INDEX uses these categories to assemble .
F.2 Coarse-to-fine Task Composition
Global structure composition. We initialize a whole-task coarse graph from with its grouping tree, boundary interfaces, and categories. We assign fresh identifiers to groups and resources while retaining their types and internal correspondences. Refinement substitutes a group's stored child graph and reconnects its external interfaces through the boundary mapping. The replaced group becomes an internal tree node. Integration inserts a group consuming multiple upstream contributions and makes its output available to subsequent work. Coupling binds compatible accesses to a shared resource. Integration groups belong to the grouping tree, but dependency and coupling relations belong to the coarse graph, not to tree edges.
Let be the current structure. Valid one-step candidates preserve inter-faces, resource-access compatibility, acyclicity, and the correspondence between terminal groups and coarse nodes. A template already applied in the current composition is not reused. For requested statistic intervals , positive weights , and statistics , target deviation is
Each term is zero inside its requested interval and otherwise measures distance to the nearest bound. Group and integration counts are measured on the coarse graph; their experimental definitions appear in Appendix G.3.4. At step , is the current structure. A nonnegative penalty favors unused template sources and discourages refinements with no internal bindings. We propose
Ties are broken uniformly at random. We set only when . Search stops when the targets are met, no candidate has positive penalized gain, or the operation limit is reached. An output outside required intervals is rejected. The resulting retains each terminal group's category, boundary, and local size target.
Algorithm 2 gives the composition procedure, with global updates, local attempts, and expansion steps per attempt. INITIALIZE draws the starting structure from . APPLY accepts a proposal and records its template and source for subsequent candidate filtering and penalties. EXPAND is detailed in Algorithm 3; pruning, boundary binding, and final checks follow the assembly procedure below. A failed construction returns .
Local pattern composition. For a terminal group of category , we draw a size-compatible seed from using Equation 4, renormalized over eligible candidates. Interface coverage is checked over the growing group, so several patterns can jointly supply its required inputs, outputs, and resource accesses. A group with a single-subtask target uses a subtask type observed in that category, preferring one that covers its boundary.
For larger groups, we retain each placed pattern instance and its mapping from pattern positions to graph nodes. At each step, we uniformly select an instance with at least one eligible extension. Let M be its pattern type, the stored extensions
Algorithm 2 Composing and assembling a task graph
Require: ; target intervals; limits
Ensure: or
1:
2: for do
3: if then break
4:
5: if then break
6:
7: if then break
8:
9: end for
10: if then return
11:
12: for each terminal group in do
13:
14:
15: end for
16:
17:
18: if then return
19: return
, and their distinct-task support. Conditional on this selected instance, the extension prior is
where smooths the counts. Eligible extensions must belong to category 's retained pattern library, introduce new nodes, preserve shared-node types, stay within the size limit, and avoid directed cycles. We renormalize the prior over extensions eligible for the selected instance. Thus, an instance with more stored rules is not automatically more likely to be selected.
An attachment uses to map positions in the new pattern to existing nodes, then adds its remaining nodes, direct dependencies, and coupling annotations. The new instance joins the set eligible for subsequent extensions. Indirect precedence describes reachability in the source pattern; it is not copied as an additional direct edge. In the composed graph, precedence follows the assembled dependency paths.
Expansion stops when the local size target and interface coverage are reached, no eligible extension remains, or the step limit is reached. An unsuccessful attempt can restart from another seed within the attempt limit. The resulting is then pruned and assembled; interface coverage and the requested graph-size requirements are checked on the resulting graph. Sampling uses distinct-task support without interface-coverage reweighting in
Algorithm 3 Local pattern expansion: EXPAND
Require: Group ; local library ; limits Ensure: Local graph 1: if then return SINGLETON 2: for do 3: 4: for do 5: if and COVERED() then 6: break 7: end if 8: 9: 10: if then break 11: 12: 13: 14: end for 15: if COVERED() then break 16: end for 17: return
the controlled experiments (Appendix G.3.4).
In Algorithm 3, is the group's local size target, its node set, and its placed pattern instances. Instance has pattern type and a position-to-node mapping. ELIGIBLE returns its available extensions under the conditions above; SAMPLE renormalizes the prior over this set. ATTACH merges shared positions, inserts new nodes and relations, and records the new instance. COVERED tests the growing graph against boundary . Each attempt starts with SEED, which uses Equation 4. Without an eligible seed, it returns the category's most frequent typed node with . For a single-subtask target, SINGLETON prefers a boundary-compatible type as described above.
Interface-constrained graph assembly. Before assigning interfaces, we prune each multi-node local graph around candidate boundary nodes and their dependency predecessors. Boundary nodes are selected for required inputs, outputs, or resource accesses; groups without an output boundary also retain local sinks. When these anchors can be identified, we retain them and their dependency predecessors. Single-node groups are retained as units.
Boundary assignment then turns coarse relations into concrete leaf-level bindings. For every required output, we select a compatible producer in . Required inputs are assigned to compatible consumers and linked to a producer or environmental supply. Shared-resource ports retain each participating node's read/write mode and require a writer where mutable state is involved. Compatibility is checked against the input/output types and resource-access modes stored in .
A cross-group dependency binds the upstream output to the downstream input, creating an explicit artifact relation between their assigned nodes. Shared-resource bindings align resource identity and access modes across groups, and local coupling annotations receive compatible resource accesses. These bindings can have multiple consumers or participants, so a group boundary need not map to a single node. Internal relations remain in the local graphs.
After binding, isolated nodes without an interface assignment are removed from multi-node groups. Size, boundary coverage, resource compatibility, and dependency acyclicity are then checked on the assembled graph . Retaining a node through a dependency path does not require it to carry its own explicit artifact or resource binding. The resource-backed acceptance criterion counts only nodes with such bindings toward its work minimum; the stricter all-subtasks variant requires every node to qualify (Appendix G.3.4). The grouping tree is retained separately. Settings and comparison-specific candidate restrictions appear in Appendix G.3.4.
F.3 Environment-grounded Task Instantiation
Scenario refinement and task packaging. Given , refinement specifies concrete work in an environment with suitable entities, artifacts, and permitted operations. Objectives and resource conditions are adapted to the available application records or project interfaces; work may be merged, split, or rearranged. Business scenarios record these requirements in mechanism specifications: descriptions of the entities, required work results, dependencies between results, and constraints on shared resources. Software tasks specify them through project requirements, public interfaces, and expected artifacts.
The output follows Equation 5: a description , initial environment , and verifier . The task description states requested outcomes, constraints, and available evidence. Initial records or project files supply the starting resources and existing behavior. Private verification materials remain outside the solver workspace. The task package brings together these components and the permitted operations.
Outcome checks. Business checks inspect actual application records and designated result artifacts, including returned identifiers, dates, amounts, assignments, and applicable joint constraints. Software checks evaluate delivered implementations against required behavior and interfaces. Goal checks assess requested changes; preservation checks compare protected records or required existing behavior with the starting state. The verifier reports goal decisions and complete resolution, with the score definitions in Appendix G.2. It does not require a prescribed action sequence.
Validation of task packages. We review the correspondence between public requirements, available operations, and outcome checks, then test loading, reset, and grading in the packaged environment. Business reference solutions use public tools from the initial state and export their results for grading; software reference implementations are built and evaluated with the complete task grader. Constructed alternatives and violations test scoring decisions. Appendix D details the review, reference results for all 48 tasks, and controlled scoring tests.
G Experimental Details
G.1 Baseline Implementation
We adapt the four baselines to MAC-Bench’s terminal and application-tool interfaces. Agents within each run share the environment and backbone; each system retains its own organization and coordination mechanism.
ReAct. ReAct (Yao et al., 2023) uses one persistent decision–tool loop, with earlier interactions summarized to support long episodes.
AOrchestra. AOrchestra (Ruan et al., 2026) retains its coordinator, delegated ReAct workers, and delegation history. Delegation is sequential; workers receive fresh contexts while accessing the shared task environment.
Meta-Team. Meta-Team (Hao et al., 2026) uses planner, developer, and reviewer for software tasks, and a chairman with three workers for business tasks. Members maintain separate histories, and test-time reflection is disabled.
Magnetic-One. Magnetic-One (Fourney et al., 2024) retains task/progress ledgers, speaker selection, and stall-triggered replanning. Its software team comprises FileSurfer, Coder, and the non-model ComputerTerminal; its business team comprises Operator, Analyst, and Reviewer. Tool access is redirected to the task’s permitted operations.
| Method | Temperature | Max. output tokens |
|---|---|---|
| ReAct | 0.0 | 8,192 |
| AOrchestra | 0.2 | 8,192 |
| Meta-Team | 0.2 | 32,768 |
| Magnetic-One | 0.2 | 8,192 |
Table 13: Standard model-call decoding parameters, shared by both backbones.
| Control | Setting |
|---|---|
| AOrchestra | |
| Delegation | Sequential |
| Coordinator-attempt limit | 3,000 |
| Worker-step limit | 50 |
| Worker memory / recent records | 10 / 3 |
| Meta-Team | |
| Member-step limit | 3,000 |
| Test-time reflection | Disabled |
| Magnetic-One | |
| Orchestrator-turn limit | 3,000 |
| Stall threshold | 3 |
| Worker tool iterations per turn | 10 |
Table 14: Method-specific controls, shared by both backbones. Shared episode limits also apply.
G.2 Evaluation Settings and Metrics
Shared evaluation conditions. Each system–backbone–task combination is evaluated once from a reset environment with the same public instructions and permitted tools. Construction graphs, reference artifacts, and private verification materials are hidden. Development tasks support adaptation and budget selection before testing.
Task-specific token caps are assigned in advance and shared across systems and backbones: three tasks use 5M tokens, eleven use 10M, and thirty-four use 15M. Coordinator, worker, and summary calls count toward the same cap, including the full usage of an admitted final call. The wall-clock limit is four hours.
Model and context settings. GPT-6 Luna and DeepSeek-Flash each supply all generative roles within their corresponding runs. Both backbones use the same per-method decoding, context-management, and execution settings, with thinking disabled (Tables 13 and 14). ReAct and Magnetic-One use rolling summaries, with a 131,072-token request limit, a 64,000-token input target, and a 12,288-token summary-output limit. They retain five recent turns and 20,000 recent tokens. AOrchestra summarizes at ten worker records and keeps the three most recent.
Output-truncation recovery allows up to two ad-ditional calls. Regeneration can double the output limit up to 32,768 tokens for ReAct, AOrchestra, and Magentic-One, or 65,536 for Meta-Team. Recovery calls count toward the episode budget.
Scoring and resource accounting. Each required task goal is represented by a group of outcome checks. A goal is achieved only when all required checks in its group pass. Let be these goal groups for task and let indicate that group passes. For evaluated tasks, we report a task-normalized Progress Score and the fraction of fully resolved tasks:
Here is the task's resolved flag. The evaluator's goal-completion fraction supplies ; the resolved flag additionally reflects the task's complete acceptance conditions, including preservation checks where applicable. We average PS across tasks and express both metrics as percentages. Business operations goal groups concern required native-state outcomes; Software Engineering groups concern the delivered project behavior and required checks. Fine-grained verifier checks support the goal decisions rather than being pooled across tasks as independent samples.
Construction and development costs are separate from task-solving costs.
G.3 Analysis Protocols
The task-level performance, resource-use, and collaboration analyses use the DeepSeek-Flash runs: 48 tasks per system for performance and resource use, and nine business tasks across four systems (36 episodes) for relation and contributor analysis.
G.3.1 Preliminary Study
We uniformly sample 50 tasks from each of GAIA 2023 validation, SWE-bench Verified, and Terminal-Bench 2.0 using seed 42. Inputs include task instructions and available attachments or starter files, excluding reference answers, private tests, and execution traces. Repository and attachment excerpts have bounded text budgets.
A substantial branch pursues a separately checkable result and can make progress before exchanging intermediate outputs. Lookup steps and serial
| Task | Dependencies | Shared | Budget |
|---|---|---|---|
| Exhibition recovery | 1 | 0 | 15 |
| Anthology release | 2 | 0 | 15 |
| Radio release | 2 | 0 | 15 |
| Conservation programme | 2 | 1 | 15 |
| Membership renewal | 1 | 0 | 15 |
| Housing handover | 1 | 1 | 10 |
| Student support | 2 | 2 | 15 |
| Volunteer training | 1 | 0 | 15 |
| Market permits | 2 | 2 | 10 |
| Total | 14 | 6 |
Table 15: Tasks and relation checks in the collaboration analysis. Shared-resource checks include constraints among allocations within a work group. Budgets are in millions of tokens.
stages of a single repair are not separate branches. Interdependence requires an output dependency, consequential interface requirement, or shared-resource interaction; a common input alone is insufficient. The categories distinguish primarily serial work, independent branches, interdependent branches, shared-state coupling, and unresolved cases.
DeepSeek-Flash at temperature zero proposes structures. GPT-6 Astra High then reviews the task evidence and revises 52 of 150 labels. Both stages use the supplied task materials. Final counts for serial work, independent branches, interdependent branches, shared-state coupling, and unresolved cases are (49, 1, 0, 0, 0) for GAIA, (49, 0, 0, 0, 1) for SWE-bench Verified, and (37, 1, 11, 0, 1) for Terminal-Bench. The two unresolved cases remain in the reported distribution.
G.3.2 Collaboration Analysis
We assess delivered results using fourteen dependency checks and six shared-resource checks (Table 15), then use execution traces to identify how agents divide and coordinate the related work.
Relation assessment. For each dependency, we identify the upstream and downstream work and compare their corresponding outputs. In the volunteer-training task (Service Management), bookings and calendar entries must refer to the same training sessions. We match these records by volunteer identity and compare their dates. Matching dates are satisfied; different dates are inconsistent; missing required records are unavailable; and records whose correspondence cannot be resolved are unassessable. Shared-resource checks apply the same categories to joint constraints: complete arrangements are satisfied when they can coexist, and inconsistent when they conflict, such as overlapping use of the same equipment. Each check covers the people, activities, or allocations specified by the task, including those with missing results.
Relation outcomes. For each check, we compute the fractions of task-specified objects in the four outcome categories. We average these fractions over checks within each task, then across tasks, giving each task equal weight. Figure 4 reports dependencies over nine tasks and shared-resource constraints over four. Across the four systems, the analysis comprises 3,504 object-level checks.
Agent contributions and coordination. Delegations, messages, and successful writes identify the contributors to each side of a task relation. Different single contributors indicate across-agent handling; the same contributor indicates same-agent handling. Multiple contributors indicate joint or changed authorship. For results stored together in a document, attribution follows that document's successful writers. Figure 9 retains every dependency outcome, including incomplete results and mixed attribution. Its stars identify the six relations with complete outcome evidence and distinct contributors on both sides for every item.
Availability and subsequent changes. For Figure 9, we split unavailable outcomes into upstream-only, downstream-only, and neither-side availability. Availability means that the required records and fields can be matched for the relation check; it does not require the whole branch to pass its goal verifier. Initial records participate in the comparison alongside records created during execution. The fourteen checks cover 710 items per system, or 2,840 object-level comparisons in total.
For the six starred relations, we reconstruct relevant record changes from the initial snapshot and successful tool calls, retrieving full saved responses when event logs contain shortened responses. We apply changes in recorded completion order and compare the same objects at each step. The first comparable state is the earliest state at which every object has both sides available. Table 7 reports inconsistent objects at that point and at termination. Reconstructed final outcomes match the archived relation checks for every object.
| Setting | Value |
|---|---|
| Objective embedding model | BAAI/bge-m3 |
| Semantic / interface weights | 0.45 / 0.25 |
| Hierarchy / graph weights | 0.15 / 0.15 |
| Candidate subtask-type counts | 8–20 |
| Initializations / maximum iterations | 5 / 25 |
| Stability refits | 4 |
| Instability / low-support penalties | 0.35 / 0.40 |
| Minimum distinct-task support | 2 |
Table 16: Parameters for structure extraction. Distance weights follow Equation 6.
G.3.3 Held-out Structure Reuse
We test whether extracted patterns and connecting rules match work structures in tasks excluded from mining. The 150-task corpus is divided into 100 mining tasks and 50 held-out tasks with 65 and 34 disjoint source groups. Tasks from the same repository or original case, and identical normalized specifications, remain together. Source counts appear in Table 5.
Ten source-stratified nested sequences use mining sizes 10, 25, 50, 75, and 100. Types, patterns, and connecting rules are extracted for each subset, yielding 41 distinct libraries and one shared full-corpus endpoint. Held-out leaves are assigned to the types extracted from that subset. Patterns and rules require support from at least two mining tasks.
A held-out pattern matches when its canonical encoding has the same subtask types and dependency and coupling relations as a library pattern. A connecting rule matches when the two pattern types and the mapping between their shared subtasks agree. For each measure, we divide matching occurrences by all corresponding occurrences within each held-out task, then average across the 50 tasks. Curve bands are minimum-maximum ranges across mining subsets. Bootstrap intervals use 2,000 resamples of the 34 held-out source groups, preserving within-group dependence.
Extraction settings. Extraction follows Appendix F; its parameters are collected in Table 16.
G.3.4 Controlled Graph Composition
We compare generators under shared structural targets and acceptance checks. The comparison uses the 100-task libraries, excluding held-out tasks. Table 17 distinguishes extracted structures from the bounded candidates shared by the generators. We retain 150 local pattern types ranked by the number of supporting mining tasks. For global structures
| Component | Extracted | Shared candidates |
|---|---|---|
| Local structures | ||
| Subtask types | 14 | 14 |
| Local patterns | 300 | 150 |
| Attachment rules | 7,900 | 194 |
| Global structures | ||
| Global structures | 100 | 24 |
| Refinement rules | 288 | 60 |
| Integration templates | 252 | 24 |
| Coupling templates | 4 | 4 |
Table 17: Sizes of extracted structure libraries and shared candidates for controlled generation.
and templates, we cycle through the six source collections, taking one candidate from each available collection per round until the limits in the table are reached. Attachment rules connect the retained pattern types. Pattern and attachment probabilities use unit smoothing; interface-coverage reweighting is disabled.
Targets and generators. Each condition has 60 requests per scale, with seeds 41, 53, and 67 contributing twenty requests each. Smaller graphs require 7–11 terminal groups and 2–4 integration groups; larger graphs require 14–18 and 4–6. Integration counts non-delivery groups receiving contributions from at least two distinct upstream groups. The source maximum is eleven terminal groups, so fixed-global generation has no eligible larger-scale source.
Programmatic composition uses at most six global operations, six local attempts, and 24 attachment steps, allowing local expansion to exceed a group's target by at most two leaf subtasks. Direct LLM generation uses DeepSeek-Flash at temperature 0.5, a 32,768-token completion limit, and one call per request without repair. It receives the shared library, schema, targets, resource criteria, and two mining-side format demonstrations. The demonstrations specify the output format; one falls below the resource-supported work minima, which are stated explicitly in the request.
Comparisons and sensitivity. The target-deviation weights are 1 for group count and 2 for integration count. Candidate penalties add 2 for reusing a source task and 1 for reusing a source collection; a refinement into at least three children without an integration group adds 0.75 when its collection has already been used. A refinement with no internal bindings adds 0.25. Reuse is measured over previously applied templates in the same composition.
The unguided variant removes target-directed selection and stopping while retaining the local routine. Operation-cap analysis uses 0, 2, 4, 6, and 8 operations on paired initializations and local random streams. Intervals use 2,000 request-bootstrap draws within seed blocks. Outputs at different caps are paired by request. Wilson intervals summarize proportions. Failed submissions remain in the denominator, including six transport failures and one truncated direct-generation response.
Structural acceptance criteria. All four criteria use schema and interface checks, acyclic dependencies, and the same terminal-group range. Let denote the terminal-group count. Common requirements include at least leaf subtasks, at least groups with multiple leaves, an explicit coupling, a resource shared across groups, and capability and delivery groups.
Initial. Count integration at non-delivery terminal groups with incoming bindings from at least two distinct upstream groups. This count must lie in the requested integration interval.
Resource-backed. Count a subtask toward the work minimum only when it participates in a compatible explicit artifact dependency or shared-resource access. A shared resource requires at least two participating nodes and a writer; cross-group artifacts require a matching typed boundary binding. At least subtasks and groups with two such subtasks must qualify. Integration is counted from artifacts supplied by distinct upstream groups, using the same requested interval and excluding delivery groups.
With delivery. Apply the resource-backed criterion but include delivery groups in the integration count. The upper and lower integration bounds remain unchanged, so an added delivery group can push an output above the upper bound.
All subtasks. Apply the resource-backed criterion and additionally require every leaf subtask to qualify. Figure 14 compares all four criteria on the same generated outputs.
H Case Study
The relation statistics in RQ2 show whether connected results are available and consistent. The cases below trace how agents assign the corresponding work, exchange outputs, and respond to execution feedback. Tables 18, 19, and 20 align episodes
| Task. Restore a Python build frontend. Its CLI must invoke the build engine and isolated environment to produce build artifacts. | ||
|---|---|---|
| Time | Actor / event | Selected trajectory excerpt |
| 4:15 | Developer / edit | Patches _builder.py, including backend validation and exception handling, then runs component tests. |
| 4:18 | Tool / result | env.py:59: NotImplementedError: Implement capability: DefaultIsolatedEnv.__init__ |
| 4:37 | Planner → developer | "I (planner) am taking src/build/__main__.py — do NOT edit it. You own src/build/env.py and src/build/_builder.py. Focus on env.py first" |
| 5:03 | Planner / edit | Writes the CLI, including from .env import DefaultIsolatedEnv and with DefaultIsolatedEnv(installer=installer) as env::. |
| 5:06 | Tool / local test | 3 passed in 0.03s (CLI helper and module tests). |
| 5:25 | Tool / broader test | FAILED tests/test_main.py::test_build_isolated[False] - NotImplementedError29 failed, 14 passed, 1 warning in 1.38s |
| 5:39 | Planner / repair | Changes the default output-directory handling in the CLI and reruns argument-parsing tests. |
| 5:42 | Tool / local retest | 13 passed, 1 warning in 0.06s (argument-parsing tests). |
| Final evaluation. Project, hooks, and artifacts pass; isolation and CLI fail. 3/5 goals completed; task unresolved. | ||
Table 18: Chronological excerpts from a Meta-Team build-tool episode. Times are elapsed minutes and seconds. Message, code, and tool-output fragments reproduce the record; edit descriptions summarize operations. The final row reports complete task grading after the episode.
from the three multi-agent baselines with their task requirements and final checks.
An upstream dependency remains incomplete. In the build-frontend task, the CLI depends on an isolated environment to execute builds (Table 18). Meta-Team assigns the CLI to its planner and the environment to its developer. The developer's test exposes an unimplemented environment constructor, but the planner subsequently writes a CLI that calls it. Local CLI tests pass, while broader tests expose the unresolved dependency. A later argument-parsing repair improves local test results without completing the environment. Final evaluation reports failures in isolation and CLI, with the latter also affected by a separate backend-import failure.
Consistency across outputs. The volunteer case in the main text provides a complementary example. In its 15M-token Meta-Team episode, worker-b handles bookings and worker-a handles calendar participation. Corrections reduce mismatched dates from eleven to six, leaving 14 of 20 volunteer records consistent. Both outputs exist, but the required agreement is incomplete. By comparison, a conservation episode has matching calendar and staffing records across sixteen sessions created by separate workers under a shared coordinator. This episode provides a contrasting case in which separately produced outputs satisfy their shared scheduling requirement.
AOrchestra: transfer between delivered artifacts. Table 19 follows rights-register and transcript preparation by different workers. Both notes are created successfully. For SEG001, the transcript retains the embargo date but replaces the speaker label and source attribution. The final artifacts thus expose an incomplete dependency even though both deliverables are present.
Magnetic-One: execution feedback across specialized roles. Table 20 follows Coder's implementation through ComputerTerminal execution and feedback to the orchestrator. The orchestrator first addresses test-collection settings, then asks Coder to implement missing CLI attributes. The team uses the reported errors to direct repairs, but the CLI remains incomplete at termination. Both software excerpts use the same task and 5M-token limit.
I Prompts
Tables 21 and 22 present task abstraction and recursive decomposition; Table 23 presents scenario refinement and outcome requirement extraction. Table 24 contains the preliminary analysis template and the Direct LLM baseline for controlled graph composition. The templates summarize the instructions and output fields used at each stage. The Direct LLM configuration is detailed in Appendix G.3.4. In its output schema, roles assigns subtask types, partition maps subtasks to groups,
Task. Prepare a radio programme and corrected transcripts. Each transcript must retain the speaker label, attribution, and embargo specified for its segment.
| Time | Actor / event | Selected trajectory excerpt |
|---|---|---|
| 10:54 | Coordinator → worker-4 | Delegates the rights register: "Compute the correct rights manifest per task rules". |
| 13:22 | Worker-4 / write | Creates NCR RESULT rights. For SEG001: speaker_label: Contributor 01; attribution: Northbank source SEG001; embargo: 2027-04-19. |
| 13:24 | Tool / receipt | The rights-note creation succeeds. |
| 37:12 | Coordinator → worker-14 | Delegates transcripts with fields "speaker_label: exact allowed label" and "attribution: exact source attribution"; requests that both new notes be read back. |
| 40:16 | Worker-14 / write | Creates NCR RESULT transcripts. For SEG001: speaker_label: Presenter; attribution: Riverbend Voices archive; embargo: 2027-04-19. |
| 40:16 | Tool / receipt | The transcript-note creation succeeds. |
Final relation check. For SEG001, the embargo agrees, but the speaker label and attribution differ between registers. Both artifacts exist; the required transfer is incomplete.
Table 19: Chronological excerpts from an AOrchestra radio episode. Times are elapsed minutes and seconds. Short quotations reproduce instruction fragments; operation rows show selected fields. The relation check compares final artifacts, separately from tool-call success.
Task. Restore a Python build frontend with a working CLI, build engine, and isolated environment. The delivered components must support independent consumer execution.
| Time | Actor / event | Selected trajectory excerpt |
|---|---|---|
| 12:13 | Orchestrator → Coder | "Implement src/build/__main__.py in full" and "Emit each as one executable sh block for ComputerTerminal." |
| 12:25 | Coder / proposal | "I'll implement __main__.py in full"; returns a shell block writing the CLI and running tests. |
| 12:28 | Orchestrator → terminal | "Execute Coder's latest fenced sh block exactly as written" and report stdout/stderr. |
| 12:30 | Tool / test | ERROR collecting tests/test_main.py: the flaky marker is unregistered. Tests stop during collection. |
| 13:16 | Orchestrator → terminal | Relays a later Coder block registering the marker and rerunning the utility and CLI tests. |
| 13:17 | Tool / retest | registered flaky marker; then AttributeError: module 'build.__main__' has no attribute '_NO COLORS'. |
| 13:22 | Orchestrator → Coder | "find every module-level attribute it references on build.__main__ (starting with _NO COLORS) and implement them". |
Final evaluation. Project, hooks, artifacts, and isolation pass; CLI fails. 4/5 goals completed; task unresolved.
Table 20: Chronological excerpts from a Magentic-One build-tool episode. The Coder proposes code; ComputerTerminal executes it through the orchestrator. Message fragments reproduce the record, while descriptions summarize operations. Local test errors and final goal checks are reported separately.
values records produced and consumed artifacts, and states records shared-resource accesses.
J Extended Related Work
J.1 LLM-based Multi-Agent Systems
LLM-based MAS organize work through communication and specialized roles. CAMEL studies role-playing interactions, AutoGen provides configurable conversation patterns, and MetaGPT and ChatDev coordinate software design, implementation, and testing (Li et al., 2023a; Wu et al., 2023; Hong et al., 2023; Qian et al., 2024).
Automatic system design includes optimizing prompts and graph connections in GPTSwarm, generating communication topologies in G-Designer, and sampling query-dependent architectures in MaAS (Zhuge et al., 2024; Zhang et al., 2024a, 2025b; Feng et al., 2026). AFlow searches code-
| Root Task Abstraction |
|---|
| Task Definition: Convert the task specification into a structured description of its required outcomes and resource interfaces.Input: Task specification: {task_specification}; source materials: {source_materials}.Requirements:Identify the overall objective and the artifacts or information needed to accomplish it.Distinguish required inputs, produced outputs, and access to mutable state.Define observable acceptance criteria supported by the source materials.Output Format:{goal, consumes, produces, acceptance, accesses} |
Table 21: Prompt template for extracting task objectives, inputs, outputs, and resource accesses.
| Recursive Task Decomposition |
|---|
| Task Definition: Decompose the parent task into independently assignable subtasks with distinct local outcomes.Input: Parent task: {parent_task}; supporting evidence: {source_materials}.Requirements:Each child must have a coherent objective, explicit interfaces, and checkable acceptance criteria.Child outputs must jointly cover the parent objective and preserve its external interfaces.Reference existing resources consistently and identify the owner of each produced output.Keep routine implementation steps within a subtask. If no meaningful decomposition exists, return an empty child list.Output Format:{"children": [ |
Table 22: Prompt template for recursive task decomposition.
represented workflows using execution feedback (Zhang et al., 2024b). Recent work explores dynamic sub-agent creation, decentralized coordination, structural adaptation, and evolutionary design (Ruan et al., 2026; Yang et al., 2025b; Liu et al., 2026; Hu et al., 2026; Cao et al., 2026; Xiang et al., 2026). G-Memory and Meta-Team reuse collaboration experience and study team-level self-evolution (Zhang et al., 2025a; Hao et al., 2026). MAC-Bench evaluates such systems through tasks with interconnected work requirements.
J.2 General-Purpose Agent Benchmarks
General-purpose benchmarks assess agents through completed actions and outcomes in interactive environments. AgentBench spans multiple domains, while GAIA emphasizes reasoning, information gathering, and tool use (Liu et al., 2024; Mialon et al., 2024). SWE-bench, Terminal-Bench, and TravelPlanner focus on repository changes, terminal work, and constrained planning (Jimenez et al., 2024; Merrill et al., 2026; Xie et al., 2024a). WebArena and OSWorld extend evaluation to web and desktop interaction; AppWorld couples interactive coding with application-state verification (Zhou
et al., 2024; Xie et al., 2024b; Trivedi et al., 2024).
WorkArena++ constructs compositional knowledge-work tasks, and TheAgentCompany evaluates workplace activities involving websites, coding, and simulated coworkers (Boisvert et al., 2024; Xu et al., 2024a). -bench evaluates tool use and policy compliance during user interaction; -bench adds dual control of a shared environment (Yao et al., 2024; Barres et al., 2025). These settings extend evaluation to composed activities and interaction with users or coworkers.
J.3 Benchmarks for Multi-Agent Collaboration
Dedicated collaboration benchmarks vary the information and interaction conditions facing a team. COMMA uses complementary multimodal observations, SILO-BENCH distributes information across agents, and AgentsNet varies communication networks (Ossowski et al., 2025; Zhang et al., 2026; Grötschla et al., 2025). MASBench and PAC-Bench examine collaboration under partial observability and privacy constraints (Chu et al., 2026; Park et al., 2026). ProtocolBench and MAS-Orchestra study communication protocols and or-
| Scenario Refinement |
|---|
| Task Definition: Refine a task graph into a concrete scenario supported by the available environment.Input: Composed task graph: {task_graph}; environment capabilities: {environment_capabilities}; scenario context: {scenario_context}.Requirements:• Specify substantive work branches and their local outcomes.• Adapt the work to available entities, artifacts, and permitted operations.• Describe how outputs connect work in the resulting scenario.• Identify shared resources and consistency requirements between branches.• State initial conditions, constraints, and verifiable completion requirements.Output Format:Background and objective; facts and constraints; work branches; dependencies and shared resources; completion conditions. |
| Outcome Requirement Extraction |
|---|
| Task Definition: Extract verifiable acceptance requirements from the public task description.Input: Numbered task evidence: {task_description}.Requirements:• Associate each requirement with supporting task evidence.• Preserve quantities, dates, identity constraints, exceptions, and permitted choices.• Distinguish required changes from facts that must remain unchanged.• Group related requirements into outcome goals; accept alternative solutions that satisfy them.• Record unresolved ambiguities without inventing additional obligations.Output Format:{"clauses": [...], "goals": [...], "global_clause_ids": [...], "ambiguities": [...]} |
Table 23: Prompt templates for scenario refinement and extraction of outcome requirements.
chestration through controlled tasks (Du et al., 2026; Ke et al., 2026).
MultiAgentBench provides milestone-based evaluation of collaborative and competitive scenarios (Zhu et al., 2025). MAgIC and Collab-Overcooked examine social reasoning and cooperation in games (Xu et al., 2024b; Sun et al., 2025). TeamBench enforces planner, executor, and verifier roles (Kim et al., 2026); ALEM and AgentWorld study open-ended coordination and long-horizon collaboration (Tessera et al., 2026; Shu et al., 2026). MAC-Bench composes executable tasks with varied collaboration requirements while leaving agent roles and communication topologies open.
Analyses of coordination, failures, and agent scaling identify the importance of communication, specification, verification, and task-dependent organization (Agashe et al., 2025; Cemri et al., 2025; Kim et al., 2025). MASEval evaluates complete agentic systems, including orchestration and execution infrastructure (Emde et al., 2026). These studies motivate complementing task outcomes with process and resource measurements.
J.4 Task Structure and Environment Generation
AgentGen generates environments from domain text and evolves tasks within them (Hu et al., 2024). EnvScaler and ScaleEnv synthesize tool-interactive environments and tasks with programmatic validation (Song et al., 2026; Tu et al., 2026). SWE-smith modifies repositories to produce failures against existing tests (Yang et al., 2025a). MedAgentGym provides code-centric biomedical tasks, while Gym-Anything converts software into agent environments (Xu et al., 2026a; Aggarwal et al., 2026). Compositional construction also appears in WorkArena++ and the atomic task generator of -bench (Boisvert et al., 2024; Barres et al., 2025).
Task structure representations provide complementary foundations. Hierarchical task-network planning represents complex activities through decomposition (Erol et al., 1994); coordination theory and joint-action models describe dependencies and commitments (Malone and Crowston, 1994; Cohen and Levesque, 1991; Grosz and Kraus, 1996; Tambe, 1997). Network motifs characterize recurring local interaction structures (Milo et al., 2002). MAC-Bench mines reusable local patterns and global structures from selected tasks, composes them, and instantiated executable evaluation tasks.
Task Structure Analysis
Task Definition: Analyze the work structure supported by the task materials.
Input: Public task: {task_description}; available initial materials: {task_materials}.
Requirements:
-
Identify substantial branches with distinct local objectives and checkable results.
-
Distinguish separately progressable branches from sequential phases of one deliverable.
-
Identify consequential output dependencies and shared-state interactions; common inputs alone do not establish either.
-
Support judgments with cited evidence. Do not impose collaboration structure when the materials do not support it.
-
Retain unknown judgments where the available evidence is insufficient.
Output Format:
Branches and supporting evidence; dependency and coupling relations; progressability and interdependence judgments; remaining uncertainty.
Direct LLM Generation (Construction Baseline)
Task Definition: Generate a task graph in one response using the supplied task structure library and structural targets.
Input: Task structure library: {task_structure_library}; demonstrations: {examples}; structural targets: {targets}.
Requirements:
-
Construct the task hierarchy and the corresponding leaf-level dependency graph.
-
Satisfy the specified group-count, integration, and common structural requirements.
-
Use compatible subtask types and input/output and shared-resource interfaces.
-
Represent artifact handoffs through producer-consumer relationships and coupling through compatible shared-state bindings.
-
Ensure consistent references, complete interfaces, and acyclic directed dependencies.
Output Format:
{tree, bindings, roles, partition, dep, cpl, values, states, external_inputs}
Table 24: Prompt templates for preliminary task-structure analysis and the Direct LLM baseline in the graph-composition experiment.