我们发现了什么
让 AI 智能体长时间跨桌面应用和 CLI 运行,同时保留任务状态,并在复杂工作流中可靠地取得进展。
- 来源:GitHub(发现于 2026-08-05)
- 证据等级:D · 发现产品或需求信号,暂未获得可核验的商业证据。
- 商业模式:待核验
- 主题:独立产品
- 初筛评分:18.3/100 · 收录 1 次
证据,比故事更重要。
规则清洗与初筛,未经人工商业核验。原文语境、实际客户和付费情况仍需自行验证。
引用与数字披露
来源类型(原作者自述/第三方测算/媒体转引)需采集端标注,本版尚未落字段。
- 作者
- 未标注
- 抓取日期
- 来源类型
- 未标注
- 币种
- 未标注
- 口径
- 未标注
- 披露主体
- 未标注
- 披露日期
- 未标注
中文辅助译文(节选·触顶截断)
LongHorizon-Harness
面向 Computer-Use 智能体的循环工程
只需给 Claude Code、Codex、OpenCode 或 DeepSeek Harness 设定一个目标,让它在桌面应用与终端之间持续工作数十小时。
规划 → 执行 → 验证 → 检查点或恢复 → 重复 —— 直到工作真正完成。
  
使用方法 · 循环 · Computer Use · 结果 · 项目网站 · 简体中文
模型决定智能体在一轮中能做什么。LongHorizon-Harness 则围绕模型工程化整个循环:下一步做什么、如何在真实计算机中验证结果、保留哪些进度、以及在失败或上下文刷新后如何继续。
面向 Claude Code、Codex、OpenCode 与 DeepSeek Harness 的循环工程系统。一条命令安装,开箱即用。
LongHorizon-Harness 将现有智能体转变为长时间运行的计算机使用系统。在桌面应用与终端 CLI 中,它持续恢复目标与已验证的状态,选择下一个有界步骤,以全新上下文执行该步骤,检查实际结果,然后为已接受的进度设置检查点,或将失败证据反馈到下一轮。它不训练新模型,也不替换现有智能体;而是为智能体提供持久的执行循环。
✨ 更新动态
- [v0.1.7 · 2026-08-20] 已完成的运行不再是死胡同:工作台如今支持对话。阅读回复、输入追问,运行便会基于自身的轮次账本继续推进,而不会从头重新规划。在一轮中途发送的消息会被紧接着的下一轮认领,因此停止与续接绝不会丢失消息。同时为每个角色新增了
--reasoning-effort(含--manager-reasoning-effort等用于覆盖单一角色的选项),转发到暴露该参数的后端。运行记录现在按严格的时序展示;优雅停止仅在工作进程忽略停止信号时才升级为强制停止。- [v0.1.6 · 2026-08-15] 新增 OpenCode CLI 支持。LongHorizon-Harness 现可通过--agent opencode运行opencode run prompt,支持按角色划分的读/写权限、OpenCode API 端点覆盖、归一化 JSON 结果,以及 CLI/config/doctor 集成。Web 工作台可为每个角色独立选择 OpenCode Harness 及其模型。- [v0.1.5 · 2026-08-14] 新增阶段一的 DeepSeek Harness CLI 支持。
LongHorizon-Harness 现可通过 --agent deepseek_harness 运行 dsh --profile headless,支持独立的 DSH_HOME、按角色划分的读/写权限、DeepSeek API 端点覆盖、归一化 JSONL 结果,以及 CLI/config/doctor 集成。Web 工作台可为每个角色独立选择 DeepSeek Harness 及其模型。GUI computer-use 与 MCP 支持将在后续阶段加入;请参阅 CLI 设置。- [v0.1.4 · 2026-08-11] 新 Dashboard 已上线:一个基于 React/FastAPI 的工作台,可完全在浏览器中操作。启动任务、为每个角色选择后端与模型、应答审批、在运行中途发送指令,以及停止或重启运行。通过 lh-harness web 启动;请参阅 在浏览器中运行任务。- [2026-08-10] 新增 Terminal-Bench 2.1 评测。- [v0.1.3 · 2026-08-07] 每次运行现在都会以一段自然语言回复收尾,仅基于已验证的状态回答你的任务。任务默认作用于启动时所在的目录,控制台会实时报告每一轮的执行情况。
- [2026-08-06] LongHorizon-Harness 在 Hugging Face Daily Papers 周榜 上登顶 #1。- [v0.1.2 · 2026-08-06] 新增统一的 computer-use 插件管理、更强的审计只读检查与角色隔离、可靠的后台进程清理,以及更完善的
doctor诊断。请参阅 管理 computer-use 插件。
🚀 我们正在快速迭代,敬请持续关注!
视频演示
https://github.com/user-attachments/assets/ca8b77ce-9220-4d85-a272-b346009b2454
打开宣传视频(1440p MP4)
面向真实计算机环境的循环工程。
给 LongHorizon-Harness 一个目标。它会反复将剩余工作转化为一个有界步骤,在恰当的计算机界面执行该步骤,检查实际发生了什么,然后将已验证的结果带入下一轮。
flowchart LR
S["原始目标 +
已验证状态"] --> P["规划下一个
有界步骤"]
P --> A["在桌面应用或 CLI 中
以全新上下文执行"]
A --> V["在真实环境中
验证文件、UI、日志与测试"]
V -->|通过| C["为已验证的进度
设置检查点"]
V -->|失败| R["记录证据
并恢复"]
C --> D{"任务完成?"}
R --> S
D -->|否| S
D -->|是| F["已验证的结果"]这就是 循环工程(Loop Engineering):围绕智能体设计执行、验证、纠错与恢复的完整循环,而不仅仅是单轮的提示词。
一个循环。三项聚焦职责。
各角色是循环内部的实现边界,而不是三个各自演进任务版本的独立智能体。
| 循环职责 | 角色 | 职责范围 |
|---|---|---|
| 🧭 状态与下一步 | Manager | 在每一轮中,基于原始目标、已验证进度、失败证据与剩余工作进行重建 |
| ⚡ 执行 | Executor | 以全新上下文启动,在桌面应用或 CLI 中完成一个明确定义的步骤 |
| 🔍 真实依据 | Auditor | 独立检查实际的文件、界面、日志与测试,而非轻信 Executor 的陈述 |
只有通过独立验证的结果才会成为可信的任务状态。被驳回的结果仅作为证据保留,而非进度。当上下文被刷新、某个动作失败,或交付物未通过检查时,下一轮会从原始目标和最近一次已验证的检查点重新开始,然后从剩余工作继续推进。
桌面应用与 CLI。一个连续的任务。
LongHorizon-Harness 同时支持 GUI 与 CLI 工作流。
| 🖥️ 操作桌面 | ⌨️ 在终端中工作 |
|---|---|
| 🌐 点击、输入、滚动与浏览 | 💻 编写与修改代码 |
| 📊 操作电子表格 | ▶️ 运行命令与脚本 |
| 📄 编辑文档 | 📦 安装依赖与环境 |
| 🎨 使用设计软件 | 🔧 配置与调试系统 |
| 🧊 操作 3D 工具 | 📁 处理文件与数据 |
同一个任务可以在浏览器中开始,转移到命令行进行数据处理,再在桌面软件中继续以产出工件,最后回到终端进行验证或调试。目标、进度与证据始终处于同一状态管理系统之下。
任意模型。任意智能体后端。
LongHorizon-Harness 不绑定特定模型或智能体后端。现有模型与智能体可通过配置接入,无需改变其原有工作流。
| 层级 | 支持选项 | |
|---|---|---|
| 🧠 | 模型 | Claude、GPT、Qwen 以及智能体后端所暴露的其他模型 |
| 🤖 | 智能体后端 | Claude Code、Codex CLI、OpenCode、DeepSeek Harness(dsh,阶段一仅 CLI)以及自定义 AgentAdapter 实现 |
| 🎛️ | 角色分配 | Manager、Executor、Auditor 可分别使用不同的模型或后端 |
| 🖥️ | 执行环境 | 本地环境,并提供可插拔的 Environment 协议 |
轻量的 AgentAdapter 在保留各智能体原生执行循环的同时,由 LongHorizon-Harness 协调角色边界、已验证的任务状态以及跨轮进度。
可以为三个角色统一使用一个模型,也可以组合使用不同的模型与后端,以在质量、速度和成本之间取得平衡。
数百个真实任务。量化收益。
LongHorizon-Harness 并非仅在精心挑选的少量成功案例上演示。
我们在 GUI、CLI 以及混合计算机环境中运行了数百个复杂任务:
| 任务领域 | 任务内容 |
|---|---|
| 🌐 Web 前端 | 通过浏览器交互、开发者工具与代码修改,开发、修复并验证网站与 Web 应用 |
| 📊 数据分析与可视化 | 处理数据,制作图表与仪表盘,并核查分析结果与可视化交付物 |
| 🛠️ 运维与调试 | 排查日志、网络、性能与服务故障;配置、诊断并修复系统 |
| 🎨 设计与图像处理 | 编辑视觉素材,对齐设计参考,处理图像,并验证最终视觉质量 |
| 🎮 游戏与交互 | 构建、操作与调试游戏或交互式应用;检查交互逻辑与运行时行为 |
| 📄 文档与演示 | 编辑文档与幻灯片,涵盖内容、格式、引用、排版与最终交付 |
| 🧊 空间推理 | 完成涉及空间关系、几何、精确放置与 3D 操作的任务 |
| 🖥️ 桌面与系统设置 | 在跨应用工作流中操作桌面应用、文件与系统设置 |
| 🔬 研究与教育 | 完成文献调研、课程作业、教学材料、表格以及研究支持类工作流 |
| 🎬 创意制作 | 制作演示、视频、音频及其他媒体,并在工具间协调素材 |
| ⚙️ 工程与计算 | 使用 CAD、EDA、科学软件、开发工具以及云或 DevOps 工具链 |
| 🎫 个人服务 | 处理活动购票、日常服务、游戏以及视觉搜索类工作流 |
| 🏛️ 行政与合规 | 完成办公、法律、敏感政策表单、机构及安全意识强的提交类工作流 |
| 💼 商业与金融 | 处理市场分析、采购、贷款、销售、报销,以及跨应用的企业级工作流 |
| 🏥 医疗 | 完成医疗质量控制、保险、预防接种以及结构化健康表单类工作流 |
相同模型。相同执行后端。仅 Harness 不同。
~50% → ~80%
GUI + CLI 完成率
WeaveBench
3×
完整桌面任务完成率
OSWorld 2.0
69.7% → 77.2%
代码 + CLI 成功率
Terminal-Bench 2.1 · token 减少 24%
📊 完整基准测试结果与实验设置
| 基准 | 指标 | Claude Code | LongHorizon-Harness | 提升 |
|---|---|---|---|---|
| WeaveBench(114 个任务) | PassRate | 51.8 | 80.7 | +28.9 |
| WeaveBench | Overall | 0.702 | 0.835 | +0.133 |
| OSWorld 2.0(108 个任务) | Binary | 2.8 | 8.3 | 3.0× |
| OSWorld 2.0 | Partial | 21.5 | 35.2 | +13.7 |
| Terminal-Bench 2.1 | Success rate | 69.7 | 77.2 | +7.5 |
所有数据行均以 Qwen 3.7-Plus 作为基座模型、Claude Code 作为执行后端。
完整的结果表格与案例轨迹可在 LongHorizon-Harness 项目网站 查看。
一条命令。完整可见性。
安装
步骤 1–2 每台机器执行一次;步骤 3 每个项目执行一次。之后可从浏览器(步骤 4)或命令行(步骤 5)运行任务。
环境要求
| 用途 | |
|---|---|
| uv | 推荐的隔离安装方式。若更倾向于 pip,可跳过。 |
| Python 3.10 或更高 |
……(正文超出本站单页篇幅上限,此处截断;完整表述请见下方原文入口。)
译文由上游机器翻译生成,可能有误;判断请以英文原文为准。
英文原文(来源本站未改写)
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.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 stopping and continuing never drops it.Also adds
--reasoning-effortfor every role (with--manager-reasoning-effortand friends to override one), forwarded to whichever backend exposes it.
The transcript now reads in strict chronological order, and a graceful stop escalates to a force stop only when a worker ignores it.
- [v0.1.6 · 2026-08-15] Added 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 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.
- [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.
- [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.
- [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.
🚀 We’re iterating rapidly. Stay tuned!
Video Demo
https://github.com/user-attachments/assets/ca8b77ce-9220-4d85-a272-b346009b2454
Open the promotional video (1440p MP4)
Loop Engineering for real computer environments.
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.
flowchart LR
S["Original goal +
verified state"] --> P["Plan the next
bounded step"]
P --> A["Act in a desktop app or CLI
with fresh context"]
A --> V["Verify files, UI, logs, and tests
in the real environment"]
V -->|Pass| C["Checkpoint
verified progress"]
V -->|Fail| R["Record evidence
and recover"]
C --> D{"Task complete?"}
R --> S
D -->|No| S
D -->|Yes| F["Verified result"]This is Loop Engineering: designing the execution, verification, correction, and recovery loop around the agent — not just the prompt for a single turn.
One loop. Three focused responsibilities.
The roles are implementation boundaries inside the loop, not three agents independently growing their own versions of the task.
| Loop responsibility | Role | What it owns |
|---|---|---|
| 🧭 State and next step | Manager | Rebuilds each round from the original goal, verified progress, failure evidence, and remaining work |
| ⚡ Action | Executor | Starts with a fresh context and completes one clearly defined step in a desktop app or the CLI |
| 🔍 Ground truth | Auditor | Independently inspects the actual files, interfaces, logs, and tests instead of trusting the Executor's claim |
Only results that pass independent verification become trusted task state. A rejected result remains evidence, not progress. When a context is refreshed, an action fails, or a deliverable does not pass inspection, the next round starts from the original goal and the last verified checkpoint, then continues from what remains.
Desktop apps and CLI. One continuous task.
LongHorizon-Harness supports both GUI and CLI workflows.
| 🖥️ Operate the desktop | ⌨️ Work in the terminal |
|---|---|
| 🌐 Click, type, scroll, and browse | 💻 Write and modify code |
| 📊 Operate spreadsheets | ▶️ Run commands and scripts |
| 📄 Edit documents | 📦 Install dependencies and environments |
| 🎨 Use design software | 🔧 Configure and debug systems |
| 🧊 Operate 3D tools | 📁 Process files and data |
One task can begin in a browser, move to the command line for data processing, continue in desktop software to produce an artifact, and return to the terminal for validation or debugging. The goal, progress, and evidence remain under the same state-management system throughout.
Any model. Any agent backend.
LongHorizon-Harness is not tied to a specific model or agent backend. Existing models and agents connect through configuration without changing their original workflows.
| Layer | Supported choices | |
|---|---|---|
| 🧠 | Models | Claude, GPT, Qwen, and other models exposed by an agent backend |
| 🤖 | Agent backends | Claude Code, Codex CLI, OpenCode, DeepSeek Harness (dsh, CLI-only in phase 1), and custom AgentAdapter implementations |
| 🎛️ | Role assignment | The Manager, Executor, and Auditor can each use a different model or backend |
| 🖥️ | Execution environments | Local, with a pluggable Environment protocol |
A lightweight AgentAdapter preserves each agent's native execution loop while LongHorizon-Harness coordinates role boundaries, verified task state, and cross-round progress around it.
Use one model for all three roles, or combine different models and backends to balance quality, speed, and cost.
Hundreds of real tasks. Measured gains.
LongHorizon-Harness is not demonstrated only on a handful of carefully selected success cases.
We ran it on hundreds of complex tasks across GUI, CLI, and mixed computer environments:
| Task domain | What the tasks involve |
|---|---|
| 🌐 Web Frontend | Developing, fixing, and validating websites and web applications through browser interaction, developer tools, and code changes |
| 📊 Data Analysis & Visualization | Processing data, producing charts and dashboards, and checking analytical results and visual deliverables |
| 🛠️ Operations & Debugging | Investigating logs, networks, performance, and service failures; configuring, diagnosing, and repairing systems |
| 🎨 Design & Image Processing | Editing visual assets, matching design references, processing images, and verifying final visual quality |
| 🎮 Games & Interaction | Building, operating, and debugging games or interactive applications; checking interaction logic and runtime behavior |
| 📄 Documents & Presentations | Editing documents and slide decks, including content, formatting, references, layout, and final delivery |
| 🧊 Spatial Reasoning | Completing tasks involving spatial relationships, geometry, precise placement, and 3D operations |
| 🖥️ Desktop & System Settings | Operating desktop applications, files, and system settings across multi-application workflows |
| 🔬 Research & Education | Completing literature research, coursework, teaching materials, forms, and research-support workflows |
| 🎬 Creative Production | Producing presentations, video, audio, and other media while coordinating assets across tools |
| ⚙️ Engineering & Computing | Using CAD, EDA, scientific software, development tools, and cloud or DevOps toolchains |
| 🎫 Personal Services | Handling event ticketing, everyday services, games, and visual-search workflows |
| 🏛️ Administration & Compliance | Completing office, legal, policy-sensitive form, institutional, and safety-aware submission workflows |
| 💼 Business & Finance | Handling market analysis, procurement, loans, sales, reimbursements, and cross-application enterprise workflows |
| 🏥 Healthcare | Completing medical quality-control, insurance, immunization, and structured health-form workflows |
Same model. Same execution backend. Only the harness changes.
~50% → ~80%
GUI + CLI completion
WeaveBench
3×
Full desktop-task completion
OSWorld 2.0
69.7% → 77.2%
Code + CLI success
Terminal-Bench 2.1 · 24% fewer tokens
📊 Full benchmark results and experimental settings
| Benchmark | Metric | Claude Code | LongHorizon-Harness | Gain |
|---|---|---|---|---|
| WeaveBench (114 tasks) | PassRate | 51.8 | 80.7 | +28.9 |
| WeaveBench | Overall | 0.702 | 0.835 | +0.133 |
| OSWorld 2.0 (108 tasks) | Binary | 2.8 | 8.3 | 3.0× |
| OSWorld 2.0 | Partial | 21.5 | 35.2 | +13.7 |
| Terminal-Bench 2.1 | Success rate | 69.7 | 77.2 | +7.5 |
All rows use Qwen 3.7-Plus as the backbone and Claude Code as the execution backend.
Full result tables and case trajectories are available on the LongHorizon-Harness project website.
One command. Full visibility.
Installation
Steps 1–2 are once per machine; step 3 is once per project. Then run tasks from the browser (step 4) or the command line (step 5).
Requirements
| Needed for | |
|---|---|
| uv | The recommended isolated install. Skip it if you prefer pip. |
| Python 3.10 or lat |
... (truncated at the site's per-page length limit; see the source link below for the full text.)
这条还缺什么证据?
下面每条都由本条已有字段推出(等级、理由、商业模式、来源次数、是否演示), 本站不生成推测性结论;通用验证方法放在方法论页。
- 可核验的收入或付费证据查官网定价页与付费口径;第三方数据源(如 GetLatka)只作旁证,需标注来源与时点。
- 商业模式未定确认按席位/按用量/授权还是开源托管版收费;开源项目另查 LICENSE 与是否存在付费版。
- 只有单一来源找一手站点或其他渠道是否重复出现同一产品;社区热帖数量不等于商业进展。
通用验证清单(谁有这个问题/谁愿意付费/一个人能交付哪一小步)见我们的筛选方法。