SAME CAPABILITIES. DIFFERENT INTERFACES.

Tool interfaces can
shape coding
agent behavior.

Consistency, exploration, and efficiency change
when we change how tools are organized.

A small interface change. A different way to work.

MEET THE SETUPS

One agent.
Four ways to act.

Search a repository. Inspect some code. Make a change.
Watch how the interface changes the way an agent gets there.

01 / THE MECHANISM · ATOMIC

Fewer broken edits.
Less time recovering.

Same model. Same bug.
One run gets caught repairing its edits.
The other makes the change and moves on.

Qwen3Coder-30BHaystack #8969

Keep the message’s name when converting it to a dictionary.

Loading the recorded executions…

A small edit. A long detour. Bash inserts code by line number, removes a method, and repeatedly encounters invalid Python. Atomic anchors its change to the existing code and preserves the name on its first source edit.

A selected pair of real runs. Atomic also encounters environment and test-helper errors; those remain visible. Final outcomes come from the benchmark evaluation.

How the runs were aligned and errors annotated

02 / THE MECHANISM · NL SEARCH

The fix was
in two places.

One setting. Two code paths.
Natural-language search surfaces
the branch the Bash run misses.

Sonnet 4.5Conan #17301

Make max_cpu_count=0 use all available CPUs.

Loading the recorded exploration…

Find it. Follow it. Fix it. The search subagent returns CMake’s use of the same setting. The agent then inspects that file, updates its logic, and tests it. Bash updates the direct MSBuild helper and leaves CMake untouched.

A selected example of effective exploration. The missed branch plausibly contributes to the outcome difference. This pair does not measure diversity across repeats or prove causation.

How this pair was selected and file access verified

02 / EXPLORATION · THE FILE SETS

What gets found.
What gets opened.

Two visited sets, starting empty.
Watch filenames become reads,
and reads become edits.

Loading file visits…

How file visits, openings, and edits were counted

03 / THE MECHANISM · PYTHON

Same fix.
Fewer steps. Fewer tokens.

Both runs resolve the task.
Follow their shared milestones,
and the tokens spent getting there.

Loading recorded steps and token usage…

How milestones were aligned and tokens counted

THE INTERFACE MAKES A DIFFERENCE

Different tools.
Different behaviors.

The underlying capabilities stay similar.
The way agents use them does not.

CONSISTENCY · ATOMIC

4.7×

More consistent.

Structured, low-level tools improve consistency across repeated attempts by up to 4.7×.

EXPLORATION · NLSEARCH

>11%

More relevant code.

Natural-language search broadens exploration and increases access to relevant files by more than 11%.

EFFICIENCY · PYTHON

56.3%

Fewer tokens.

Python interfaces use 56.3% fewer tokens and 41.6% fewer steps, with similar task performance.

Highlights reported in the paper relative to BashOnly; effects vary by actor and task. The full study evaluates six architectures, three actor models, and 11,700 trajectories.

THE DEVIL IS IN THE INTERFACE

How an agent acts
starts with what it sees.

Six architectures. Three actor models.
11,700 trajectories of coding-agent behavior.

Explore the tool setups in Figure 2

The Devil Is in the Interface: Evaluating How Tool Architecture Shapes Coding Agent Behavior

Xiangzhe Xu · Hamidreza Saghir · Qianhui Wu · Marc-Alexandre Côté
Tong Wang · Kiran Lakkaraju · Kexin Pei · Xiangyu Zhang

Purdue University   /   Microsoft Research   /   The University of Chicago