ai-agent-book vs cs249r_book

Two of the top projects in Learning and cookbooks, side by side: who leads on each score part and who each one suits, then setup, license, activity and what each review found.

22nd of 174 in Learning and cookbooks

ai-agent-book

Open-source book on AI agent design with 109 runnable experiments

33rd of 174 in Learning and cookbooks

cs249r_book

Open textbook series on ML systems, with TinyTorch, labs and hardware kits

Verdict

ai-agent-book ranks higher, 88 to 86. Of the 4 score parts we measure for both, ai-agent-book leads on 3, cs249r_book on none and 1 is even.

  • Adoptionai-agent-book leads by 6 points, 95 to 89.
  • Freshnessai-agent-book leads by 2 points, 100 to 98: close to even.
  • Maintenanceai-agent-book leads by 1 point, 99 to 98: close to even.
  • Agent-readyEven at 0.

Pick ai-agent-book if you are

Engineers learning to build and evaluate LLM agents, Chinese readers first

  • 109 experiments organized by chapter, with uv.lock for reproducible per-chapter environments
  • PDF and EPUB downloads plus an online reader, in 15 languages

Pick cs249r_book if you are

Students, self-learners and instructors teaching ML systems engineering

  • Textbook paired with runnable parts: TinyTorch, browser Marimo labs, simulator, hardware kits
  • Instructor hub with syllabi and Beamer slides for every chapter
ai-agent-book vs cs249r_book: score parts and facts
What we compareai-agent-bookcs249r_book
Score parts, out of 100
Adoption95, widely used89, widely used
Freshness100, active98, active
Maintenance99, healthy98, healthy
Agent-ready0, none0, none
Facts from GitHub and the README
Stars60.7k30.4k
LicenseApache-2.0 (permissive)custom license (read the license)
Last commitDec 2026Dec 2026
Last releaseNov 2026May 2026
LanguagePythonPython
DockerNoNo
GPUOptionalNot stated
arm64 or Apple SiliconNot statedNot stated

ai-agent-book

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
  • 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

cs249r_book

Four-volume open textbook on how ML systems are built, from single-machine execution to distributed clusters, agents and physical AI. The repository also holds companion tools: TinyTorch (build an ML framework in 20 modules), MLSys·im (a simulator of memory, compute, network and energy limits), Marimo labs, hardware kits, slides and StaffML. Volume I is released; Volume II is a preview and Volumes III and IV are drafts.

Who it is for: Students, self-learners and instructors teaching ML systems engineering

Strengths

  • Textbook paired with runnable parts: TinyTorch, browser Marimo labs, simulator, hardware kits
  • Instructor hub with syllabi and Beamer slides for every chapter
  • Hardware kits target Arduino, Seeed, Grove and Raspberry Pi devices
  • Translations available in Chinese, Japanese and Korean

Weaknesses

  • Volumes III and IV are open drafts; author asks readers not to cite or teach from them
  • Volume II is still in active revision
  • License is per component rather than one license
  • Translations lag the English README; labs and StaffML are early releases

More in Learning and cookbooks

Building with these?

We help teams pick an open-source AI stack and run it in production. Client work never changes a rank.