LongHorizon-Harness: Advancing Long-Horizon Agents for Real-World Tasks LongHorizon-Harness, an open-source loop engineering system for AI agents, reached #1 on the Hugging Face Daily Papers weekly ranking for 2026-W32 and released v0.1.6 on 2026-08-15, adding OpenCode CLI support. The system, which works with Claude Code, Codex, OpenCode, and DeepSeek Harness, enables agents to autonomously complete real-world tasks across desktop apps and terminal CLIs over dozens of hours by planning, acting, verifying, checkpointing, and recovering in a continuous loop. It does not train new models but provides a durable execution loop around existing agents, with a browser-based dashboard and support for multiple backends. 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 one-command-full-visibility · The Loop loop-engineering-for-real-computer-environments · Computer Use desktop-apps-and-cli-one-continuous-task · Results hundreds-of-real-tasks-measured-gains · Project Website https://lh-harness.pages.dev · 简体中文 /AMAP-ML/LongHorizon-Harness/blob/main/README.zh-CN.md 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. v0.1.6 · 2026-08-15 Added OpenCode https://github.com/anomalyco/opencode CLI support. LongHorizon-Harness can now run opencode run prompt as --agent opencode , with role-scoped read/write permissions, OpenCode API endpoint overrides, normalized JSON results, and CLI/config/doctor integration. The Web workbench can select OpenCode Harness and its model independently for each role. v0.1.5 · 2026-08-14 Added phase-1 DeepSeek Harness https://github.com/deepseek-ai/deepseek-harness CLI support. LongHorizon-Harness can now run dsh --profile headless as --agent deepseek harness , with an isolated DSH HOME , role-scoped read/write permissions, DeepSeek API endpoint overrides, normalized JSONL results, and CLI/config/doctor integration. The Web workbench can select DeepSeek Harness and its model independently for each role. GUI computer-use and MCP support will follow in a later phase; see the CLI setup 5-or-run-a-task-from-the-command-line . v0.1.4 · 2026-08-11 The new Dashboard has landed: a React/FastAPI workbench you can drive entirely from the browser. Start a task, choose a backend and model per role, answer approvals, send an instruction mid-run, and stop or restart a run. Launch it with lh-harness web ; see Run a task in the browser 4-run-a-task-in-the-browser-recommended . 2026-08-10 Added the Terminal-Bench 2.1 evaluation. v0.1.3 · 2026-08-07 Every run now ends with a plain-language reply that answers your task from the verified state alone. Tasks act on the directory you launched from by default, and the console reports each round as it happens. 2026-08-06 LongHorizon-Harness reaches 1 on the Hugging Face Daily Papers weekly ranking https://huggingface.co/papers/week/2026-W32 . v0.1.2 · 2026-08-06 Adds unified computer-use plugin management, stronger auditor read-only checks and role isolation, reliable process cleanup, and expanded doctor diagnostics. See Manage computer-use plugins manage-computer-use-plugins . 🚀 We’re iterating rapidly. Stay tuned promotional video 1440p.mp4 Open the promotional video 1440p MP4 Give LongHorizon-Harness an outcome. It repeatedly turns the remaining work into a bounded step, performs that step on the right computer surface, checks what actually happened, and carries the verified result into the next round. php flowchart LR S "Original goal +