ReTrace: Distilling Tool-Using Agents into Planner-Free Workflows
Presents a novel method for optimizing agent workflows that reduces latency and cost while maintaining performance.
AI Summary
ReTrace converts LLM agent workflows into planner-free executable workflows that achieve 93.8% completion at 24% lower cost than traditional agent approaches.
Excerpt
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
