Coding agent, built from scratch
Kebayah AI
A coding agent small enough to read in an afternoon and understand completely
The problem
Coding agents get treated as magic. They are not. Underneath, it is a loop and a handful of tools the model is allowed to call — but almost nothing explains that from first principles.
What I built
Written from scratch in Python with no framework in the way: the agent loop plus four tools — read a file, list files, edit a file, run a shell command. That is the whole thing, and it is enough to do real work.
What changed
Runs on a budget: pennies per task on a small model, or nothing at all through a free provider. Fully open source, and written up step by step for engineers who want to build their own rather than install someone else's.