pi-from-scratch Hits 1,057 Stars in Nine Days Teaching a 600-Line TypeScript Coding Agent Line by Line
SaladDay/pi-from-scratch (created 2026-08-09, MIT, pushed again 2026-08-18) reached 1,057 stars and 75 forks by rebuilding the pi agent's data flow as 'nano-pi' — a ~600-line TypeScript coding agent that reads files, edits code, and runs commands. The companion site pairs the prose with a right-hand editor that fills in the source as you read, plus a pre-generated Trace view that lets you step through execution line by line without making any model calls. It runs against any OpenAI-compatible endpoint via NANOPI_API_KEY / NANOPI_BASE_URL on Node 22+. The velocity here — over 100 stars/day sustained for a tutorial repo — says agent-harness internals are still the thing developers most want demystified.
Source
↳ Follow the thread