LongHorizon-Harness
What is LongHorizon-Harness?
LongHorizon-Harness is a loop engineering framework designed to enable AI agents to perform complex, long-horizon tasks across desktop applications and CLI environments. It acts as a durable execution layer that manages task state, verifies results independently, and recovers from failures, allowing existing agents like Claude Code, Codex, and DeepSeek Harness to operate autonomously for extended periods.
LongHorizon-Harness is an open-source framework that transforms standard AI agents into robust, long-running computer-use systems. By implementing a 'Manage-Execute-Audit' loop, it ensures that tasks are broken down into verifiable steps, with each action independently audited to maintain a reliable state. This approach allows agents to navigate complex, multi-step workflows across GUI and terminal environments without losing progress or context.
Designed for developers and researchers, the harness integrates seamlessly with popular agent backends such as Claude Code, Codex, OpenCode, and DeepSeek Harness. It significantly improves performance on benchmarks like WeaveBench and OSWorld by providing a structured, fault-tolerant execution environment that handles context refreshes and error recovery automatically, ensuring that the final outcome is achieved through verified, incremental progress.
LongHorizon-Harness is built by AMAP (Alibaba) and fits into the Agentic AI category. It was released on Sep 14, 2026.
LongHorizon-Harness is free to use and open source, with the source code on GitHub. Teams typically use it for workflow orchestration, browser automation, RAG pipelines and human-in-the-loop, with domain-specific use in Customer support, Finance ops and Healthcare.
Who LongHorizon-Harness is for
Teams and individual developers working in Agentic AI.