LLM-as-AgentCompiler: Towards an extremely easy paradigm for industry-level agent deployment
Anonymous authors
ICLR 2027
TL;DR. LLM-as-AgentCompiler identifies redundant LLM execution in agents and compiles it into deterministic workflows, reducing inference cost while maintaining accuracy and improving robustness to model downgrades.
Abstract. ReAct agents are increasingly deployed to translate LLM capabilities into real applications, but their deployment is limited by high cost and instability, as they are built for multi-turn user interaction rather than reliable, low-cost automation. Recent work compiles ReAct agents into cheaper, more stable workflows, but existing methods are often complex or domain-specific. We propose \emph{LLM-as-AgentCompiler}, a simple, general three-role agentic framework that uses coding agents to compile ReAct agents into cheaper, more stable workflows for high-throughput deployment. Evaluated on two benchmarks (six task domains) with no human supervision, it achieves roughly -- token reductions with no significant accuracy loss on five of six domains, plus one identified counterexample (retail under a weak residual model, which we analyze). We show that even a simple, pure-LLM framework with no expert priors can automatically (1) identify the deterministic decisions and computations in the memories, tools, and traces of ReAct agents across diverse domains, and (2) compile them into more static workflows with sparse, relaxed LLM nodes. We view LLM-as-AgentCompiler as an initial proof of concept toward this paradigm; establishing its generality on more open-ended domains remains future work.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
ICLR 2027
Desk rejected · OpenReview
Updated 24 Nov 2026, 17:19 UTC.
The venue hasn't published any reviews yet.
Loading the discussion…