Orchestrates long-running AI agent tasks by separating planning, execution, and verification to ensure persistent, verifiable progress across desktop and CLI environments.
LongHorizon-Harness is an open-source framework from AMAP-ML for managing autonomous AI agents performing complex, long-running tasks. It doesn't replace an agent but acts as an execution, state-management, and verification system. It enables agents to operate for extended periods on real computers, working across both GUIs and the command line, by ensuring that progress is continuously verified and preserved, preventing state drift on multi-hour tasks.
LongHorizon-Harness is a Python CLI tool installed locally. A user defines a complex task via a command-line argument. The harness then directs a connected AI agent (e.g., GPT via Codex) to execute the task in rounds. It uses separate roles for planning, execution, and auditing; only results that pass independent verification are saved to the persistent state. The system is open-source and works with local, SSH, or Docker execution environments.
Developers and researchers building or evaluating autonomous agents for complex, multi-step computer tasks where verifiable progress and resilience to failure are critical.
This is not a standalone agent or model. It is a harness that requires and runs on top of an existing agent backend, such as Claude Code, Codex, or OpenClaw.