Should SLMs be in the Driver's Seat? A Study of Local Models as Interpreters in Cloud-Written Agent Programs
- Source
- arxiv.org
- Author
- Boris Radovi\v{c}, Marco Canini, Veljko Pejovi\'c
- Date

Context
A small can help execute a cloud-written by interpreting information that appears only while the program runs. In this design, the cloud model writes the script; the script asks a local model bounded questions about selected data and receives structured answers. This fills a gap in code written before the underlying content is available. Execution design.
On AppWorld, the authors report improvements over code-only execution in all six tested model-and-task combinations, reaching 14.9 percentage points. The privacy is specific: execution data is processed locally, but the request and error traces can go to the cloud, and those traces can contain private data. The design assumes the initial request contains no private information. Evaluation and assumptions.
- Code-only agents fail because the cloud model writes the program before seeing any user data, so any step that depends on interpreting runtime content breaks. The hybrid defers those bounded questions to a local model.
- The improvement held in all six combinations of backbone model and AppWorld test partition the authors evaluated, peaking at 14.9 percentage points over the code-only agent.
- It narrows but does not close the gap: the authors say it recovers a substantial part of the distance to a cloud-hosted ReAct loop that reads user data directly.
- Open-weight model — A model whose trained weights can be downloaded and run outside the maker's hosted API.
- Program — A set of instructions stored so that a computer can run it.
- Boundary — A point in a program where one part finishes its job and hands its result to another.
- Function — A named block of instructions that takes inputs, called arguments, and hands back a result, called its return value.
articleWhy Better Models Can Create Riskier Systems: Evidence from LLM Agents in Financial MarketsJillian Ross, Eric So, Zoe De Simone, Charles Pozniak, Andrew W. Lo
articleCallability Is Not Operability: Controlled Interface Interventions for LLM AgentsZihao Wang
articleDo Agents Know When They Succeed? Calibrating Agent Confidence from Internal RepresentationsPriyanka Mary Mammen, Emil Joswin, Srujananjali Medicherla