cs.MANov 5, 2026

Divide, Diagnose, and Compose: Optimizing Agentic Pipelines and Harnesses

Authors: Divij Handa, Christopher Tensmeyer, Jihyung Kil, Vlad I. Morariu

Organizations: Arizona State University · Adobe

Abstract

Building agentic pipelines that achieve high task performance while keeping cost and latency low requires jointly optimizing heterogeneous and coupled design choices, including prompts, topology, model selection, and tool policies. Manually searching this combinatorial design space is expensive and time-consuming, while existing automated optimizers typically operate within a predefined subset of this space, modify the pipeline monolithically, or provide little structured evidence for pipeline changes. To mitigate these challenges, we introduce the Decomposed Credit-Assignment Framework (DeCAF), which adapts the design space to the given benchmark and pipeline, optimizes each dimension separately, and generates reasoning traces for every decision. Given a task specification, benchmark examples, and a seed pipeline, DeCAF identifies relevant optimization dimensions and generates diverse experimental hypotheses for each. Independent coding-agent sessions then optimize each dimension under a restricted edit scope, jointly evaluating performance, inference cost, and latency while recording all hypotheses, edits, and outcomes of each experiment. A final synthesis session combines compatible findings across all dimensions and uses a component-level trajectory evaluator, which derives role-specific rubrics from each agent's instructions, to localize underperforming components and guide cross-dimension revisions. Across a diverse suite of agentic benchmarks, DeCAF improves average task performance by 2.58 percentage points, while reducing inference cost by 4.30% and end-to-end latency by 42.45% compared to the best overall baseline.

Figures & tables

Appendix figures & tables6 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. AgentOpt v0.1 Technical Report: Client-Side Optimization for LLM-Based Agent

    Apr 7, 2026Wenyue Hua, Sripad Karne, Qian Xie +4LLM Agent Workflow OptimizationLLM Agent Efficiency

  2. TabAgent: Distilling LLM Agent Components into Cheap Classifiers

    Feb 18, 2026Ido Levy, Segev Shlomov, Avi Yaeli +5LLM Agent Workflow OptimizationAI Agent Architecture

  3. AgentRouter: Heterogeneous Model Routing for Cost-Optimal Multi-Step Agentic Workflows

    Sep 19, 2026Rudrendu Kumar Paul, Sourav NandyLLM Agent RoutingCost-Aware Inference