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

First Post

Introduction I am Mohammad Fazeli, a computer engineer. Finding exciting inner working of technologies, logic and reasoning behind them makes me study them, sharing with you is a way of giving back to the great authors on the internet. I started publishing when I found how easily one can forget what one learns. Now I present my learnings here, so we can both remember the nitty gritty parts.

May 1, 2023 · Kiyarash Fazeli