potentialpaper

LLM-as-AgentCompiler: Towards an extremely easy paradigm for industry-level agent deployment

Anonymous authors

ICLR 2027

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

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 2×2\times--33×33\times 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 paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
18 Sep 2026ICLR 2027 (under review)submittedICLR 2027Desk rejectedreviews ↓[1]PDF[1]
Missing a version?

ICLR 2027

Desk rejected · OpenReview

Updated 24 Nov 2026, 17:19 UTC.

The venue hasn't published any reviews yet.

Missing a submission?

Loading the discussion…