Researchers say giving AI agents reusable 'primitives' helps them finish more real-world tasks
A new arXiv paper blames agent failures on the step from reaching a tool to using it well, and reports big benchmark gains from a fix called HEELO.
The short version
- On Terminal-Bench 4.0, Codex with GPT-5.6 Sol resolves 37.3% of tasks; Claude Code with Claude Opus 5 gets 51.8%.
- The authors call the failure point 'the last mile': moving from reaching a resource to applying it.
- A primitive bundles a resource with its own small LLM that knows how to use it and talks to other primitives.
- Dev-Primitives lifted Terminal-Bench 4.0 from 37.3% to 55.5% on the same backbone.
- On the authors' own 46-task platform, tasks completed rose from 9 to 39 and 35 with HEELO connected.
Why it matters
If the results hold up, better agent performance may come as much from how tools are packaged around a model as from a bigger model. For anyone relying on coding or task agents, that points to the surrounding setup as a lever. The evidence is still a first-version preprint, with the most striking test run on the authors' own platform.
The problem: the last mile
As arxiv.org reported in a new paper, even the strongest AI models, each paired with its maker's own agent software, still miss a lot of real-world work. On Terminal-Bench 4.0, a test of tasks done in a command-line environment, the GPT-5.6 Sol model running in Codex resolves 37.3% of tasks. Claude Opus 5 running in Claude Code resolves 51.8%.
The authors argue these failures cluster at one specific point. The agent can often get to the right resource, such as a tool, a website or a file system. What goes wrong is the next step, actually applying that resource to the job. They name this gap the last mile to the real world.
A harness, in this context, is the scaffolding wrapped around a model: the instructions, tools and loops that let it act rather than just chat.
What an agent-native primitive is
The paper says existing approaches make a resource reachable but leave the know-how for using it to whoever is calling. So every team building a harness ends up re-creating that know-how from scratch.
The authors' answer is the agent-native primitive: a reusable unit that pairs a resource with a resident language model. That built-in model's job is to apply the resource sensibly in context. Primitives can also communicate with one another.
Think of the difference between handing someone a power tool and handing them the tool along with a skilled assistant who knows how to use it and can coordinate with other assistants. The competence travels with the resource instead of being rebuilt each time.
How HEELO assembles and improves them
The team also built a framework called HEELO, which stands for Harness Engineering around Evolving Agent-Native Primitives for the Last Mile to Real-World Tasks. It builds a custom harness for each task from a library of primitives.
The process runs in four steps:
- It picks the primitives a task needs and links them into a task-specific graph.
- It checks the outcome against evidence from the environment.
- When something fails, it revises the primitives implicated in the failure.
- It admits new or improved primitives to the library only after validating them.
The library is therefore meant to grow and get better over time. The authors built eight families of primitives, each aimed at one kind of task, and tested them on more than twenty benchmarks.
What the numbers show
The headline gain comes from Dev-Primitives. With the same underlying model as the Codex setup, they raised Terminal-Bench 4.0 resolution from 37.3% to 55.5%. That result passes the 51.8% the paper lists for Claude Opus 5 with Claude Code.
Other families showed gains on other tests:
- Harness Primitives, composed per task, lifted Terminal-Bench 2.0 Pass@1 from 60.0% for the starting harness to 72.2%. Pass@1 is the share of tasks solved on the first try.
- Tool Primitives raised the ToolBench pass rate from 55.8% to 75.1%.
- Navigation Primitives raised GAIA-Text-103 accuracy from 45.6% to 58.3%.
The authors also ran 46 real-world tasks on their own platform, heelo.dev. Working alone, a Claude Code setup using Claude Opus 5.5 and a Codex setup using GPT-6.1 Sol each finished 9 tasks. Connected to HEELO through an MCP server, a kind of plug that lets assistants call outside tools, they finished 39 and 35 respectively.
The paper adds that time per completed task fell by factors of 1.9 and 2.3, and cost per completed task was 1.55 times lower.
How much to trust it
This is a first-version preprint, so other researchers have not yet reviewed it. The most dramatic comparison, 9 tasks versus 39 and 35, comes from a platform run by the same authors who built the framework. That does not make it wrong, but it is not an independent test.
The standard benchmark results are easier to compare, since Terminal-Bench, ToolBench and GAIA are used by many groups. Still, the source does not say how the baselines were tuned or how much effort went into the primitives themselves. Those details would affect how far the gains would carry to your own work.
The idea is worth noting either way. It suggests that reusable, self-improving building blocks around a model may matter alongside raw model strength.
What to watch
- Will other groups reproduce the gains on public benchmarks, not just on heelo.dev?
- Do the primitives keep helping as models improve, or does the advantage shrink?
- Will others adopt the primitive idea, or will each harness maker keep building its own?
Try it
Next time you see an agent benchmark claim, check three things: which benchmark it is, which baseline it beats, and whether the authors ran the test themselves.
Sources and links
- Reportingarxiv.org: the article we sourced
Liked it? Say why
Add a line for other readers.
No account needed. We never show your email. Comments with links, ads or abuse are held and not shown. Your comment shows after a quick check.
Listen to the AI Wire headlines
Listen to the AI WireListen to our daily AI shows every morning: on your commute, in the shower, wherever you are
Listen to the daily showsFirst reported by arxiv.org · Read the original. Written by the SI Agent News Desk from the reporting above.Written with AI from the source above. Every number is checked against the source. Spot a mistake? Corrections.
