Seven Mental · 心智七篇
← Knowledge Atlas · Source

Harness Engineering 为什么是 Agent 时代的"控制论"?

控制论视角的 harness engineering:三次同构(调速器→K8s→harness),隐性知识编码
SOURCE · HARNESS = CYBERNETICS · George Zhang · OpenClaw

Harness Engineering Is the Cybernetics of the Agent Era

Three isomorphisms — Watt governor → K8s controller → Agent harness

Era
Controlled object
Control mechanism
Human role
Industrial Revolution
1788
steam engine rpm
centrifugal governor (Watt governor)
turn the valve by hand design the governor
Cloud Computing
2014
service state
Kubernetes controller (reconcile loop)
restart by hand write the target spec
Agent Era
2025-
codebase
Harness (feedback loops)
write code by hand design environment & rules

The common pattern — humans shift from executor to designer, from direct control to setting constraints. Wiener’s cybernetic root κυβερνήτης (helmsman) names this role change exactly.

Key insight”Agents don’t self-evolve. If you don’t write the knowledge down, the agent will make the same mistake on the 100th try as on the first.” — LLMs are the first technology that lets you close high-level feedback loops on architectural consistency and design correctness
→ harness-engineering · cybernetics · guardrails · acijimo.studio

Harness Engineering 为什么是 Agent 时代的”控制论”?

概述

本文从控制论(Cybernetics)视角解读 harness engineering,建立三次同构映射:瓦特离心调速器 → Kubernetes controller → agent harness。核心论点:agent 失败的根因不是模型能力不足,而是隐性工程知识未被编码为机器可读形式。

三次同构

时代控制对象控制机制人类角色转变
工业革命蒸汽机转速离心调速器手动拧阀门 → 设计调速器
云计算服务状态K8s controller手动重启 → 编写目标 spec
Agent 时代代码库Harness手写代码 → 设计环境与规则

共同模式:人从执行者变为设计者,从直接操控变为设定约束。Wiener 控制论的核心词 κυβερνήτης(舵手)精确描述了这个角色转变。

反馈回路的层级

代码库中已有的反馈回路都在底层:

  • 编译器:语法层面
  • 测试:行为层面
  • Linter:风格层面

缺失的是高层反馈回路——架构一致性、设计方案正确性、抽象层合理性。LLM 首次使这些高层回路可以闭合。

核心洞察

“Agent 不会自主学习进化。如果不把知识写出来,Agent 第一百次犯的错会和第一次一模一样。”

这与 OpenAI harness engineering 实践 中的结论完全一致:agent 失败是环境不足的信号。需要做的是将隐性判断标准编码为机器可读形式——架构文档、自定义 linter、审查规则。

与其他概念的关联

  • Harness engineering — 本文为 harness 提供了控制论的理论框架
  • Guardrails — 反馈回路的运行时表现形式
  • ACI — “校准传感器与执行器”是 ACI 设计的另一种表达

References

  • sources/george-zhang-harness-engineering-cybernetics.md