I Built a Tiny Claude Code / Codex Clone to Understand Coding Agents

The model writes code, but the product lives in the loop around it: context, tools, patches, permissions, execution, memory, and human…