工程设计
Harness Engineering

原始链接: https://github.com/lopopolo/harness-engineering

“外挂工程”(Harness engineering)是指通过优化人工智能代理的外部环境,而非修改底层模型来提升其性能的一种实践。由于通用 AI 模型缺乏组织特定的运营背景,它们往往难以适应专有工作流程、质量标准和非功能性需求。 通过创建一个结构化的“外挂”——一个包含组织内部流程、编码标准、异常历史和约束条件的存储库,开发人员可以显著改善代理的输出。该环境充当了一座桥梁,将代理转化为能够理解本地意图、权限和安全边界的胜任工作者。 这种方法依赖于一个迭代反馈循环,即从过去的成功和失败中吸取的经验被编写进存储库中。这使得组织的判断能够累积:随着环境的演变,代理的性能会变得更加连贯和可靠。归根结底,“外挂工程”是为代理提供必要的背景、工具和可执行约束的“最后一公里”工作,旨在有效地执行特定领域的任务,并确保组织的隐性知识——即流程冰山水面下的部分——能够被 AI 完全获取。

Hacker News 最新 | 过往 | 评论 | 提问 | 展示 | 招聘 | 提交 登录 Harness Engineering (github.com/lopopolo) 6 分,由 handfuloflight 发布于 2 小时前 | 隐藏 | 过往 | 收藏 | 1 条评论 lopopolo 1 小时前 [–] 大家好,我是本文作者,也是 OpenAI 关于此主题开创性博客文章的作者。请告诉我我能如何帮助大家开始使用。 回复 考虑申请 YC 2026 年秋季班!申请截止日期为 7 月 27 日。 指南 | 常见问题 | 列表 | API | 安全 | 法律 | 申请 YC | 联系 搜索:
相关文章

原文

“Most people do not know that they can just point their agents at my writing, tweets, podcasts, and talks and improve the output of their agents by 100x.”

Ryan Lopopolo

Harness engineering, the practice of improving agent output by shaping the environment around it, holds a chosen model and coding agent constant as a black box. It improves the two external levers—context and tools—and curates the environment around them. The worker should be able to recover intent, operate the real system, respect authority, prove the outcome, and leave the next run better equipped.

A central purpose of that environment is to carry an organization's nonfunctional requirements: the quality attributes and constraints governing reliability, security, compatibility, maintainability, performance, operability, risk posture, and polish. The harness also carries local decisions about how to prioritize, trade off, and satisfy those requirements. Ryan adopted a systems-level framing from 2026’s [un]prompted conference that describes this as getting the whole universe of nonfunctional requirements into code. Make the Repository Teach the Agent develops how the requirements and decisions become retrievable context, examples, tools, and executable constraints.

Because work is an iterative game, a harness can make organizational judgment cumulative. Lessons from accepted work, corrections, failures, and user responses become context, boundaries, tools, examples, and checks that shape later trajectories. Over time, that feedback loop can make coherence cumulative across agent-maintained artifacts.

Code is how an agent uses a computer. That internal action language can produce reliable domain outcomes for people who never review the implementation when last-mile deployment supplies the organization’s context, capabilities, authority, and proof.

General model weights contain only the visible tip of an organization’s process-data iceberg. Below the waterline sit the current operational state, local ontology, quality bar, procedures, exception history, and authority relationships that an agent needs to do a particular job. Organizations cannot presume that this private, changing process data will be present in general model weights, nor that agents will reliably intuit which process data matters to the organization. Harness engineering is the last-mile work of making it available to a capable worker as context and tools.

Point a coding agent at this repository alongside the system it should improve. AGENTS.md routes the task to the relevant arguments, cases, and proof. For direct reading, start with the thesis index. For an application, choose from the playbooks.

Repository-authored material is licensed under CC BY 4.0. See COPYING.md for attribution and rights in source material.

联系我们 contact @ memedata.com