A Coding Agent from Scratch
A series about building a coding agent from first principles — no framework, no magic. Just a model, a loop, and a handful of tools. Seven parts are planned:
- The whole secret is a while loopplanned
- Before function callingplanned
- Tool calls with nothing but a promptplanned
- A working agent in ~100 linesplanned
- The three tools of a coding agentplanned
- When the context window fills upplanned
- MCP, subagents, and sandboxesplanned