Source: https://seerepo.com/compare/bojieli/ai-agent-book/vs/harvard-edge/cs249r_book
Markdown source: https://seerepo.com/compare/bojieli/ai-agent-book/vs/harvard-edge/cs249r_book.md
Description: ai-agent-book and cs249r_book share 28 technologies: React, pyarrow, OpenAI, anyio, Next.js, Vite, Rich, matplotlib, seaborn, Plotly, nltk, torch, transformers, Ollama, scikit-learn, groq, librosa, sentence-transformers, lxml, xlrd, beautifulsoup4, pillow, Pydantic, psutil, Tailwind CSS, D3, Lucide, and katex. Both are written in Python.

# ai-agent-book vs cs249r_book

ai-agent-book and cs249r_book share 28 technologies: React, pyarrow, OpenAI, anyio, Next.js, Vite, Rich, matplotlib, seaborn, Plotly, nltk, torch, transformers, Ollama, scikit-learn, groq, librosa, sentence-transformers, lxml, xlrd, beautifulsoup4, pillow, Pydantic, psutil, Tailwind CSS, D3, Lucide, and katex. Both are written in Python.

- [bojieli/ai-agent-book](https://seerepo.com/r/bojieli/ai-agent-book): 《深入理解 AI Agent：设计原理与工程实践》（李博杰 著）开源主仓库：全书正文、编译版 PDF 与按章配套代码
- [harvard-edge/cs249r_book](https://seerepo.com/r/harvard-edge/cs249r_book): Machine Learning Systems: Foundations, Scaling, Agentic AI, and Physical AI (Vols I–IV) • Harvard CS249r | https://mlsysbook.ai

## What they share and what sets them apart

- In common: React, pyarrow, OpenAI, anyio, Next.js, Vite, Rich, matplotlib, seaborn, Plotly, nltk, torch, transformers, Ollama, scikit-learn, groq, librosa, sentence-transformers, lxml, xlrd, beautifulsoup4, pillow, Pydantic, psutil, Tailwind CSS, D3, Lucide, katex
- Only in ai-agent-book: uvicorn, FastAPI, azure-search-documents, azure-storage-blob, chromadb, psycopg2-binary, Postgres, Anthropic, Hugging Face, Google, PostHog, fastmcp, Flask, AIOHTTP, Express, Astro, mkdocs-material, authlib, google-auth, google-auth-httplib2, google-auth-oauthlib, pyotp, accelerate, bitsandbytes, cut-cross-entropy, faiss-cpu, lightgbm, mem0ai, openai-whisper, scikit-image, sentencepiece, triton, xformers, MCP, peft, datasets, tiktoken, litellm, rank-bm25, trl, snac, torchaudio, opencv-python, langchain-openai, mlx-audio, vLLM, python-magic, torchcodec, xlsxwriter, python-pptx, pypdf2, reportlab, html2text, pypdf, python-docx, openpyxl, markdown, pdfplumber, pymupdf, sendgrid, youtube-transcript-api, yt-dlp, structlog, loguru, pptxgenjs, sharp, recharts, onnxruntime-node, class-variance-authority, tailwind-merge, Radix UI, react-syntax-highlighter, react-markdown, remark-gfm
- Only in cs249r_book: async-lru, pyzmq, requests-cache, jupyter-core, jupyterlab-server, tornado, idb, cycler, fonttools, jupyterlab-pygments, soupsieve, tinycss2, contourpy, ipywidgets, jupyter-server-terminals, jupyterlab-widgets, matplotlib-inline, prompt-toolkit, widgetsnbextension, argon2-cffi, argon2-cffi-bindings, torchvision, torch-geometric, bleach, defusedxml, ghostscript, jinja2, markdown-it-py, markupsafe, mdurl, mistune, nbconvert, pandocfilters, pylatexenc, pypandoc, python-frontmatter, tablib, webencodings, xlwt, xmltodict, jupytext, nbformat, annotated-types, cattrs, fastjsonschema, fqdn, jsonschema-specifications, referencing, rfc3339-validator, rfc3986-validator, jsonschema, pydantic-core, prometheus-client, python-json-logger, Mermaid, Chart.js, compromise, dompurify, markdown-it, markdown-it-container, jspdf, jspdf-autotable, Framer, react-medium-image-zoom

## Side by side

| | ai-agent-book | cs249r_book |
|---|---|---|
| Size | 422,447 lines written, 1,067 code files | 821,581 lines written, 1,977 code files |
| Who writes it | 20.8% of its commits signed by AI. With Claude Code | 2.7% of its commits signed by AI. With Codex, Claude Code, Gemini CLI, and Cursor |
| Activity | Last push October 8, 2026, 1,610 commits, 57,240 stars | Last push November 8, 2026, 22,351 commits, 30,011 stars |
| Tests | 624 test files. 34.3% of its code files have a test that imports them | 629 test files. 16.6% of its code files have a test that imports them |

- Size: Lines written by people and agents, without generated ones; code files, without tests.
- Who writes it: A commit counts as AI's when it carries its signature: a Co-Authored-By line, its author name or the merge of its branch.
- Activity: From GitHub and its history, on the day SeeRepo read it.
- Tests: The files that test the code, and the share of code files a test imports.

## Frequently asked questions

### Which is bigger, ai-agent-book or cs249r_book?

cs249r_book, with 821,581 lines written; ai-agent-book has 422,447.

The proof: [harvard-edge/cs249r_book's code at commit de87c01](https://github.com/harvard-edge/cs249r_book/tree/de87c0103806d7bfb1c677dbb77a2b92fa00c298)

### Which has more GitHub stars, ai-agent-book or cs249r_book?

ai-agent-book, with 57,240 stars; cs249r_book has 30,011.

The proof: [bojieli/ai-agent-book on GitHub](https://github.com/bojieli/ai-agent-book)

### Which has more tests, ai-agent-book or cs249r_book?

cs249r_book, with 629 test files; ai-agent-book has 624.

The proof: [harvard-edge/cs249r_book's code at commit de87c01](https://github.com/harvard-edge/cs249r_book/tree/de87c0103806d7bfb1c677dbb77a2b92fa00c298)

### Which was updated more recently, ai-agent-book or cs249r_book?

cs249r_book: its last push was on November 8, 2026, and ai-agent-book's on October 8, 2026.

The proof: [harvard-edge/cs249r_book's commits on GitHub](https://github.com/harvard-edge/cs249r_book/commits)

### Which has more commits signed by AI, ai-agent-book or cs249r_book?

ai-agent-book: an AI signed 20.8% of its commits, with Claude Code; in cs249r_book, 2.7%.

The proof: [the commits each tool signed in bojieli/ai-agent-book](https://seerepo.com/r/bojieli/ai-agent-book/ai)

## Sources

- bojieli/ai-agent-book: Read on November 5, 2026, at commit dbc046e (https://github.com/bojieli/ai-agent-book/tree/dbc046eb896ac4e39aa19c7774c8bf49583b89a6)
- harvard-edge/cs249r_book: Read on November 8, 2026, at commit de87c01 (https://github.com/harvard-edge/cs249r_book/tree/de87c0103806d7bfb1c677dbb77a2b92fa00c298)

## What is your repo built with?

Any public repo, with no account: https://seerepo.com/r/owner/repo/built, with the owner and name it has on GitHub.
