The Last Mile to the Real World: Agent-Native Primitives as Reusable Building Blocks for Solving Real-World Tasks
On the map: LLM agents and tool use → Software engineering coding agents also fits: General LLM agent frameworks and benchmarks
Abstract (arXiv)
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.9× and 2.3× less time and 1.55× lower cost per completed task.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 72 of its 192 references that are in the map. Submitted 5 Nov 2026.
Builds on
72 of 192 references.
Closest ancestors · 13
Same direction, newest first
- 2026Large-scale Repository Engineering via Agent-Native Reusable Code Primitives6 Oct
- 2026Composing Task-specific Agent Harnesses at Test Time with Reusable Primitives30 Sep
- 2026JIT-Agent: Scaling Harness Intelligence via Just-in-Time Harness Evolution26 Aug
- 2026SWE Refactor Bench: Can Coding Agents Complete a Long-Horizon, Whole-Repository Stack Migration?24 Aug
- 2026MemoHarness: Agent Harnesses That Learn from Experience14 Jul
- 2026TTHE: Test-Time Harness Evolution9 Jul
- 2026CodeTeam: An LLM-Powered Multi-Agent Framework for Repository-Level Code Generation20 Jun
- 2026Self-Harness: Harnesses That Improve Themselves8 Jun
- 2025SWE-EVO: Benchmarking Coding Agents in Long-Horizon Software Evolution Scenarios20 Dec
- 2025NL2Repo-Bench: Towards Long-Horizon Repository Generation Evaluation of Coding Agents14 Dec
- 2024AFlow: Automating Agentic Workflow Generation14 Oct
- 2024Agentless: Demystifying LLM-based Software Engineering Agents1 Jul
Other references · 59
- 2023GPT-4 Technical Reportcited by 19,416
- 2024The Llama 3 Herd of Modelscited by 16,113
- 2021Training Verifiers to Solve Math Word Problemscited by 11,055
- 2025Qwen3 Technical Reportcited by 9,994
- 2021Evaluating Large Language Models Trained on Codecited by 8,938
- 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,810
- 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 6,016
- 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,852
- 2024GPT-4o System Cardcited by 4,895
- 2021Program Synthesis with Large Language Modelscited by 3,972
- 2023Voyager: An Open-Ended Embodied Agent with Large Language Modelscited by 2,483
- 2023ToolLLM: Facilitating Large Language Models to Master 16000+ Real-world APIscited by 2,083
38 more
- 2024Mixtral of Expertscited by 1,988
- 2024τ-bench: A Benchmark for Tool-Agent-User Interaction in Real-World Domainscited by 1,713
- 2023MemGPT: Towards LLMs as Operating Systemscited by 1,655
- 2025gpt-oss-120b & gpt-oss-20b Model Cardcited by 1,638
- 2024From Local to Global: A Graph RAG Approach to Query-Focused Summarizationcited by 1,566
- 2025Qwen3 Embedding: Advancing Text Embedding and Reranking Through Foundation Modelscited by 1,507
- 2023Gorilla: Large Language Model Connected with Massive APIscited by 1,418
- 2024DeepSeek-V3 Technical Reportcited by 1,000
- 2019DROP: A Reading Comprehension Benchmark Requiring Discrete Reasoning Over Paragraphscited by 949
- 2023DSPy: Compiling Declarative Language Model Calls into Self-Improving Pipelinescited by 908
- 2025τ2-Bench: Evaluating Conversational Agents in a Dual-Control Environmentcited by 797
- 2024Automated Design of Agentic Systemscited by 507
- 2024Agent Workflow Memorycited by 482
- 2026Meta-Harness: End-to-End Optimization of Model Harnessescited by 415
- 2022Text and Code Embeddings by Contrastive Pre-Trainingcited by 378
- 2024DeepSeek-Prover: Advancing Theorem Proving in LLMs through Large-Scale Synthetic Datacited by 263
- 2024ToolACE: Winning the Points of LLM Function Callingcited by 236
- 2024Corrective Retrieval Augmented Generationcited by 220
- 2024Chain of Agents: Large Language Models Collaborating on Long-Context Taskscited by 220
- 2026DeepSeek-V4.1-Flash: Pushing the Limits of KV Cache Compressioncited by 220
- 2025Prompt Injection Attack to Tool Selection in LLM Agentscited by 181
- 2022DocPrompting: Generating Code by Retrieving the Docscited by 165
- 2024AgentDojo: A Dynamic Environment to Evaluate Prompt Injection Attacks and Defenses for LLM Agentscited by 162
- 2024CodeR: Issue Resolving with Multi-Agent and Task Graphscited by 97
- 2025Latent Collaboration in Multi-Agent Systemscited by 93
- 2025Cache-to-Cache: Direct Semantic Communication Between Large Language Modelscited by 83
- 2024TroVE: Inducing Verifiable and Efficient Toolboxes for Solving Programmatic Taskscited by 82
- 2025Rank1: Test-Time Compute for Reranking in Information Retrievalcited by 75
- 2025Rank-R1: Enhancing Reasoning in LLM-based Document Rerankers via Reinforcement Learningcited by 65
- 2024Hammer: Robust Function-Calling for On-Device Language Models via Function Maskingcited by 60
- 2025MAS-GPT: Training LLMs to Build LLM-based Multi-Agent Systemscited by 55
- 2025Magnet: Multi-turn Tool-use Data Synthesis and Distillation via Graph Translationcited by 40
- 2024ReGAL: Refactoring Programs to Discover Generalizable Abstractionscited by 39
- 2024Intelligent Go-Explore: Standing on the Shoulders of Giant Foundation Modelscited by 39
- 2025Thought Communication in Multiagent Collaborationcited by 38
- 2025AgentDistill: Training-Free Agent Distillation with Generalizable MCP Boxescited by 33
- 2026A Minimal Agent for Automated Theorem Provingcited by 24
- 2026CODESKILL: Learning Self-Evolving Skills for Coding Agentscited by 21
50 most cited of 59 All 59 (JSON)
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026Harness^2: Recursive Agent Harnessing for an Open World
- 2026LongHorizon-Harness: Advancing Long-Horizon Agents for Real-World Tasks
- 2026Towards the Harness of Embodied Agents
- 2026Harness Engineering: Anatomy, Architecture, and Evolution of Coding Agents -- A Source-Code Study of Eleven Systems
- 2026Harnesses That Improve Themselves: A Unifying Framework for Self-Improving Agent Harnesses
- 2026The Empire, Long Divided, Must Unite: Architectural Convergence in Three LLM Agent Harnesses
- 2026Code as Agent Harness
- 2026ModularRSI: Modular and Generalizable Recursive Harness Self-Improvement