OF

os-factory/har

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

135 stars 16 forks 质量 71 趋势 21Apache-2.0

HAR:为编码代理提供开放代理框架(CLI + MCP)。Claude Code、Cursor 和 Codex 的独立工作树、确定性验证和软件工厂工作流。

概览

HAR是一个开源的AI编码工作流,你可以信任并验证这些工作流。它独立运行每个编码代理,采用确定性验证、可验证的证据和完整的可观测性。运行一个或整个代理群,保持相同的质量和控制。它包裹你已经使用的工具、测试和配置,并由你自定义。 ▶ 介绍演示,点击缩略图可在YouTube观看 - 核心机束,既有CLI也有MCP服务器。它将任何仓库转化为独立的工作树,并设有确定性的启动、验证和拆除阶段,供编码代理工作。- HAR的开源本地仪表盘。它为你提供了一个地方,跟踪项目中的每个仓库、工作树、运行、验证和工件。- 不断壮大的开源插件生态系统,进一步扩展了HAR的可定制性和功能性。 运行编码代理很简单。

概述(AI 翻译)

HAR 是一个开源的 agent harness,用于 AI 编码工作流程,您可以信任并验证。它在每个编码代理的独立、一致的 worktree 中运行,具备确定性验证、可验证证明和完全可观察性。运行一个或整个代理群,质量和控制都一样。它包裹你已经使用的工具、测试和配置,且仍由你自定义。

▶ 介绍演示,点击缩略图可在YouTube观看

与Claude代码****光标 ·Codex任何MCP特工。

开箱即用内容

  • HAR. 核心机束,既有CLI也有MCP服务器。它将任何仓库转化为独立的工作树,并设有确定性启动、验证和拆除阶段,供编码代理工作。
  • 任务控制。 HAR的开源本地仪表盘。它为你提供了一个地方,跟踪项目中每个仓库、工作树、运行、验证和工件。
  • 插件。 一个不断壮大的开源插件生态系统,进一步扩展了HAR的可定制性和功能性。

安装

开始吧

完整攻略:快速入门。

为什么是HAR

运行编码代理很简单。

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

HAR: The open harness for AI coding workflows you can trust and verify

HAR is an open-source agent harness for AI coding workflows you can trust and verify. It runs every coding agent in its own isolated, consistent worktree, with deterministic validation, verifiable proof, and full observability. Run one agent or a whole fleet, with the same quality and control. It wraps the tools, tests, and CI you already use, and stays yours to customize.

Works with Claude Code · Cursor · Codex · any MCP agent.

What’s included out of the box

  • HAR. The core harness, available as both a CLI and an MCP server. It turns any repository into isolated worktrees with deterministic launch, verify, and teardown stages for coding agents to work in.
  • Mission Control. HAR’s open-source local dashboard. It gives you one place to keep track of every repository, worktree, run, validation, and artifact across your projects.
  • Plugins. A growing ecosystem of open source plugins that further expand HAR’s customizability and functionality.

Optional, installed separately: herdr-har-ui, a layout for the herdr desktop app that puts your HAR projects, their slots, the agents running in them, verification health and OTel cost next to your terminals. It can start a slot with Claude Code or Codex in one click, or chat with an agent in a repo without taking a slot.

Install

npm install -g @osfactory/har

Get started

cd my-app
har onboard               # scaffold .har/ and print a prompt for your coding agent
har env launch 1          # isolated worktree + running stack for agent slot 1
har env verify 1 --full   # run the project's real checks, record what passed

Full walkthrough: Quickstart.

Why HAR

在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →