ReTrace: Distilling Tool-Using Agents into Planner-Free Workflows
arXiv cs.AI · 11 Nov 2026, 04:49 AEST
ReTrace is a new approach that transforms Standard Operating Procedures into reusable workflows without relying on large language models for each step. This method significantly reduces costs and execution time while maintaining high completion rates.
Key facts
- 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.
Read aloud
ReTrace is a new approach that transforms Standard Operating Procedures into reusable workflows without relying on large language models for each step. This method significantly reduces costs and execution time while maintaining high completion rates. Business process automation runs the same Standard Operating Procedure SOP again and again on new inputs. Large Language Model L L M agents can follow an SOP written in natural language, but they call an L L M 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 L L M, 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.
Sources in this cluster
- ReTrace: Distilling Tool-Using Agents into Planner-Free Workflows
arXiv cs.AI · 11 Nov 2026, 04:49 AEST