Check out my personal blogsVisit maxrave.dev

LongHorizon-Harness treats verified state as the missing layer for long-running agents

updates

AMAP-ML/LongHorizon-Harness does not claim a new frontier model. It wraps existing agents with role separation, durable state, and independent verification so complex computer tasks can keep moving without trusting one endlessly growing context.

N

Nguyen Duc Tuan Minh

SimpMusic Developer

GitHub README capture for AMAP-ML/LongHorizon-Harness

Most agent demos still collapse the whole problem into one question: how much can a single model do before its context gets messy?

That framing misses the failure mode that shows up the moment you ask an agent to work for hours instead of minutes.

The real problem is not only reasoning quality. It is whether progress can be verified, preserved, and resumed without asking one giant context window to remember everything that happened before.

That is why AMAP-ML/LongHorizon-Harness is worth paying attention to.

The repo does not pitch a new model. It does not try to replace Codex or Claude Code. Instead, it wraps existing agent runtimes with a stricter execution loop: one that separates planning, doing, and checking, and only lets independently verified results become part of persistent task state.

That is a much more serious answer to long-running work than the usual "just give the agent more tokens" story.

It treats trusted state as a product layer

The sharpest idea in this repo is that long-horizon agent work needs its own state-management system.

LongHorizon-Harness is explicit about the boundary. The model determines what can happen in one round. The harness determines whether that work can be trusted, retained, and carried forward. That distinction matters because many agent failures are not dramatic model breakdowns. They are smaller and more common: a file was changed but not really checked, a browser action looked right but was never verified, or a promising partial result got lost when the next round started fresh.

This project tries to solve that with a persistent layer for verified progress rather than a transcript-first memory pile. The core promise is simple: if work has been checked, it should survive context refreshes, role changes, and later failures. If it has not been checked, it should not quietly turn into truth.

That is a product-minded stance, not just an implementation detail.

The three-role split is more interesting than the benchmark headline

The README centers the system around three roles: a manager, an executor, and an auditor.

The manager keeps the original goal, the verified progress, and the next step. The executor starts with a fresh context and works on one clearly bounded task. The auditor independently inspects files, interfaces, logs, and test output in the real environment.

That separation is the part I find most compelling.

A lot of agent systems still ask one context to plan the work, perform the work, decide whether it succeeded, and summarize the result. That is convenient, but it is also where self-delusion creeps in. LongHorizon-Harness is betting that verification should be a distinct responsibility with its own view of the world.

Even if builders do not copy the exact architecture, they should copy the instinct behind it: do not let the same loop both make claims and certify them.

It understands that real work crosses GUI and CLI boundaries

Another reason this repo stands out is that it does not pretend coding, browser automation, and desktop interaction are separate product categories.

The README describes one continuous task moving across desktop apps and the command line under the same verified state system. A run can start in the browser, switch to local scripts, produce an artifact in desktop software, and come back to the terminal for validation.

That feels much closer to what real computer-use tasks actually look like.

Many agent tools are still optimized for one surface at a time. They are good at code, or good at browser clicks, or good at a single sandbox. LongHorizon-Harness is interesting because it treats cross-surface continuity as the baseline. If the task spans interfaces, the state model should span interfaces too.

For product builders, that is an important design lesson. Users do not care whether a task crossed three runtimes. They care whether the system kept moving and whether the result can be trusted.

The repo is also opinionated about adapter boundaries

LongHorizon-Harness does not hide behind vague compatibility language. It says clearly that it runs on top of existing agent backends such as Codex CLI and Claude Code through adapters, while keeping each agent's native execution loop intact.

That is a healthy architectural choice.

Instead of reinventing the agent runtime from scratch, the project puts its energy into coordination, role boundaries, verification, and resumable progress. In other words, it focuses on the control plane around the model rather than pretending the model interface itself is the product moat.

That tends to age better. Models change fast. What often lasts longer is the system that decides how work is scoped, checked, retried, and resumed.

The benchmark section matters because the claim is operational

The numbers in the README are strong, but the more important point is what they are trying to prove.

The project reports gains on WeaveBench, OSWorld 2.0, and Terminal-Bench 2.1 while holding the model and execution backend constant. The message is not "our model is smarter." The message is "the harness architecture itself changes completion rates."

That is exactly the kind of evidence this category needs.

Long-running agents are easy to market with anecdotes and hard to evaluate honestly. By framing the result as an operational improvement rather than a mystical intelligence jump, the repo makes a more credible case for why builders should care.

It also helps that the README repeatedly emphasizes verified state and independent auditing instead of only showing polished success videos.

Where builders should stay skeptical

There are still reasons to stay measured.

The repo is early. It is moving quickly. Some of the appeal comes from a clean thesis and strong presentation, which is not the same as proof that every real-world workflow will benefit from the added coordination cost. A three-role system can improve trust, but it can also introduce latency, complexity, and operational overhead.

There is also a practical question every harness project has to answer over time: how much of the win comes from better decomposition and stricter verification, and how much depends on careful benchmark fit? That is not a criticism unique to this repo. It is simply the right question to keep asking as more task traces become public.

Still, I would rather see projects in this space argue from explicit boundaries and measurable tradeoffs than from vague autonomy marketing.

Why this repo is worth watching

AMAP-ML/LongHorizon-Harness is worth watching because it pushes the conversation about agents in a better direction.

It treats long-running work as a systems problem, not only a model problem. The key layer is not another giant prompt. It is a disciplined mechanism for deciding what progress is real, what evidence is good enough, and what the next fresh-context round should inherit.

If more agent products adopt that mindset, the category will get a lot less obsessed with demo magic and a lot more serious about durable execution.

Repo

GitHub: https://github.com/AMAP-ML/LongHorizon-Harness

Community

Get involved in our community. Everyone is welcome!

SimpMusic is sponsored by:

Get free $200 credit over 60 days on DigitalOcean: GET NOW

Crowdin and Sentry both have a free enterprise plan for Open-source projects. Follow the URLs:

Check out the Vercel open-source program

Want to advertise on SimpMusic?

Buy Direct Ads

SimpMusic app is FOSS and under GPL-3.0 license.

© 2023-2026 SimpMusic - @maxrave-dev

We are not affiliated with or endorsed by Google, YouTube, Spotify, or any other third-party brands or applications.