mlsanityData to 24 Nov 2026

ReTrace: Distilling Tool-Using Agents into Planner-Free Workflows

arXiv 2611.14492 ↗Submitted 10 Nov 2026cs.AI cs.LG cs.MAcited by 0

New in LLM agents and tool use; no direction yet. LLM agents and tool use

Abstract (arXiv)

Business process automation runs the same Standard Operating Procedure (SOP) again and again on new inputs. Large Language Model (LLM) agents can follow an SOP written in natural language, but they call an LLM to choose every step of every run, which adds latency and cost at scale. We present ReTrace, which turns an SOP and a few logged agent runs into a reusable workflow in which code, not an LLM, selects the next step. The agent's reasoning, the explanation it writes with each tool call, often states why it took an action; the tool calls alone do not. ReTrace extracts the condition behind each step, merges these conditions across runs into a compact rule document, and generates an executable workflow from it. Only this last stage depends on the platform, so rule documents can be compiled for different orchestration platforms. On 79 procedures from our production platform, ReTrace workflows reach 93.8% completion, against 96.8% for the agent, at 24% lower cost per task. On τ2-Bench, they reach 75.8% task success (agent: 80.6%) and run in 1.3s instead of 170s; three rounds of repair on training failures lift k=2 workflows from 66.7% to 81.2%. On eight SOP-Bench procedures, ReTrace without repair trails few-shot generation (80.6% vs. 83.6%), but repair from labeled training failures lifts it to 87.8% at 0.40s per task, compared to 85.5% in 46.6s for the agent.

Key facts. No citing papers in the map yet (data through 24 Nov 2026). Builds on 24 of its 34 references that are in the map. Submitted 10 Nov 2026.

Builds on

24 of 34 references.

References · 24

  1. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 9,589
  2. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,765
  3. 2023Voyager: An Open-Ended Embodied Agent with Large Language Modelscited by 2,483
  4. 2023ExpeL: LLM Agents Are Experiential Learnerscited by 1,067
  5. 2023DSPy: Compiling Declarative Language Model Calls into Self-Improving Pipelinescited by 908
  6. 2025τ2-Bench: Evaluating Conversational Agents in a Dual-Control Environmentcited by 797
  7. 2023Language Agent Tree Search Unifies Reasoning Acting and Planning in Language Modelscited by 626
  8. 2024Automated Design of Agentic Systemscited by 507
  9. 2024AFlow: Automating Agentic Workflow Generationcited by 506
  10. 2024Agent Workflow Memorycited by 482
  11. 2025ReasoningBank: Scaling Agent Self-Evolving with Reasoning Memorycited by 356
  12. 2024TextGrad: Automatic "Differentiation" via Textcited by 307
12 more
  1. 2024Same Task, More Tokens: the Impact of Input Length on the Reasoning Performance of Large Language Modelscited by 171
  2. 2025Inducing Programmatic Skills for Agentic Taskscited by 127
  3. 2024Trace is the Next AutoDiff: Generative Optimization with Rich Feedback, Execution Traces, and LLMscited by 86
  4. 2025SOP-Bench: Complex Industrial SOPs for Evaluating LLM Agentscited by 30
  5. 2025SOPBench: Evaluating Language Agents at Following Standard Operating Procedures and Constraintscited by 28
  6. 2026Lifting Traces to Logic: Programmatic Skill Induction with Neuro-Symbolic Learning for Long-Horizon Agentic Taskscited by 19
  7. 2026SKILL-DISCO: Distilling and Compiling Agent Traces into Reusable Procedural Skillscited by 8
  8. 2026TraceCompiler: Skill-Guided Mining and Compilation of LLM Agent Traces into Mostly Deterministic Workflowscited by 8
  9. 2025SOP-Maze: Evaluating Large Language Models on Complicated Business Standard Operating Procedurescited by 6
  10. 2026Trace2Policy: From Expert Behavior Traces to Self-Evolving Decision Agentscited by 3
  11. 2026Program Learning with Verifiable Rewards: Distilling Expert Traces into Programscited by 2
  12. 2026STAGE: Stateful Translation to Agentic Graph Execution with Policy-Scoped Context and Deterministic Controlcited by 1

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026Beyond Generalist LLMs: Specialist Agentic Systems for Structured Code Workflow Execution
  2. 2025FlowAgent: Achieving Compliance and Flexibility for Workflow Agents
  3. 2025ReUseIt: Synthesizing Reusable AI Agent Workflows for Web Automation
  4. 2026FlowScout: From Execution Feedback to Reliable Tool-Using Agent Workflows
  5. 2026ClawTrace: Cost-Aware Tracing for LLM Agent Skill Distillation
  6. 2026Agent Architecture Cost-Success Trade-offs: A Controlled Evaluation across Enterprise-Style SOPs
  7. 2026COVENANT: Natural-Language Workflow Compilation for Aligned Agent Execution
  8. 2026Evaluating LLMs as Agentic Workflow Executors in Real-World Customer Support Skills