AgentOpt v0.1 Technical Report: Client-Side Optimization for LLM-Based Agent
On the map: LLM agents and tool use → Software engineering coding agents
Abstract (arXiv)
AI agents are increasingly deployed in real-world applications, including systems such as Manus, OpenClaw, and coding agents. Existing research has primarily focused on server-side efficiency, proposing methods such as caching, speculative execution, traffic scheduling, and load balancing to reduce the cost of serving agentic workloads. However, as users increasingly construct agents by composing local tools, remote APIs, and diverse models, an equally important optimization problem arises on the client side. Client-side optimization asks how developers should allocate the resources available to them, including model choice, local tools, and API budget across pipeline stages, subject to application-specific quality, cost, and latency constraints. Because these objectives depend on the task and deployment setting, they cannot be determined by server-side systems alone. We introduce AgentOpt, the first framework-agnostic Python package for client-side agent optimization. We first study model selection, a high-impact optimization lever in multi-step agent pipelines. Given a pipeline and a small evaluation set, the goal is to find the most cost-effective assignment of models to pipeline roles. This problem is consequential in practice: at matched accuracy, the cost gap between the best and worst model combinations can reach 13-32x in our experiments. To efficiently explore the exponentially growing combination space, AgentOpt implements ten search algorithms, including UCB-E, UCB-E with Low-Rank Factorization, Arm Elimination, Epsilon-LUCB, Threshold Successive Elimination, and Bayesian Optimization. Across four benchmarks, UCB-E recovers near-optimal accuracy while reducing evaluation budget by 62-76% relative to brute-force search. Code and benchmark results available at https://agentoptimizer.github.io/agentopt/.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 43 of its 62 references that are in the map. First posted on arXiv 7 Apr 2026.
Builds on
43 of 62 references.
Closest ancestors · 10
Same direction, newest first
- 2026Chimera: Latency- and Performance-Aware Multi-agent Serving for Heterogeneous LLMs23 Mar
- 2026ThunderAgent: A Simple, Fast and Program-Aware Agentic Inference System14 Feb
- 2026SemanticALLI: Caching Reasoning, Not Just Responses, in Agentic Systems22 Jan
- 2025Continuum: Efficient and Robust Multi-Turn LLM Agent Scheduling with KV Cache Time-to-Live4 Nov
- 2025Speculative Actions: A Lossless Framework for Faster Agentic Systems5 Oct
- 2025On the Use of Agentic Coding Manifests: An Empirical Study of Claude Code18 Sep
- 2025Agentic Plan Caching: Test-Time Memory for Fast and Cost-Efficient LLM Agents17 Jun
- 2025Throughput-Optimal Scheduling Algorithms for LLM Inference and AI Agents10 Apr
- 2025Autellix: An Efficient Serving Engine for LLM Agents as General Programs19 Feb
- 2023AutoGen: Enabling Next-Gen LLM Applications via Multi-Agent Conversation16 Aug
Other references · 33
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,767
- 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,064
- 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,686
- 2023MetaGPT: Meta Programming for A Multi-Agent Collaborative Frameworkcited by 1,761
- 2023The Rise and Potential of Large Language Model Based Agents: A Surveycited by 1,422
- 2023SGLang: Efficient Execution of Structured Language Model Programscited by 1,107
- 2018A Tutorial on Bayesian Optimizationcited by 734
- 2016Hyperband: A Novel Bandit-Based Approach to Hyperparameter Optimizationcited by 688
- 2024RouteLLM: Learning to Route LLMs with Preference Datacited by 633
- 2019Introduction to Multi-Armed Banditscited by 475
- 2025Small Language Models are the Future of Agentic AIcited by 254
21 more
- 2024RouterBench: A Benchmark for Multi-LLM Routing Systemcited by 222
- 2015Non-stochastic Best Arm Identification and Hyperparameter Optimizationcited by 219
- 2024The Landscape of Emerging AI Agent Architectures for Reasoning, Planning, and Tool Calling: A Surveycited by 164
- 2023Unexpected Improvements to Expected Improvement for Bayesian Optimizationcited by 144
- 2024Parrot: Efficient Serving of LLM-based Applications with Semantic Variablecited by 96
- 2024AIOS: LLM Agent Operating Systemcited by 94
- 2026OpenClaw-RL: Train Any Agent Simply by Talkingcited by 83
- 2025Router-R1: Teaching LLMs Multi-Round Routing and Aggregation via Reinforcement Learningcited by 64
- 2014Algorithms for multi-armed bandit problemscited by 63
- 2025RouterEval: A Comprehensive Benchmark for Routing LLMs to Explore Model-level Scaling Up in LLMscited by 58
- 2025OmniRouter: Budget and Performance Controllable Multi-LLM Routingcited by 35
- 2024InferCept: Efficient Intercept Support for Augmented Large Language Model Inferencecited by 32
- 2024Agent AI with LangGraph: A Modular Framework for Enhancing Machine Translation Using Large Language Modelscited by 27
- 2026Don't Let the Claw Grip Your Hand: A Security Analysis and Defense Framework for OpenClawcited by 26
- 2025Leveraging Uncertainty Estimation for Efficient LLM Routingcited by 21
- 2024Interactive Speculative Planning: Enhance Agent Efficiency through Co-design of System and User Interfacecited by 15
- 2024On Speeding Up Language Model Evaluationcited by 14
- 2016On Sequential Elimination Algorithms for Best-Arm Identification in Multi-Armed Banditscited by 12
- 2025Dynamic Speculative Agent Planningcited by 10
- 2025Gradientsys: A Multi-Agent LLM Scheduler with ReAct Orchestrationcited by 7
- 2025Optimal Arm Elimination Algorithms for Combinatorial Banditscited by 3
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026ADK Arena: Evaluating Agent Development Kits via LLM-as-a-Developer
- 2026Specialize Roles, Mix Deployments: Pushing the Cost-Accuracy Frontier of LLM Agent Teams
- 2026A Lightweight Modular Framework for Constructing Autonomous Agents Driven by Large Language Models: Design, Implementation, and Applications in AgentForge
- 2026Pythia: Exploiting Workflow Predictability for Efficient Agent-Native LLM Serving
- 2026HarnessOpt-Bench: Evaluating LLMs at Harness Optimization
- 2026AgentFactory: Towards Automated Agentic System Design and Optimization
- 2026FormulaCode: Evaluating Agentic Optimization on Large Codebases
- 2026AgentHPOBench: A Benchmark For Evaluating LLM Agents as Sequential Hyperparameter Optimizers