Is Bash All You Need? An Empirical Study of Tool Interfaces for Enterprise Digital Worker Agents
The standard way to give an agent capabilities is a catalog of typed functions with declared arguments — the shape most tool integrations ship in today. This study puts five interfaces head to head on 174 simulated office tasks and 480 professional-services tasks, across two frontier models: the typed catalog, the catalog plus a shell, a shell on its own, a shell that can save reusable scripts between tasks, and a sandboxed Python runtime allowed to call only the catalog. The shell on its own won on both quality and cost — 69.4% against 44.9% on the office tasks, at 264,000 tokens a task against 945,000 — and letting the agent build its own persistent tools on top of the shell added nothing measurable, a median of zero points on either benchmark. Before hand-authoring another tool schema, check whether the agent could reach the same system with a command instead; the authors' rule is a shell wherever you can isolate arbitrary execution, and the restricted runtime only where a fixed catalog is a compliance requirement.