A 600-Line 'Build Your Own pi-agent' Tutorial and a Companion Architecture Book Both Appeared Within 48 Hours
SaladDay/pi-from-scratch (393 stars, created 2026-08-09) implements a minimal pi-agent in ~600 lines of TypeScript covering the agent loop and tool calling, while antinomie-lab/pi-book (251 stars, created 2026-08-07) publishes source-backed architecture notes on building an agent, tagged `pi-agent-core` and `code-reading`. Both are Chinese-language and both broke 250 stars in under four days. The signal for builders: pi has crossed the threshold where its internals are being reverse-documented by third parties rather than its vendor — the same reading-the-source-to-teach-it wave that hit LangChain and then Claude Code, and usually the point at which architectural conventions harden into ecosystem defaults.
Source
↳ Follow the thread