Developers Weigh Compiling Agents vs. Orchestration
A new paper argues for compiling agentic workflows directly into model weights, challenging the dominance of external orchestration frameworks.
Agent orchestration frameworks like LangGraph, CrewAI, and Semantic Kernel have seen widespread adoption, collectively earning over 290,000 GitHub stars. These tools operate as external orchestrators, guiding a large language model through a task turn-by-turn. However, a May 26 paper from independent researchers argues this popular architecture has significant drawbacks in cost, latency, and intellectual property protection.
The alternative, which the paper calls a "subterranean agent," involves compiling the entire procedure into the weights of a smaller, fine-tuned model. This approach avoids repeated calls to a frontier model and keeps proprietary business logic out of third-party APIs. While prior work has demonstrated the technique's feasibility, the authors note that developer adoption has overwhelmingly favored orchestration.
The researchers identify and address three perceived barriers to adoption: the difficulty of creating compiled agents, their supposed lack of flexibility, and concerns about performance. By testing across three complex workflows—travel booking, Zoom support, and insurance claims—they demonstrate that compiled agents can achieve near-frontier quality at a fraction of the cost, suggesting a major architectural shift may be on the horizon for agentic systems.