kapynOpen Source

pi-from-scratch — 600 行 TypeScript 写成的超级迷你版 pi,让你轻松从 0 写出属于你的 pi-agent

pi-from-scratch is a minimal 600-line TypeScript implementation for building custom AI coding agents. The project strips away framework bloat to expose the core mechanics of LLM agent loops, tool-calling, and execution flows. It offers developers an educational blueprint for understanding how autonomous coding assistants function under the hood.

GitHub·Aug 9, 2026

Opening Kapyn…