What makes a coding agent usable: five fixes in 121 lines of Python

Streaming, retries, saved sessions, context compaction, and a Ctrl-C that does the right thing, in 121 lines of Python.

October 9, 2026 · Kiyarash Fazeli

Build a coding agent in 306 lines of Python

How a coding agent works: a loop around one HTTP request, nine tools, and a permission prompt, in 306 lines of Python.

October 9, 2026 · Kiyarash Fazeli