Harness

AI Agent Harness 原始碼拆解

一條讀 agent harness 的學習路徑,從原始碼讀起。每一句論斷都釘在一個能點開的檔案與 commit 上。

基礎

  1. What a Harness Actually Is, in 190 Lines of Code

    The word harness is everywhere now, and almost nobody points out that it names two things at once: the program that runs the loop, and the files you prepare for it inside your own repository. Keep those fused and every harness article you read will, at some point, stop lining up. This one pulls them apart using the main loop of mini-swe-agent — 190 lines, short enough to read in one sitting, and each of the five subsystems (instructions, tools, environment, state, feedback) lands on a line number you can point at.