From Atomic Actions to Standard Operating Procedures: Iterative Tool Optimization for Self-Evolving LLM Agents

Haipeng Ding, Yuexiang Xie, Zhewei Wei, Yaliang Li, Bolin DingarXiv 2026

TL;DR

EvoSOP is a model-agnostic, non-parametric framework that enables LLM agents to self-evolve by synthesizing granular atomic actions into reusable, higher-order Standard Operating Procedures (SOPs). By iteratively constructing, merging, evaluating, and pruning these tools based on execution history, EvoSOP significantly boosts task success rates while minimizing reasoning overhead and context bloat.

What Problem Does This Paper Address?

Most current LLM agent frameworks rely on static toolsets composed of basic, low-level "atomic" actions (e.g., reading a file, making a single API call, or executing a single-turn search). When faced with complex, multi-step workflows, the agent is forced to plan out these fine-grained steps from scratch every single time. This approach leads to high cognitive and reasoning overhead, bloated context windows, and an increased risk of cascading errors over long horizons.

While some recent methods allow agents to dynamically create new tools on the fly, they typically treat tool addition as a one-time event. Without long-term management, the agent's toolkit quickly becomes bloated with redundant or suboptimal tools, introducing noise that degrades decision-making.

Methods

The authors introduce EvoSOP, a framework designed to mimic human hierarchical problem-solving by abstracting atomic actions into cohesive, high-level routines called Standard Operating Procedures (SOPs). EvoSOP operates as a continuous, non-parametric optimization loop consisting of four collaborative modules:

  1. CONSTRUCTOR: Analyzes successful execution trajectories to identify recurring action sequences. It then synthesizes these patterns into callable Python code complete with semantic schemas, embedding lightweight control logic (like conditional checks and error handling).
  2. MERGER: Acts as a structural optimizer. It scans newly generated SOPs within a training batch to identify functional overlaps and merges them into generalized, higher-order tools to prevent context bloating.
  3. EVALUATOR: Validates the updated toolset by deploying the agent to re-execute tasks within a real-world environment, generating fresh trajectories that reflect the actual utility of the evolved SOPs.
  4. REVIEWER: Functions as a critic that analyzes the evaluation logs. It categorizes tool invocations into states (such as Optimal Execution, Partial Utility, or Implementation Defect) and prunes low-utility or faulty tools.

To handle the stochastic nature of LLM behavior, EvoSOP uses a mini-batching training workflow and a checkpointing mechanism, ultimately selecting the toolset iteration that yields the highest training success rate.

Figure 1: The overall architecture of EVOSOP, illustrating the iterative tool optimization lifecycle. The framework employs four collaborative modules, including CONSTRUCTOR, MERGER, EVALUATOR, and REVIEWER.

Datasets

The framework was evaluated using the following benchmarks:

  • ACEBench (Agent-Multi-Step and Agent-Multi-Turn subsets): A tool-use-oriented benchmark designed to evaluate an agent's task-completion capabilities when equipped with various tools.
  • Tau2Bench (Telecom Solo subset): A highly challenging benchmark simulating conversational AI agent interactions, focusing on stateful transitions and phone network connection issue resolution.

Key Insights and Ideas

  • Symbolic Backpropagation: Rather than updating model weights via traditional gradient descent (parametric learning), EvoSOP performs structural optimization. It treats execution failures and inefficiencies as feedback to rewrite and refine the agent's available code blocks.
  • Pruning is as Critical as Creation: Simply expanding a toolset causes performance degradation due to context noise. Active lifecycle management—acting as a regularizer via merging and pruning—is essential to keep the toolset lean and powerful.
  • Reasoning Compression: Packaging multi-step workflows into higher-order SOPs drastically reduces the number of interaction rounds. This compression minimizes the risk of the agent losing focus during long-horizon trajectories.

Key Results

EvoSOP consistently outperformed base agent architectures (ReAct and DFSDT) as well as state-of-the-art tool-generation baselines (ASI and DRAFT) across multiple backbone models (GPT-4o, Gemini-3-Flash-Preview, and Qwen-Max).

  • Success Rate Improvements: On the ACEBench Multi-Step benchmark, EvoSOP improved GPT-4o ReAct's success rate from 80.8% to 84.2%. It also vastly outperformed the one-shot tool induction baseline, ASI, which suffered from brittle tool generation and dropped to 60.0%.
  • Interaction Reduction: As the iterative optimization progressed across epochs, the average number of reasoning rounds per task stabilized at a significantly lower level compared to the baseline, validating the "reasoning compression" hypothesis.
Figure 3: Performance of EVOSOP and its ablated vari- ants in dataset ACEBench.

Ablation studies highlighted that disabling the REVIEWER (the pruning mechanism) led to a severe drop in success rates, proving that unmanaged tool generation introduces critical decision-making noise.

Limitations and Future Work

  • Initial Fragility: Automatically synthesized SOPs can initially be prone to engineering defects or context-dependent logic, meaning the framework heavily relies on having a high-quality environment simulator during the evaluation phase to iron out bugs.
  • Inference Overhead During Optimization: The iterative loop of execution, evaluation, and reviewing requires a substantial number of LLM API calls during the training phase, which can be costly and time-consuming before the toolset stabilizes.
  • Future Directions: The authors suggest extending this iterative optimization paradigm to open-ended, multi-agent environments where multiple specialized agents can co-evolve shared toolsets.

Summary updated

BibTeX
@misc{ding2026from,
  author = {Haipeng Ding and Yuexiang Xie and Zhewei Wei and Yaliang Li and Bolin Ding},
  title = {{From Atomic Actions to Standard Operating Procedures: Iterative Tool Optimization for Self-Evolving LLM Agents}},
  year = {2026},
  eprint = {2607.07321},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2607.07321},
}
Figure