# Dittany: Contribution-Guided Repair Framework for MAS Applications

DevFeed: [Dittany: Contribution-Guided Repair Framework for MAS Applications](<https://devfeed.tech/articles/dittany-contribution-guided-repair-framework-for-mas-applications-112685.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2610.42144>)

Author: Hanqi Sun, Yuchen Shao, Hanyi Si, Beibei Xu, Lisheng Wang, Chengcheng Wan

Published: 2026-11-02T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Software Engineering](<https://devfeed.tech/sources/arxiv-software-engineering.md>)

Topics: [hierarchical agent systems](<https://devfeed.tech/topics/hierarchical-agent-systems.md>), [Software Testing](<https://devfeed.tech/topics/software-testing.md>)

Tags: [ablation](<https://devfeed.tech/tags/ablation.md>), [applications](<https://devfeed.tech/tags/applications.md>), [contribution](<https://devfeed.tech/tags/contribution.md>), [cs-se](<https://devfeed.tech/tags/cs-se.md>), [framework](<https://devfeed.tech/tags/framework.md>), [graph](<https://devfeed.tech/tags/graph.md>), [llm](<https://devfeed.tech/tags/llm.md>), [mas](<https://devfeed.tech/tags/mas.md>), [multi-agent](<https://devfeed.tech/tags/multi-agent.md>), [multi-agent-system](<https://devfeed.tech/tags/multi-agent-system.md>), [native](<https://devfeed.tech/tags/native.md>), [recall](<https://devfeed.tech/tags/recall.md>), [recovery](<https://devfeed.tech/tags/recovery.md>), [reflexion](<https://devfeed.tech/tags/reflexion.md>), [repair](<https://devfeed.tech/tags/repair.md>), [requirements](<https://devfeed.tech/tags/requirements.md>), [results](<https://devfeed.tech/tags/results.md>), [revision](<https://devfeed.tech/tags/revision.md>), [rollback](<https://devfeed.tech/tags/rollback.md>), [runtime](<https://devfeed.tech/tags/runtime.md>), [scopes](<https://devfeed.tech/tags/scopes.md>)

## AI overview

Dittany repairs multi-agent system executions by mapping task requirements and method specifications to expected contributions, acceptance conditions, and dependencies. Runtime checks identify unmet conditions and reusable results. When existing inputs suffice, it corrects actions; when prerequisites or unfinished work must change, it performs graph-level recovery. Both scopes preserve validated contributions and check repaired outputs before reuse. Across 30 applications, six frameworks, and 9,000 tasks, Dittany reports 84.76% task accuracy and runtime-failure detection at 88.28% precision and 79.18% recall. Accuracy exceeds Native execution by 26.74 percentage points and the strongest of four recovery baselines by 21.28 points. Estimated token use is 17.92% above Native, but below Reflexion and Iterative Rollback by 24.19% and 13.05%, respectively. Combining repair scopes outperforms graph-level repair alone in accuracy and token use.

## Source excerpt

arXiv:2610.42144v1 Announce Type: new Abstract: LLM-based multi-agent system (MAS) applications can produce useful intermediate results while leaving task requirements unsatisfied. Repairing such executions requires identifying the work still needed and the completed results that can support it. We present \tool, a contribution-guided runtime repair framework for MAS applications. \tool derives expected contributions and acceptance conditions from task requirements and method specifications, and connects their dependencies in a contribution graph. Runtime checks locate unmet conditions and establish which results remain usable. These results guide action-level correction when available inputs suffice, or graph-level recovery when prerequisites or unfinished work need revision. Both repair scopes retain validated contributions and check repaired outputs before subsequent work uses them. We evaluate \tool on 30 applications across six MAS frameworks and 9,000 tasks. It detects runtime failures with 88.28\% precision and 79.18\% recall, and achieves 84.76\% task accuracy, improving over Native execution by 26.74 percentage points and the strongest of four recovery baselines by 21.28 points. Estimated deployment token consumption is 17.92\% above Native, but 24.19\% below Reflexion and 13.05\% below Iterative Rollback. Ablation results show that combining the two repair scopes achieves higher accuracy and lower token consumption than graph-level repair alone.