Credentials. The agent acts inside desktop apps, so any logged-in accounts it can reach may be used, and approvals should be reviewed before you grant them.
Who it is forA person with a multi-step workflow across desktop apps who wants to start it, watch it, and answer approvals without using the terminal.
The problemA single agent session often loses track of the goal or stops partway through a long workflow that spans several apps.
The outcomeA task that runs in rounds, with each round planned, executed, verified, and checkpointed, and a final plain-language reply.
What you need first
- 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
Steps
- Complete the Installation steps in the README: install the harness and make sure one agent runtime is on PATH.
- Run
lh-harness webto 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.
- Answer any approval requests and send extra instructions mid-run if the task needs changes.
- Read the final reply and check the verified state before you rely on the result.
Prompt for your agent
Use the LongHorizon-Harness repo at <repo path>. Start the Dashboard with lh-harness web, create a task for <goal>, and let it run until it reports completion. Expected output: the final reply and the verified state for <goal>. Verify that every round the Auditor accepted is listed as a checkpoint before you report success.
Caveat. The README is truncated, so exact install commands and the full Dashboard workflow are not fully shown here; check the Installation and Dashboard sections in the repo.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for AMAP-ML/LongHorizon-Harness and "Run a long desktop task from the browser"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer