最新资讯
reddit.com OpenAI 称 Astra 仅满足 10% 安全任务标准 dev.to FreeToken:在自有 GPU 上运行前沿 MoE 模型及其内存需求 dev.to 当 AI Agent 说“完成”时,究竟完成了什么? dev.to 部署 Underdog Bark 3.0 Pro:逐字转写、自定义后端与分块设置 dev.to 为艰难对话构建 AI:五个 Agent、一条安全正则与一位盲评监督者 techcrunch.com Palo Alto Networks 洽谈以 5 亿美元收购 AI Agent 安全初创公司 Clutch theinformation.com 黄仁勋被要求就涉华间谍指控向国会作简报 www.infoq.com Edera 推出 Object Capability Bounded Authority,试图将凭证与 AI Agent 工作负载隔离 wechat 这波杀疯了!旗舰级模型不限量、1个月视频额度免费领 bloomberg.com AI 抛售蔓延至信用市场,软银领跌亚洲美元债 dev.to 如何在专用 GPU 服务器上用 OpenAI 兼容 API 部署 LLM dev.to 审计 153 份 Claude Code 与 Codex 会话记录:User-Agent 与 URL 中的邮箱泄露
多元动态
登录 注册
智能体 github.com · @irthomasthomas

Google Research 开源 Harness²:面向开放世界的递归 Agent Harness 框架

原文 我的收藏

Google Research 发布 Harness²,一个即插即用的递归 agent harnessing 框架,在模型权重固定前提下分两层递归:任务级通过对比式 Propose–Probe–Compose 在无真值反馈下改进当前任务的执行 harness;harness 级则用已采纳的 harness 与经验教训持续更新改进 harness。项目称单步即可在 WorkBuddy-Bench、JobBench 和 LAB 上分别带来最高 11.5 分、4.5 分和 11.8 个百分点的提升,支持并行/串行递归、OpenCode 与 Codex 执行器,并提供无需模型凭证的本地 demo。

AI推荐理由 google-research 发布的 Harness² 框架,提出任务级与 harness 级双层递归的 agent harness 优化方法,在固定模型权重下通过 Propose–Probe–Compose 对比式改进执行 harness。README 给出 WorkBuddy-Bench +11.5、JobBench +4.5、LAB 部分通过率 +11.8 个百分点的具体数字,并支持 OpenCode/Codex 执行器与三个基准,信息密度高、可复现路径明确。局限:数据来自项目自述,尚无第三方复现或论文佐证;星数仅作传播信号,不代表效果验证。

82 评论 10 Star 17,184 社区积分 46 榜单名次 21

正文

