mlsanityData to 7 Oct 2026

Understanding and Optimizing Agentic Workflows via Shapley value

arXiv 2502.00510 ↗First posted 1 Feb 2025cs.AI cs.CLcited by 9

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

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
  3. 2017A Unified Approach to Interpreting Model Predictionscited by 6,488
  4. 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,064
  5. 2024Chatbot Arena: An Open Platform for Evaluating LLMs by Human Preferencecited by 1,151
  6. 2019Data Shapley: Equitable Valuation of Data for Machine Learningcited by 617
  7. 2024shapiq: Shapley Interactions for Machine Learningcited by 42
  8. 2024MMAU: A Holistic Benchmark of Agent Capabilities Across Diverse Domainscited by 18

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 6; 2026: 3.

9 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Orchestrating Human-AI Teams: The Manager Agent as a Unifying Research Challenge
  2. 2026Learning to Compose for Cross-domain Agentic Workflow Generation
  3. 2026Agentomics: Economic Foundations for the Valuation, Attribution, and Pricing of AI Agents in Human-AI Workflows
  4. 2026AgentXRay: White-Boxing Agentic Systems via Workflow Reconstruction
  5. 2026Optimizing Agentic Workflows using Meta-tools
  6. 2026SkillShapley: Boundary-Adaptive Shapley Valuation for Skill Step Attribution in LLM Agents
  7. 2025A Survey on Agent Workflow -- Status and Future
  8. 2026A Sober Look at Agentic Misalignment in Automated Workflows