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.

Stars
60.2k
License
Apache-2.0
Last commit
Nov 2026
Last release
Nov 2026
Language
Python
Stars, last 35 weeks+60,040
24 Mar 2026: 181 stars31 Mar 2026: 186 stars7 Apr 2026: 190 stars14 Apr 2026: 191 stars21 Apr 2026: 195 stars28 Apr 2026: 200 stars5 May 2026: 200 stars12 May 2026: 200 stars19 May 2026: 202 stars26 May 2026: 204 stars2 Jun 2026: 206 stars9 Jun 2026: 206 stars16 Jun 2026: 206 stars23 Jun 2026: 206 stars30 Jun 2026: 207 stars7 Jul 2026: 208 stars14 Jul 2026: 212 stars21 Jul 2026: 15,659 stars28 Jul 2026: 24,966 stars4 Aug 2026: 31,818 stars11 Aug 2026: 36,029 stars18 Aug 2026: 38,977 stars25 Aug 2026: 42,053 stars1 Sept 2026: 43,953 stars8 Sept 2026: 45,164 stars15 Sept 2026: 47,663 stars22 Sept 2026: 50,143 stars29 Sept 2026: 51,809 stars6 Oct 2026: 52,648 stars13 Oct 2026: 54,176 stars20 Oct 2026: 55,310 stars27 Oct 2026: 56,451 stars3 Nov 2026: 57,302 stars10 Nov 2026: 57,964 stars17 Nov 2026: 58,903 stars24 Nov 2026: 60,221 stars

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
Also in Learning and cookbooks
RankProjectScore
1ai-engineering-from-scratchFree curriculum of 542 coding lessons on building AI systems from scratch81.1k starsMIT92 out of 100
3cs249r_bookOpen textbook series on ML systems, with TinyTorch, labs and hardware kits30.3k starscustom license86 out of 100
#4generative-ai-for-beginners21-lesson course on building generative AI apps in Python and TypeScript124.5k starsMIT83 out of 100
#5ai-for-beginners24-lesson AI curriculum with notebooks in PyTorch and TensorFlow Live demo ↗ (opens in a new tab)71.4k starsMIT82 out of 100
#6agents-towards-productionRunnable tutorials for taking LLM agents from prototype to production22k starscustom license82 out of 100