Back to Feed
Agents / Benchmarks & Evals

Improving Long Task Performance for AI Agents

Original: LongHorizon-Harness: Advancing Long-Horizon Agents for Real-World Tasks

Listen to the summary

Uses a voice available on your device

Audio options
On this page

Key Takeaways

  • The framework prevents errors that typically build up over long tasks by maintaining a clean task state separate from the active work.
  • A Manage-Execute-Audit loop ensures that task progress is verified independently before the agent proceeds to the next step.
  • The system significantly improved performance on complex benchmarks, such as raising completion rates on OSWorld 2.0 and WeaveBench.
  • A flexible adapter allows developers to integrate this technology with various AI models without having to rewrite their original agent software.

Summary & Methodology Analysis

AI agents often struggle with long, complex tasks because they try to manage both their current actions and their entire task history in one growing block of memory. This leads to issues like context rot (where the model becomes confused by too much information) and compounding errors (where one small mistake ruins the entire project). The paper introduces the LongHorizon-Harness to solve this by creating a Manage-Execute-Audit loop. In this process, a manager keeps track of the overall goal separately. It assigns small, short-term subtasks to an executor that works in a fresh, budget-limited environment. By discarding the history after each small step, the executor avoids getting overwhelmed by irrelevant data.

Interactive System Flowchart

Click diagram to expand and zoom

Cross-Examination & FAQs

A deeper dive clarifying mechanics, constraints, and baseline evaluations.

Q1. What is the main problem this paper tries to solve?

It addresses the tendency of AI agents to fail during long, multi-step tasks due to accumulating errors and information overload.

Q2. How does the new system improve agent performance?

It separates task planning from task execution and uses an auditor to verify progress, which prevents errors from cascading over time.

Q3. Can this system be used with different AI models?

Yes, the researchers created an AgentAdapter, which is a lightweight tool that lets users connect the harness to various existing agent systems without needing to modify them.

Q4. What is the role of the auditor in the Manage-Execute-Audit loop?

The auditor uses read-only tools to independently verify whether a subtask was actually completed and to confirm any changes made to the environment, without relying on the executor's claims.

Q5. What benchmarks were used to test this method?

The authors tested the system on WeaveBench, Terminal-Bench 2.1, and the full OSWorld 2.0 benchmark.

Q6. How much did the framework improve performance for Qwen 3.7-Plus?

On WeaveBench, it improved the pass rate from 51.8% to 80.7%. On Terminal-Bench 2.1, it improved performance from 69.7% to 77.2%. On OSWorld 2.0, it raised binary completion from 2.8% to 8.3%.

Q7. Does the system provide new capabilities like better visual perception?

No, the paper notes that the auditor cannot supply capabilities that the model does not already possess, such as specific mathematical reasoning or visual perception.

Q8. Are there any tasks where this method is less effective?

The paper states that the framework provides less benefit for analytical tasks where success is primarily driven by the inherent capabilities of the model rather than the reliability of the execution process.

Q9. What specific models are mentioned in the research?

The paper references a wide range of models including Qwen 3.7-Plus, Claude Opus 4.7, Claude Sonnet 4.6, Gemini 3.1 pro, various versions of GPT-5, and several other agent systems like Hermes Agent and MiniMax M3.