Tool-Making and Self-Evolving LLM Agents in Low-Latency Systems
The paper presents a tool-making pipeline for production LLM agents that compiles repeated steps into validated, versioned tools before deployment, reducing latency and error rate.
Introduces a new approach for production LLM agents to create and use tools to perform repeated tasks, improving efficiency and reliability.
Keywords
Before reading this…
Applications
- →Fulfillment Center alarm-triage system
To understand this paper, make sure you know these concepts first:
- Understanding of production language models, tool-making, and system optimizationfind papers →
Abstract
More Like ThisProduction LLM agents often waste latency and reliability by regenerating code for the same procedural steps on every request. We replace this inference-time coding loop with an agentic tool-making pipeline that compiles repeated SOP steps into validated, versioned tools before deployment. The tool-maker grounds synthesis in the live environment as it collects execution traces, observes backend schemas and values, generates candidate tools, and repairs them against labeled cases. At runtime, the production agent calls these tools directly and falls back to code generation only when needed. We deploy the approach in a Fulfillment Center alarm-triage system, where an agent diagnoses alarms against a 44-node SOP over heterogeneous metric backends. In production, tool calls reduce p50 latency by 42%. On 1,500 historical alarms, they reduce end-to-end error rate by up to 53% by suppressing run-to-run variance in repeated steps. Because tools return compact structured verdicts, they also enable a simpler direct-call architecture, reducing p50 latency by a further 62% in a controlled ablation. Versioned tools also improve auditability and expose specification gaps and upstream data drift. Our results show that self-evolving agents can make industrial LLM systems faster, more reliable, and easier to operate.