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

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