Source: https://seerepo.com/compare/bojieli/ai-agent-book/vs/nndl/llm-beginner
Markdown source: https://seerepo.com/compare/bojieli/ai-agent-book/vs/nndl/llm-beginner.md
Description: ai-agent-book and llm-beginner share 13 technologies: pyarrow, OpenAI, Hugging Face, matplotlib, accelerate, faiss-cpu, torch, transformers, MCP, datasets, sentence-transformers, pypdf, and Pydantic. Both are written in Python.

# ai-agent-book vs llm-beginner

ai-agent-book and llm-beginner share 13 technologies: pyarrow, OpenAI, Hugging Face, matplotlib, accelerate, faiss-cpu, torch, transformers, MCP, datasets, sentence-transformers, pypdf, and Pydantic. Both are written in Python.

- [bojieli/ai-agent-book](https://seerepo.com/r/bojieli/ai-agent-book): 《深入理解 AI Agent：设计原理与工程实践》（李博杰 著）开源主仓库：全书正文、编译版 PDF 与按章配套代码
- [nndl/llm-beginner](https://seerepo.com/r/nndl/llm-beginner): 《大模型与智能体》电子书与 6 个编程任务：Transformer、mini-GPT、SFT/DPO、RAG、工具调用与编程智能体。

## What they share and what sets them apart

- In common: pyarrow, OpenAI, Hugging Face, matplotlib, accelerate, faiss-cpu, torch, transformers, MCP, datasets, sentence-transformers, pypdf, Pydantic
- Only in ai-agent-book: React, uvicorn, FastAPI, azure-search-documents, azure-storage-blob, chromadb, psycopg2-binary, Postgres, Anthropic, Google, Mistral AI, PostHog, fastmcp, Flask, anyio, AIOHTTP, Next.js, Vite, Express, Astro, mkdocs-material, Rich, seaborn, Plotly, authlib, google-auth, google-auth-httplib2, google-auth-oauthlib, pyotp, bitsandbytes, cut-cross-entropy, graphrag, lightgbm, mem0ai, minicpmo-utils, nltk, openai-whisper, raptor-rag, scikit-image, sentencepiece, trackio, triton, umap-learn, unsloth-zoo, xformers, xgboost, browser-use, peft, tiktoken, unsloth, litellm, Ollama, scikit-learn, rank-bm25, groq, librosa, trl, fish-audio-sdk, snac, torchaudio, annoy, flagembedding, opencv-python, gradio-client, hnswlib, langchain-openai, memobase, mlx-audio, vLLM, lxml, python-magic, torchcodec, xlrd, xlsxwriter, beautifulsoup4, pillow, python-pptx, pypdf2, reportlab, html2text, python-docx, openpyxl, aiosmtplib, markdown, pdfplumber, pymupdf, sendgrid, youtube-transcript-api, yt-dlp, structlog, loguru, psutil, colorlog, pptxgenjs, sharp, Tailwind CSS, D3, recharts, onnxruntime-node, class-variance-authority, tailwind-merge, Radix UI, react-syntax-highlighter, Lucide, react-markdown, remark-gfm, fontsource-variable, katex
- Only in llm-beginner: tokenizers

## Side by side

| | ai-agent-book | llm-beginner |
|---|---|---|
| Size | 422,447 lines written, 1,067 code files | 1,340 lines written, 7 code files |
| Who writes it | 20.8% of its commits signed by AI. With Claude Code | 9.1% of its commits signed by AI. With Claude Code |
| Activity | Last push October 8, 2026, 1,610 commits, 58,544 stars | Last push September 6, 2026, 22 commits, 6,895 stars |
| Tests | 624 test files. 34.3% of its code files have a test that imports them | 0 test files |

- 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 llm-beginner?

ai-agent-book, with 422,447 lines written; llm-beginner has 1,340.

The proof: [bojieli/ai-agent-book's code at commit dbc046e](https://github.com/bojieli/ai-agent-book/tree/dbc046eb896ac4e39aa19c7774c8bf49583b89a6)

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

ai-agent-book, with 58,544 stars; llm-beginner has 6,895.

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

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

ai-agent-book, with 624 test files.

The proof: [bojieli/ai-agent-book's code at commit dbc046e](https://github.com/bojieli/ai-agent-book/tree/dbc046eb896ac4e39aa19c7774c8bf49583b89a6)

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

ai-agent-book: its last push was on October 8, 2026, and llm-beginner's on September 6, 2026.

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

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

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

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 17, 2026, at commit dbc046e (https://github.com/bojieli/ai-agent-book/tree/dbc046eb896ac4e39aa19c7774c8bf49583b89a6)
- nndl/llm-beginner: Read on November 21, 2026, at commit 12f567c (https://github.com/nndl/llm-beginner/tree/12f567cbca44a7d105eacdf4091aa7b9acbb05ef)

## 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.
