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

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

October 9, 2026

Build a coding agent in about 300 lines of Python

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

October 9, 2026