How to build a coding agent harness from an empty loop, one fix at a time

TejasKumar_ · x · 2026-11-05

IBM AI engineer Tejas Kumar published a pre-talk blog post for AI Engineer Code Summit: build a coding agent harness by wrapping one model call in a while(true) loop and adding one piece at a time, each fixing a failure you just watched happen. He defines the harness as everything around the model (tool loop, file/shell tools, caps and gates, context, checks — Claude Code is one), stresses that the model is just a function taking messages and returning one, and builds the demo in TypeScript with the Anthropic SDK on Claude Haiku 5.5, going from empty loop to HTTP-servable harness in one hour across 9 git branches.

Original post →

More from coding & agent

coding & agent channel →