
TL;DR
Long-Horizon-Terminal-Bench tests coding agents on 46 terminal tasks that can run for 90 minutes. The takeaway is not that agents are useless. It is that evals need to measure endurance, recovery, and partial progress.
| Research notes | |
|---|---|
| Primary paper | arXiv:2607.08964 |
| Project page | Long-Horizon-Terminal-Bench |
| Hugging Face paper page | HF Papers: Long-Horizon-Terminal-Bench |
| Community leaderboard | LHTB leaderboard |
| Google Trends check | Attempted July 14, 2026. Google returned 429, so no fresh numeric trend rows are used in this article. |
Last updated: July 14, 2026
Long-Horizon-Terminal-Bench is the kind of benchmark that makes coding agents look less magical and more measurable.
That is a good thing.
Most coding-agent demos still optimize for the first five minutes: clone the repo, find the bug, edit a file, run a test, show a diff. Real agent work is slower and messier. A serious task might need environment setup, failed installs, data inspection, repeated debugging, partial discoveries, and a long tail of "almost" work that binary pass/fail scoring throws away.
The new Long-Horizon-Terminal-Bench paper tries to measure that missing middle. It introduces 46 terminal tasks across nine categories, including software engineering, experiment reproduction, scientific computing, multimodal analysis, and interactive games. Each task runs in a containerized terminal environment and is decomposed into graded subtasks, so an agent can get credit for progress instead of only receiving a final solved/failed label.
That matters for anyone buying, building, or managing coding agents. The question is no longer simply "can an agent solve SWE-bench style issues?" The more practical question is whether it can keep making grounded progress after the first plan breaks.
If you have been following the agent-eval cluster here, this sits directly next to Dockerless verification, Microsoft's CLI coding-agent rollout study, and the older argument that agent evals need baseline receipts. LHTB adds the endurance layer.
The benchmark is built around terminal-use agents. The agent receives a task, operates in a terminal, and has up to 90 minutes per run under the paper's reported evaluation setup.
The paper's headline numbers are intentionally sobering:
| Metric | Reported result |
|---|---|
| Tasks | 46 |
| Categories | 9 |
| Average tokens per task | 9.9M |
| Average episodes per run | 231 |
| Average execution time | 85.3 minutes |
| Best pass@1 at 0.95 reward threshold | 15.2% |
| Best pass@1 at perfect reward threshold | 10.9% |
| Mean pass rate at 0.95 reward threshold | 4.3% |
| Mean pass rate at perfect reward threshold | 1.7% |
Those numbers come from arXiv v2, revised July 13, 2026. The Hugging Face paper page also shows the paper as the #1 paper of the day with active community discussion and a linked GitHub/project page.
The interesting part is not only the low solve rate. We already know frontier agents still fail. The useful part is the measurement shape: dense reward, long execution windows, hidden verifiers, and task decompositions that let researchers see where the agent ran out of steam.
That is closer to the way developers actually evaluate agents in a repo. You care whether the agent found the right subsystem, wrote a reasonable failing test, reduced the bug, noticed its own bad assumption, and stopped before corrupting state. A final green check is important, but it is not the only evidence.
Newsletter
Get the weekly deep dive
Tutorials on Claude Code, AI agents, and dev tools, delivered free every week.
From the archive
Jul 13, 2026 • 5 min read
Jul 13, 2026 • 6 min read
Jul 13, 2026 • 6 min read
Jul 13, 2026 • 7 min read
Binary evals are easy to explain: pass or fail. They are also easy to overread.
If an agent fails a long task after 80 minutes, that failure can mean several different things:
Those are not the same failure. They should not produce the same product decision.
This is where LHTB's partial-credit design is useful. It gives teams a vocabulary for "the agent is bad at long horizon recovery" instead of "the model scored low." That distinction matters because different fixes live at different layers.
If the agent fails at planning, you might need better task decomposition. If it fails at verification, Dockerless-style pre-CI checks or stronger local harnesses may help. If it fails after compaction, your context policy is suspect. If it burns 9.9M tokens on average and still cannot close, the model may not be the bottleneck your budget owner thinks it is.
Do not read LHTB as "coding agents are bad." That is the lazy take.
Read it as evidence that coding agents need endurance metrics before they deserve bigger blast radius. The same agent can be useful for narrow issue work, risky for autonomous multi-hour refactors, and excellent as a research assistant that stops at a reproducible evidence bundle.
For teams rolling agents into daily engineering, I would turn the paper into four operating questions.
First: what is your partial-credit rubric? If your internal eval only records whether the PR merged, you are missing signal. Track whether the agent found the right files, created a relevant test, preserved public APIs, minimized diff size, and explained residual risk.
Second: where does the agent lose time? LHTB reports an average 85.3 minutes per run. In a real company, that is not just latency. It is CI queue time, review time, token spend, and developer attention. Instrument environment setup, edit loops, test retries, and repeated tool calls separately.
Third: what counts as a safe stop? A long-running agent should not keep mutating a repo forever because it has not reached 1.0 reward. The best production agents will learn when to stop with a clean handoff: the failing command, the smallest repro, the files touched, and the next human decision.
Fourth: does your benchmark match your work? LHTB includes scientific computing and experiment reproduction alongside software engineering. That breadth is useful, but your internal scorecard should still reflect your own repo shapes. A frontend team, infra team, and data platform team should not all optimize for the same task mix.
That is the bridge from research benchmark to engineering policy.
The community leaderboard is the part to monitor. A static paper result is a snapshot. A reproducible long-horizon benchmark becomes useful when model providers, agent builders, and independent teams can submit comparable runs under the same budget and verifier rules.
The second thing to watch is whether vendors start optimizing for dense progress, not only final solve rate. A coding agent that gets 30% of a hard task done in a clean, reviewable way may be more valuable than one that occasionally solves the whole task after a chaotic million-token drift.
The third thing to watch is cost attribution. Microsoft's field study measured rollout and PR output at organizational scale. LHTB shows what a single hard task can consume under controlled conditions. Put those together and the serious enterprise question becomes: which work should receive 90-minute agent attempts, and which work should stay in the human-review loop after a five-minute scout pass?
That is where the next useful tooling wave lives: scout agents, long-horizon agents, verifiers, rollback logs, and manager dashboards that distinguish useful partial work from expensive thrashing.
Long-Horizon-Terminal-Bench is not a replacement for SWE-bench, Terminal-Bench, internal evals, or production telemetry. It is a needed pressure test for the part of agent work that demos usually skip.
The best use is not to crown a winner. It is to ask better questions before you hand agents longer tasks:
That is a much better bar than "the demo made a pull request."
For a broad primer on the category, start with what an AI coding agent is in 2026. For the evidence stack around evaluating those agents, pair this with agent evals need baseline receipts, security agents need repro harnesses, and Dockerless verification.
Long-Horizon-Terminal-Bench is a benchmark for terminal-use AI agents. It contains 46 long-horizon tasks across nine categories and uses dense partial-credit grading instead of only final pass/fail scoring.
It tests the part of coding-agent work that short demos usually hide: long planning loops, repeated debugging, environment friction, verifier failures, and partial progress over many tool calls.
No. In the arXiv v2 results, the strongest tested model reached 15.2% pass@1 at the 0.95 reward threshold and 10.9% at the perfect-reward threshold. The reported mean pass rates were much lower.
Use it as a research signal, not as your only buying test. Teams should still build internal evals that match their own repo types, risk tolerance, CI setup, and review workflow.
Track partial progress, safe stopping, time spent by phase, and cost per useful artifact. Do not only track whether an agent eventually opened a pull request.
Read next
ByteDance's Dockerless paper asks whether coding-agent patches can be verified without spinning up per-repo environments. The practical answer is not replace CI. It is use cheaper evidence before CI.
8 min readA Microsoft field study found that CLI coding-agent adoption spreads through peers and managers, while adopters merged roughly 24% more pull requests. The lesson is not to buy more seats. It is to instrument rollout, retention, cost, and review quality from day one.
9 min readHex's data-agent lab shows the practical eval pattern AI teams should copy: compare candidates against stable baselines, keep receipts, and judge changes by task behavior.
8 min readTechnical content at the intersection of AI and development. Building with AI agents, Claude Code, and modern dev tools - then showing you exactly how it works.
Anthropic's agentic coding CLI. Runs in your terminal, edits files autonomously, spawns sub-agents, and maintains memory...
View ToolOpenAI's coding agent for terminal, cloud, IDE, GitHub, Slack, and Linear workflows. Reads repos, edits files, runs comm...
View ToolOpen-source terminal agent runtime with approval modes, rollback snapshots, MCP servers, LSP diagnostics, and a headless...
View ToolOpen-source terminal coding agent from Moonshot AI. Powered by Kimi K2.5 (1T params, 32B active). 256K context window. A...
View ToolCompare AI coding agents on reproducible tasks with scored, shareable runs.
View AppScore every coding agent on your own tasks. Catch regressions in CI.
View AppRun hundreds of agent evals in parallel. Find regressions in minutes.
View AppInstall Ollama and LM Studio, pull your first model, and run AI locally for coding, chat, and automation - with zero cloud dependency.
Getting StartedThe primary command-line entry point for Claude Code sessions.
Claude CodeInstall the dd CLI and scaffold your first AI-powered app in under a minute.
Getting Started
The video reviews OpenAI’s newly released GPT 5.4, highlighting access tiers (GPT 5.4 Thinking in ChatGPT Plus/Teams/Pro/Enterprise and GPT 5.4 in the $200/month tier) and API availability. It covers

Build Anything with Vercel, the Agentic Infrastructure Stack Check out Vercel: https://vercel.plug.dev/cwBLgfW The video shows a behind-the-scenes walkthrough of how the creator rapidly builds and d

Check out Trae here! https://tinyurl.com/2f8rw4vm In this video, we dive into @Trae_ai a newly launched AI IDE packed with innovative features. I provide a comprehensive demonstration...

ByteDance's Dockerless paper asks whether coding-agent patches can be verified without spinning up per-repo environments...

A Microsoft field study found that CLI coding-agent adoption spreads through peers and managers, while adopters merged r...

Hex's data-agent lab shows the practical eval pattern AI teams should copy: compare candidates against stable baselines,...

Autocomplete wrote the line. Agents write the pull request. The shift from Copilot to Claude Code, Cursor Agent, and Dev...

Anthropic's open-source vulnerability harness shows where AI security work is going: reproducible exploit loops, separat...

The Bayer and Thoughtworks PRINCE case study is a useful reminder that reliable agentic AI comes from context routing, t...

New tutorials, open-source projects, and deep dives on coding agents - delivered weekly.