The Last Mile to the Real World: Agent-Native Primitives as Reusable Building Blocks for Solving Real-World Tasks

Haibo Jin, Peng Kuang, Xiaopeng Yuan, Lucheng Fu, Jerry Wang, Xucheng Yu, Yaoning Yu, Dehao Wu, Runguo Li, Colin Su, Jingxuan Sun, Xuyang Liu, Haojing Luo, Haohan Wang

arXiv:2611.07461 · 2026-11-09 공개 · arXiv · PDF

terminal-bench real-world-tasks llm-verification task-composition toolbench harness-engineering hee-lo agent-native-primitives

Abstract

How can an agent handle a real-world task end to end? Frontier models with their own harnesses still fall short on real-world benchmarks: on Terminal-Bench 4.0, GPT-5.6 Sol with Codex resolves 37.3% of the tasks and Claude Opus 5 with Claude Code 51.8%. These tasks fail at the step from reaching a resource to applying it, which we call the last mile to the real world. Existing approaches put the resource within reach but leave the competence to apply it with the caller, so each harness rebuilds that competence. We introduce agent-native primitives, reusable units that equip a resource with a resident LLM that applies it in context and communicates with other primitives, and HEELO (Harness Engineering around Evolving Agent-Native Primitives for the Last Mile to Real-WOrld Tasks), a harness engineering framework that builds each task's harness from a library of such primitives. HEELO composes the primitives a task needs into a task-specific graph, verifies the result against evidence from the environment, revises the primitives a failure implicates, and admits new or improved primitives after validation. We instantiate HEELO with eight primitive families, each built for one kind of task, and evaluate them on more than twenty benchmarks. Dev-Primitives raise Terminal-Bench 4.0 resolution from 37.3% under Codex to 55.5% on the same backbone, Harness Primitives composed per task raise Terminal-Bench 2.0 Pass@1 from 60.0% for the seed harness to 72.2%, Tool Primitives raise ToolBench pass rate from 55.8% to 75.1%, and Navigation Primitives raise GAIA-Text-103 accuracy from 45.6% to 58.3%. On the 46 real-world tasks of our heelo.dev platform, Claude Opus 5.5 with Claude Code and GPT-6.1 Sol with Codex complete 9 each on their own and 39 and 35 when connected to HEELO through our MCP server, with 1.9times and 2.3times less time and 1.55times lower cost per completed task.

한국어 요약

한 줄 요약

HEELO는 Real-World Task 해결을 위한 Agent-Native Primitives를 활용한 Harness Engineering Framework로, 다양한 벤치마크에서 성능을 18~30% 개선한다.

핵심 기여도

핵심 아이디어

기존 접근은 Resource는 제공하지만 Competence는 호출자에게 맡겨, 각 Harness가 Competence를 재구축하게 되어 효율성이 떨어졌다. 이에 반해, HEELO는 Resource 자체에 Competence를 내장한 Agent-Native Primitives를 도입한다. 이 Primitive는 resident LLM을 포함하여 Context에 맞는 적용과 다른 Primitive와의 통신을 가능하게 한다. 예를 들어, Tool Primitive는 API를 직접 호출하고, Code Primitive는 리포지토리 변경을 처리하며, Navigation Primitive는 대규모 정보 공간을 탐색한다. 이는 단순한 Resource 접근을 넘어, Context 적용, 구성, 실패 시 수정이라는 Last Mile 문제를 해결한다.

기술적 접근법

주요 결과

의의 및 한계

HEELO는 Real-World Task의 Last Mile 문제를 해결하는 체계적인 Framework로, Primitive 기반의 Modular Harness Engineering을 가능하게 한다. 특히, Task-Specific Graph 구성과 실패 시 부분적 수정을 통해 효율성과 확장성을 동시에 달성한다. 그러나, Primitive 라이브러리의 초기 구축 비용이 높고, 모든 Task에 적합한 Primitive가 존재하지 않을 수 있다. 또한, 실패 원인 추적의 정확성은 환경의 복잡성에 따라 달라질 수 있다.

실용적 활용

HEELO는 DevOps, 고객 관리, 자동화된 문서 처리, 정보 검색 등 다양한 산업 분야에서 실용적이다. 특히, 복잡한 환경에서 여러 도구와 API를 조합해야 하는 Task에 적합하며, 소프트웨어 개발, 마케팅 자동화, 법률/회계 문서 처리 등에 활용 가능하다.