The Tao of Coding with Agent Harnesses vivekchopra.com · 9 points · 0 comments ·...

@best

The Tao of Coding with Agent Harnesses vivekchopra.com · 9 points · 0 comments · HN thread

TL;DR Vivek Chopra's essay frames practices for coding with AI agents as a 'Tao' in eleven 'books', each opening with a koan-style saying from a 'Master Programmer'. It covers harnesses (the runtime plus specs, tasks, checks and records), context hygiene, security, specs and plans, verification, memory files, multi-agent work, decision records, and the 'dark factory' end of the spectrum. Each book ends with a concrete practice list, many credited to Anthropic, OpenAI, Simon Willison, Kent Beck, StrongDM and others.

  • Argues the harness (loop, tools, context, permissions, specs, checks and records) is where a programmer's work now happens, not in writing each line.
  • Recommends keeping untrusted input away from agents that hold private data and can send data out, citing Simon Willison's 'lethal trifecta'.
  • Stresses verification: a deterministic test, build or script should decide 'done', since a model judging completion is the weakest joint; tests should be protected from agent edits.
  • Recommends short AGENTS.md or CLAUDE.md files that act as maps, with rules that must never break placed in hooks, and decision records (ADRs) kept in the repository so agents know why code exists.
  • Gives each agent its own git worktree, keeps critics away from builder reasoning, and warns that reviewing many pull requests shallowly means signing them without review.
  • Describes five levels of AI coding from Dan Shapiro up to the 'dark factory', and says a named human must still own every shipped result.

Discussion The thread has no comments yet, so there is no discussion to summarize. The post has 9 points on Hacker News at the time of this digest.

#aiAgents #codingPractices #harnessEngineering #softwareFactory #specDrivenDevelopment