#142142nd of 171 in Learning and cookbooks
pi-textbook
Chinese-language course for building a Pi-style coding agent in TypeScript
Watch puts pi-textbook on your watch list: its new releases and known problems since your last visit. Kept in this browser, no account.pi-textbook is on your watch list. Its new releases and problems show there.
- Stars
- 1.4k
- License
- MIT
- Last commit
- Jul 2026
- Language
- TypeScript
132 on 22 Jul 20261,436 on 25 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
An HTML textbook and website that walks through 15 checkpoints (00–14) of building a coding agent in TypeScript: message protocol, streaming models, provider adapter, tools, agent loop, session tree, context compaction, extensions and eval. Each chapter pairs text with a real commit, focused tests and a fault experiment. The course code lives in a separate branch of the hahhforest/pi repo.
Who it is for: TypeScript developers who want to learn how coding agents work by building one
Strengths
- Each chapter maps to a real commit with focused tests you can checkout and run
- Covers tools, session tree, context compaction, extensions and an eval harness
- Practice command generates an answer-free exercise directory per checkpoint
- Online reading site plus local dev server via npm
Weaknesses
- Main README and chapters are in Chinese; English README is a separate file
- Course code is in another repo's branch, not in this repository
- Unofficial community course, not affiliated with Pi or Earendil Works
- Early chapters use a scripted model; only one chapter covers a real provider adapter
What it needs
- no GPU
- Needs Node.js, npm
Also in Learning and cookbooks
See all 171| Rank | Project | Score |
|---|---|---|
| #140 | deep-learning-for-image-processingChinese video course on vision networks with PyTorch and TensorFlow code | 30 out of 100 |
| #141 | unetKeras U-Net for binary image segmentation on the ISBI membrane dataset | 29 out of 100 |
| #143 | scimlbookMIT lecture notes on parallel computing and scientific machine learning | 27 out of 100 |
| #144 | homemade-machine-learningFrom-scratch Python implementations of classic ML algorithms with Jupyter demos | 26 out of 100 |
| #145 | langchain-chinese-getting-started-guideChinese-language LangChain tutorial with runnable OpenAI examples | 26 out of 100 |