DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5
1,813 stars · Python

How to use Long Horizon Harness: what you can do with it

What is Long Horizon Harness? LongHorizon-Harness is a loop that runs existing AI agents such as Claude Code, Codex, and OpenCode on desktop apps and the terminal for long tasks, checking results and saving verified progress along the way.

How do I use it? Complete the Installation steps in the README: install the harness and make sure one agent runtime is on PATH; then run lh-harness web to start the Dashboard; in the browser, start a new task, describe the goal, and choose a backend and model for the Manager, Executor, and Auditor. Full steps below.

Trended earlier

View repo on GitHub

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer

3 use cases

Quick start with Long Horizon Harness

  1. Check you have what it needs: uv, or pip with Python 3.10 or later; One agent runtime on PATH, such as codex, claude, or opencode; A goal for the agent and a project folder to work in.
  2. Open AMAP-ML/LongHorizon-Harness on GitHub and read the README and license.
  3. Complete the Installation steps in the README: install the harness and make sure one agent runtime is on PATH.
  4. Run lh-harness web to start the Dashboard.
  5. In the browser, start a new task, describe the goal, and choose a backend and model for the Manager, Executor, and Auditor.
  6. Answer any approval requests and send extra instructions mid-run if the task needs changes.

These steps come from our top use case, Run a long desktop task from the browser, which also has a copy-paste agent prompt.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for AMAP-ML/LongHorizon-Harness

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Best AI repos for Work and operations

About this repo

  • Who it is forDevelopers and operators who already use a coding or computer-use agent and need a multi-hour task to keep making verified progress without restarting from scratch.
  • Why it is hot1.8k stars
  • LanguagePython
  • Sourcegithub.com/AMAP-ML/LongHorizon-Harness · Back to Hot repos

Requirements

  • uv, or pip with Python 3.10 or later
  • One agent runtime on PATH, such as codex, claude, or opencode
  • A goal for the agent and a project folder to work in

Add this badge to your README

Maintain Long Horizon Harness? Show readers where to find these use cases. Use cases on Deduped

Markdown

[![Use cases on Deduped](https://dedupedai.com/badge/AMAP-ML/LongHorizon-Harness.svg)](https://dedupedai.com/use-cases/amap-ml-longhorizon-harness/?utm_source=github&utm_medium=badge&utm_campaign=AMAP-ML-LongHorizon-Harness)

HTML

<a href="https://dedupedai.com/use-cases/amap-ml-longhorizon-harness/?utm_source=github&amp;utm_medium=badge&amp;utm_campaign=AMAP-ML-LongHorizon-Harness"><img src="https://dedupedai.com/badge/AMAP-ML/LongHorizon-Harness.svg" alt="Use cases on Deduped" height="20"></a>

A static image, no tracking script. About the badge

Questions about Long Horizon Harness

What is Long Horizon Harness?

LongHorizon-Harness is a loop that runs existing AI agents such as Claude Code, Codex, and OpenCode on desktop apps and the terminal for long tasks, checking results and saving verified progress along the way. It is an open-source project on GitHub: https://github.com/AMAP-ML/LongHorizon-Harness.

How do I use Long Horizon Harness?

Complete the Installation steps in the README: install the harness and make sure one agent runtime is on PATH; then run lh-harness web to start the Dashboard; in the browser, start a new task, describe the goal, and choose a backend and model for the Manager, Executor, and Auditor. The use cases on this page give the full steps and a copy-paste agent prompt for each job.

Who is Long Horizon Harness for?

Developers and operators who already use a coding or computer-use agent and need a multi-hour task to keep making verified progress without restarting from scratch.

What can I do with Long Horizon Harness?

3 use cases so far, for example: Run a long desktop task from the browser; Delegate a terminal task to a chosen agent; Split planning, execution, and auditing across models. Each has steps and a copy-paste agent prompt.

What do I need to run Long Horizon Harness?

uv, or pip with Python 3.10 or later; One agent runtime on PATH, such as codex, claude, or opencode; A goal for the agent and a project folder to work in.

What are alternatives to Long Horizon Harness?

Other hot AI repos in Work and operations: Open Maus Bot, Career Ops, Paperclip, n8n Skills, Nocodb.

Is Long Horizon Harness safe to run?

Deduped does not own, audit or vouch for it. Read the README and license, run it on your own systems first and review every command before you run it.