#88th of 18 in Learning and cookbooks

ai-agent-book

Open book on AI agent design, with 109 runnable companion experiments

Stars
54.2k
License
Apache-2.0
Last commit
Sep 2026
Language
Python
Stars, last 29 weeks+54,157
25 Mar 2026: 82 stars1 Apr 2026: 88 stars8 Apr 2026: 90 stars15 Apr 2026: 92 stars22 Apr 2026: 98 stars29 Apr 2026: 100 stars6 May 2026: 100 stars13 May 2026: 101 stars20 May 2026: 102 stars27 May 2026: 104 stars3 Jun 2026: 106 stars10 Jun 2026: 106 stars17 Jun 2026: 106 stars24 Jun 2026: 106 stars1 Jul 2026: 107 stars8 Jul 2026: 108 stars15 Jul 2026: 726 stars22 Jul 2026: 17,235 stars29 Jul 2026: 26,280 stars5 Aug 2026: 32,648 stars12 Aug 2026: 36,318 stars19 Aug 2026: 39,474 stars26 Aug 2026: 42,266 stars2 Sept 2026: 44,099 stars9 Sept 2026: 45,257 stars16 Sept 2026: 47,904 stars23 Sept 2026: 50,466 stars30 Sept 2026: 51,857 stars7 Oct 2026: 52,784 stars14 Oct 2026: 54,239 stars

82 on 25 Mar 202654,239 on 14 Oct 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

A Chinese-language book, "Understanding AI Agents in Depth", with 10 chapters built on the formula Agent = LLM + context + tools. It covers context engineering, memory and RAG, tools and MCP, coding agents, interaction, evaluation, post-training and multi-agent collaboration. The repo holds the book sources, PDF and EPUB builds in 15 languages, and 109 Python experiments installed per chapter with uv or pip.

Who it is for: Engineers learning to build and evaluate LLM agents, Chinese readers first

Strengths

  • 109 companion experiments mapped to chapters, installable per chapter via uv.lock or pip
  • PDF and EPUB in 15 languages, plus an online reader
  • Covers evaluation and post-training (SFT/RL), not only prompting and tool use
  • External repos are pinned to commit SHAs for reproducible setups

Weaknesses

  • Original text is Chinese; the other 14 translations are community-made and may lag
  • README says experiment code is agent-generated and not read line by line by the author
  • Installing or cloning does not mean an experiment was run; status is tracked separately
  • Most experiments need provider API keys; some need CUDA, browsers or external repos

What it needs

  • GPU optional
  • Needs Python 3.11-3.13, uv or pip, LLM provider API keys, pandoc and xelatex (only to build the PDF)
  • Models: Kimi, GLM, DeepSeek, OpenRouter, Siliconflow

Also in Learning and cookbooks

See all 18
Also in Learning and cookbooks
RankProjectScore
1ai-engineering-from-scratchHands-on curriculum for building AI systems from math to agents69.1k starsMIT83 out of 100
2generative-ai-for-beginners21-lesson course on building generative AI apps in Python and TypeScript121.4k starsMIT81 out of 100
3llms-from-scratchCode for the book on building a GPT-style LLM in PyTorch106.5k starscustom license76 out of 100
#4hello-agentsChinese-language course on building LLM agents from scratch83.1k starscustom license76 out of 100
#5ml-for-beginners12-week, 26-lesson classic machine learning course using Scikit-learn Live demo ↗ (opens in a new tab)91.5k starsMIT75 out of 100