22nd of 171 in Learning and cookbooks
ai-agent-book
Open-source book on AI agent design with 109 runnable experiments
Run it:Vast.ai ↗ (opens in a new tab)Clore.ai ↗ (opens in a new tab)Affiliate links, no effect on a rank.
Watch puts ai-agent-book on your watch list: its new releases and known problems since your last visit. Kept in this browser, no account.ai-agent-book is on your watch list. Its new releases and problems show there.
- Stars
- 60.2k
- License
- Apache-2.0
- Last commit
- Nov 2026
- Last release
- Nov 2026
- Language
- Python
181 on 24 Mar 202660,221 on 24 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
A Chinese-language book, "深入理解 AI Agent", in 10 chapters built on the formula Agent = LLM + context + tools. It covers context engineering, memory and RAG, tools and MCP, coding agents, voice and computer use, evaluation, post-training, continual improvement and multi-agent systems. The repo holds the manuscript, PDF/EPUB builds in 15 languages, and 109 Python experiments.
Who it is for: Engineers learning to build and evaluate LLM agents, Chinese readers first
Strengths
- 109 experiments organized by chapter, with uv.lock for reproducible per-chapter environments
- PDF and EPUB downloads plus an online reader, in 15 languages
- Covers context, memory, tools, evaluation, post-training and multi-agent topics in one text
- Pins commits for the external repos used in reproduction tracks
Weaknesses
- Chinese original is canonical; community translations may lag behind it
- README says experiment code is generated by coding agents, not read line by line
- Most experiments need a provider API key; external repos must be cloned manually
- Cloning the repo does not mean every experiment has been run; status is tracked separately
What it needs
- GPU optional
- Needs Python 3.11-3.13, uv or pip, LLM provider API key, pandoc and xelatex (PDF build only), Ollama, CUDA, Playwright, FFmpeg (some experiments)
- Models: Kimi, GLM, DeepSeek, SiliconFlow, OpenRouter
What changed
From the release notes. No flag means the note does not say so, not that the upgrade is safe. Releases and problems by RSS
Head to head
Also in Learning and cookbooks
See all 171| Rank | Project | Score |
|---|---|---|
| 1 | ai-engineering-from-scratchFree curriculum of 542 coding lessons on building AI systems from scratch | 92 out of 100 |
| 3 | cs249r_bookOpen textbook series on ML systems, with TinyTorch, labs and hardware kits | 86 out of 100 |
| #4 | generative-ai-for-beginners21-lesson course on building generative AI apps in Python and TypeScript | 83 out of 100 |
| #5 | ai-for-beginners24-lesson AI curriculum with notebooks in PyTorch and TensorFlow | 82 out of 100 |
| #6 | agents-towards-productionRunnable tutorials for taking LLM agents from prototype to production | 82 out of 100 |