✷ 하네스
AI 에이전트 하네스 소스 해부
에이전트 하네스를 소스코드에서 읽어 나가는 학습 경로. 모든 주장은 열어볼 수 있는 파일과 커밋에 고정돼 있습니다.
기초
- 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.
- Writing a pi extension that tells you when the agent is done
I keep switching away while pi works. It's a long edit, or a test suite, and there's nothing to watch, so I go read something else. Then I come back to a prompt that finished four minutes ago. The other direction is worse: it died on a rate limit right after I looked away, and I found out much later.
- Choosing an open-source coding agent: agent, workbench, or skill pack?
Three things get sold under one name. They don't substitute for each other, and mixing them up is why every shortlist you build feels wrong.