Understanding and Optimizing Agentic Workflows via Shapley value
On the map: LLM agents and tool use → Software engineering coding agents
Abstract (arXiv)
Agentic workflows have become the dominant paradigm for building complex AI systems, orchestrating specialized components, such as planning, reasoning, action execution, and reflection, to tackle sophisticated real-world tasks. However, systematically analyzing and optimizing these workflows remains challenging due to intricate component interdependencies and the lack of principled attribution methods. In this work, we introduce ShapleyFlow, the first framework that employs cooperative game theory to analyze and optimize agentic workflows. By applying the Shapley value to evaluate all possible component configurations, ShapleyFlow enables fine-grained attribution of each component's contribution and facilitates the identification of task-specific optimal configurations. Through a constructed dataset evaluated across 7 scenarios, such as navigation, math and OS, we demonstrate 3 key contributions: (1) Theoretical Framework: a principled game-theoretic approach for the attribution of contributions in agentic workflows. (2) Optimal Workflow Discovery: ShapleyFlow identifies task-specific component configurations that consistently outperform workflows relying on a single LLM across all tested tasks. (3) Comprehensive Analysis: we construct and analyze over 1,500 tasks, providing actionable insights and design guidelines for optimizing workflows across multiple domains.
Key facts. Cited by 9 papers in the map (data through 7 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 8 of its 30 references that are in the map. First posted on arXiv 1 Feb 2025.
Builds on
8 of 30 references.
References · 8
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
- 2017A Unified Approach to Interpreting Model Predictionscited by 6,488
- 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,064
- 2024Chatbot Arena: An Open Platform for Evaluating LLMs by Human Preferencecited by 1,151
- 2019Data Shapley: Equitable Valuation of Data for Machine Learningcited by 617
- 2024shapiq: Shapley Interactions for Machine Learningcited by 42
- 2024MMAU: A Holistic Benchmark of Agent Capabilities Across Diverse Domainscited by 18
Built on by
Citing papers per year: 2025: 6; 2026: 3.
9 papers.
- 2025AgentNet: Decentralized Evolutionary Coordination for LLM-based Multi-Agent Systemscited by 86
- 2025A Survey of AI Agent Protocolscited by 77
- 2025Agent Exchange: Shaping the Future of AI Agent Economicscited by 15
- 2025Game Theory Meets Large Language Models: A Systematic Survey with Taxonomy and New Frontierscited by 14
- 2025Evolutionary Perspectives on the Evaluation of LLM-Based AI Agents: A Comprehensive Surveycited by 12
- 2025Who Gets the Reward & Who Gets the Blame? Evaluation-Aligned Training Signals for Multi-LLM Agentscited by 0
- 2026Towards Feedback-to-Plan Decisions for Self-Evolving LLM Agents in CUDA Kernel Generationcited by 0
- 2026DynaTree: Dynamic Agentic Retrieval Tree for Time-Sensitive News Retrievalcited by 0
- 2026Semantic Cooperative Games for Contribution Attribution in LLM-Based Multi-Agent Systemscited by 0
- 2026DynaTree: Dynamic Agentic Retrieval Tree for Time-Sensitive News Retrieval29 May 2026
- 2026Towards Feedback-to-Plan Decisions for Self-Evolving LLM Agents in CUDA Kernel Generation26 May 2026
- 2026Semantic Cooperative Games for Contribution Attribution in LLM-Based Multi-Agent Systems14 May 2026
- 2025Who Gets the Reward & Who Gets the Blame? Evaluation-Aligned Training Signals for Multi-LLM Agents11 Nov 2025
- 2025Agent Exchange: Shaping the Future of AI Agent Economics5 Jul 2025
- 2025Evolutionary Perspectives on the Evaluation of LLM-Based AI Agents: A Comprehensive Survey6 Jun 2025
- 2025A Survey of AI Agent Protocols23 Apr 2025
- 2025AgentNet: Decentralized Evolutionary Coordination for LLM-based Multi-Agent Systems1 Apr 2025
- 2025Game Theory Meets Large Language Models: A Systematic Survey with Taxonomy and New Frontiers13 Feb 2025
Similar, not cited
Close in wording, no citation either way
- 2025Orchestrating Human-AI Teams: The Manager Agent as a Unifying Research Challenge
- 2026Learning to Compose for Cross-domain Agentic Workflow Generation
- 2026Agentomics: Economic Foundations for the Valuation, Attribution, and Pricing of AI Agents in Human-AI Workflows
- 2026AgentXRay: White-Boxing Agentic Systems via Workflow Reconstruction
- 2026Optimizing Agentic Workflows using Meta-tools
- 2026SkillShapley: Boundary-Adaptive Shapley Valuation for Skill Step Attribution in LLM Agents
- 2025A Survey on Agent Workflow -- Status and Future
- 2026A Sober Look at Agentic Misalignment in Automated Workflows