Recursive Agent Harnessing for an Open World A **harness** is the system around a model that enables it to act as an agent: prompts, tools, memory, skills, orchestration, and more. **Harnessing** is the process of optimizing that system. Harness² is a plug-and-play framework for **recursive agent harnessing** in an open world, where agents encounter tasks unseen during harness design. It connects two levels of recursion while keeping model weights fixed: * **Task-level recursion** refines the execution harness for the current task through a contrastive **Propose–Probe–Compose** step: propose edits, probe their effects on the same task, and compose a refined harness from behavioral contrasts between executions, without ground-truth feedback. * **Harnessing-level recursion** updates a persistent *improvement harness* with adopted harnesses and evidence-supported lessons from each task to guide future refinement. Across three professional benchmarks and four model–harness configurations, a single Harness² step improves GLM-5 and Gemini 3.5 Flash over their base harnesses, with gains of up to 11.5 points on WorkBuddy-Bench, 4.5 points on JobBench, and 11.8 percentage points on LAB's partial pass rate. Increasing the task-level recursion budget brings further gains. The release supports **parallel and sequential recursion**, **OpenCode and Codex executors**, and **JobBench, LAB, and WorkBuddy-Bench**. ## Video overview https://github.com/user-attachments/assets/76b10548-b14b-4c8f-9aa5-a93662df4d56 ## Contents - [Video overview](#video-overview) - [Harness components](#harness-components) - [Install](#install) - [Run a benchmark](#run-a-benchmark) - [Experiments](#experiments) - [Web access](#web-access) - [Results and resume](#results-and-resume) - [Citation](#citation) - [Contributing](#contributing) - [License](#license) - [Disclaimer](#disclaimer) ## Harness components Harness² exposes eight editable components around the model: **system prompt, guardrails, memory, tool guidance, subagents, skills, scripts, and plugins**. They control context construction, the tool interface, delegation, and behavior inside the tool loop. ## Install Use **Linux, Python 3.12, and [uv](https://docs.astral.sh/uv/getting-started/installation/)**. From the repository root: ```bash uv venv --python 3.12 .venv source .venv/bin/activate uv pip install -e '.[render]' harness2-demo --output runs/demo --k 2 ``` The local demo runs both recursion modes with deterministic editors and real Python executions. It requires no model credentials. For model-backed benchmarks, install **Node.js 20+, the Google Cloud CLI**, and the [benchmark dependencies](docs/SETUP.md#requirements). LAB needs Pandoc and Poppler; WorkBuddy-Bench needs Docker. Then configure your models: ```bash cp .env.example .env # Edit .env with your Vertex AI project and model IDs. gcloud auth application-default login ``` See the [setup guide](docs/SETUP.md) for model settings, authentication alternatives, and the [Codex executor](docs/SETUP.md#codex-executor). ## Run a benchmark The following example installs LAB and runs one task, then evaluates and reports its result. Model-backed runs incur API costs; start with a small task selection. ```bash harness2-setup lab harness2-check --bench lab harness2 --bench lab --k 1 --mode parallel \ --only-domains antitrust-competition --max-tasks 1 harness2-judge --bench lab --k 1 --mode parallel harness2-report --bench lab --k 1 --mode parallel ``` Sequential recursion runs the same commands with `--mode sequential`. `--k` is the task-level recursion budget; see [Experiments](#experiments). Judging and reporting must use the same benchmark, executor, subset, `--k`, `--mode`, and seed as the refinement run. Add `--dry-run` to `harness2` to preview task selection without model calls. | Benchmark | Tasks | Install | Guide | |---|---|---|---| | JobBench | Professional work | `harness2-setup jb` | [JobBench](docs/BENCHMARKS.md#jobbench) | | LAB | Legal work | `harness2-setup lab` | [LAB](docs/BENCHMARKS.md#lab) | | WorkBuddy-Bench | Office, web, and code | `harness2-setup wb` | [WorkBuddy](docs/BENCHMARKS.md#workbuddy-bench) | Choose one benchmark per command. WorkBuddy also takes `--subset office`, `--subset web`, or `--subset code` on every command after setup. The [benchmark guides](docs/BENCHMARKS.md) cover each one's data, domains, and grading. ## Experiments Scale task-level recursion in two ways: **parallel recursion** explores multiple candidate harnesses and composes refinements from their execution evidence; **sequential recursion** carries the refined harness and accumulated evidence through successive Propose–Probe–Compose steps. Parallel recursion explores wider; sequential recursion refines deeper. | Option | Behavior | |---|---| | `--k 1` | One Propose–Probe–Compose step | | `--k K --mode parallel` | Probe `K` general and `K` domain-specific candidates, then produce `K` compositions | | `--k K --mode sequential` | Refine the harness through `K` successive steps | | `--substrate cx` | Use Codex instead of the default OpenCode executor | After each task, harnessing-level recursion retains the adopted harness and evidence-supported lessons to guide future refinement. See the [experiment guide](docs/EXPERIMENTS.md) for task selection, concurrency, reproducibility, and baseline comparisons. ## Web access Executor network access is unrestricted, and Codex runs with its sandbox disabled. Public benchmark rubrics may be accessible online. Before evaluation, configure [network restrictions](docs/EXPERIMENTS.md#web-access) to prevent access to benchmark answers and grading criteria. ## Results and resume Results are saved under `runs/`, organized by benchmark and subset where applicable. They include task summaries, deliverables, adopted harnesses, reflection notes, and evaluation results. Repeat the same command to resume. Use a new `HARNESS2_RUNS_DIR` when changing models or task selection. See [results and resume](docs/EXPERIMENTS.md#results-and-resume) for details; each command also supports `--help`. ## Citation ```bibtex @article{xu2026harness2, title = {Harness$^2$: Recursive Agent Harnessing for an Open World}, author = {Xu, Ruiyao and Chen, Yanfei and CuiZhu, Zhongying and Dalvi Mishra, Bhavana and Ming, Yifei and Yu, Han and Han, Rujun and Lee, Chen-Yu and Pfister, Tomas}, journal = {arXiv preprint arXiv:2610.14224}, year = {2026}, url = {https://arxiv.org/abs/2610.14224} } ``` ## Contributing See [CONTRIBUTING.md](CONTRIBUTING.md). ## License Harness² is licensed under [Apache 2.0](LICENSE). Third-party code under [`third_party/`](third_party/README.md), benchmarks, and datasets retain their upstream licenses; see [third-party notices](dependencies/README.md). ## Disclaimer This is not an officially supported Google product. This project is not eligible for the [Google Open Source Software Vulnerability Rewards Program](https://bughunters.google.com/open-source-security).

来源报道 · 3 篇 · 以下链接均前往原始媒体

← 返回精选动态 原文

更多内容