Claude Code multi-agent

LongHorizon Harness

The long-horizon computer-use harness. Run AI agents across desktop apps and the CLI for extended periods while preserving task state and making reliable progress on complex workflows. Features fresh-context execution, durable verified state, independent auditing, recoverable progress, and native Claude Code / Codex / OpenClaw integration.

1,836 stars 193 forksMulti-agent & worktrees Source

Install

From source
git clone https://github.com/AMAP-ML/LongHorizon-Harness.git

From the README

LongHorizon-Harness

Loop Engineering for Computer-Use Agents

Give Claude Code, Codex, OpenCode, or DeepSeek Harness a goal once. Keep it working across desktop apps and the terminal for dozens of hours.

Plan → act → verify → checkpoint or recover → repeat — until the work is actually done.

Usage · The Loop · Computer Use · Results · Project Website · 简体中文
The model determines what an agent can do in one round. LongHorizon-Harness engineers the loop around it: what to do next, how to verify the result in the real computer, what progress to preserve, and how to continue after failure or context refresh.

A Loop Engineering system for Claude Code, Codex, OpenCode, and DeepSeek Harness. One-command install, ready to run.

LongHorizon-Harness turns existing agents into long-running computer-use systems. Across desktop apps and the terminal CLI, it continuously recovers the goal and verified state, selects the next bounded step, executes it with a fresh context, checks the actual result, and then checkpoints accepted progress or feeds failure evidence into the next round. It does not train a new model or replace an existing agent; it provides the durable execution loop around one.

✨ News

- [v0.1.8 · 2026-10-21] Fixes approvals after resuming historical runs, Markdown-formatted Manager routes, Claude Code MCP isolation, and non-UTF-8 CLI/DeepSeek output. Adds --final-response-timeout for slower closing replies. See the release notes for upgrade details and current Windows limitations.
- [v0.1.7 · 2026-08-20] A finished run is no longer a dead end: the workbench is now a conversation. Read the reply, type a follow-up, and the run continues on its own round ledger instead of replanning from scratch. A message you send mid-round is claimed by the very next round, so…
Read the full README on GitHub

Details

Language
Python
License
MIT
Last updated
21 October 2026
Topics
agentclaudeclaude-codeclaude-pluginclicodexcodex-desktopcodex-plugincuadeepseek-harnessguiharness

FAQ

What is LongHorizon Harness?

The long-horizon computer-use harness. Run AI agents across desktop apps and the CLI for extended periods while preserving task state and making reliable progress on complex workflows. Features fresh-context execution, durable verified state, independent auditing, recoverable progress, and native Claude Code / Codex / OpenClaw integration. It is a multi-agent for Claude Code, from AMAP-ML/LongHorizon-Harness on GitHub.

How do I install LongHorizon Harness?

Clone AMAP-ML/LongHorizon-Harness from GitHub and follow the setup steps in its README.

Is LongHorizon Harness popular?

AMAP-ML/LongHorizon-Harness has 1,836 GitHub stars and 193 forks, and is included in 1 curated Claude Code list. It was last updated on 21 October 2026.

More multi-agent & worktrees

Browse the most popular Claude Code mods, all multi-agent & worktrees, or the skills and MCP server directories.