Skip to content (access key 's')
Logo of Technion
Logo of CS Department
Events

The Taub Faculty of Computer Science Events and Talks

Narrower is Better: Task-Aware API Transpiling for Software Agents
event speaker icon
Ido Ram (M.Sc. Thesis Seminar)
event date icon
Sunday, 02.08.2026, 12:30
event location icon
Taub 9
event speaker icon
Advisor: Prof. Eran Yahav

Modern software engineering agents solve tasks by interleaving reasoning with API calls that observe and modify their environment. On long-horizon tasks this degrades performance: the context fills with API documentation, authentication flows, and parameter details, forcing the agent to interleave reasoning about the task with discovery of the interface used to solve it, a conflict that compounds into failure.

We introduce SCOPE, an approach that decouples task analysis from implementation by a method of API transpiling. A planner agent first reasons about the task in isolation, defines a focused set of environment interactions it requires, and transpiles the raw APIs into a compact, task-specific toolset, verifying each tool before handoff. A solver agent then operates over this narrowed
interface, free of extraneous API documentation and complicated workflows.

On the AppWorld Benchmark with Minimax-M2, SCOPE reaches 81% accuracy on test_normal, a 5-point gain over a vanilla ReAct baseline under identical conditions, and a 71% accuracy on test_challenge, a 6-point gain over the baseline, while shortening solver trajectories by 48% and collapsing the exposed API surface from 74 endpoints to 4 task-specific tools on average.