Source: https://seerepo.com/compare/bojieli/ai-agent-book/vs/datawhalechina/all-in-rag
Markdown source: https://seerepo.com/compare/bojieli/ai-agent-book/vs/datawhalechina/all-in-rag.md
Description: ai-agent-book and all-in-rag share 21 technologies: chromadb, pyarrow, OpenAI, Hugging Face, accelerate, faiss-cpu, torch, transformers, datasets, tiktoken, scikit-learn, rank-bm25, librosa, torchaudio, sentence-transformers, langchain-openai, pillow, pypdf, openpyxl, markdown, and Pydantic. Both are written in Python.

# ai-agent-book vs all-in-rag

ai-agent-book and all-in-rag share 21 technologies: chromadb, pyarrow, OpenAI, Hugging Face, accelerate, faiss-cpu, torch, transformers, datasets, tiktoken, scikit-learn, rank-bm25, librosa, torchaudio, sentence-transformers, langchain-openai, pillow, pypdf, openpyxl, markdown, and Pydantic. Both are written in Python.

- [bojieli/ai-agent-book](https://seerepo.com/r/bojieli/ai-agent-book): 《深入理解 AI Agent：设计原理与工程实践》（李博杰 著）开源主仓库：全书正文、编译版 PDF 与按章配套代码
- [datawhalechina/all-in-rag](https://seerepo.com/r/datawhalechina/all-in-rag): 🔍大模型应用开发实战一：RAG 技术全栈指南，在线阅读地址：https://datawhalechina.github.io/all-in-rag/

## What they share and what sets them apart

- In common: chromadb, pyarrow, OpenAI, Hugging Face, accelerate, faiss-cpu, torch, transformers, datasets, tiktoken, scikit-learn, rank-bm25, librosa, torchaudio, sentence-transformers, langchain-openai, pillow, pypdf, openpyxl, markdown, Pydantic
- Only in ai-agent-book: React, uvicorn, FastAPI, azure-search-documents, azure-storage-blob, psycopg2-binary, Postgres, Anthropic, Google, Mistral AI, PostHog, fastmcp, Flask, anyio, AIOHTTP, Next.js, Vite, Express, Astro, mkdocs-material, Rich, matplotlib, 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, MCP, peft, unsloth, litellm, Ollama, groq, trl, fish-audio-sdk, snac, annoy, flagembedding, opencv-python, gradio-client, hnswlib, memobase, mlx-audio, vLLM, lxml, python-magic, torchcodec, xlrd, xlsxwriter, beautifulsoup4, python-pptx, pypdf2, reportlab, html2text, python-docx, aiosmtplib, 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 all-in-rag: pymilvus, Neo4j, langchain-unstructured, llama-index-embeddings-openai, llama-index-llms-openai, tavily-python, tokenizers, unstructured-client, LangChain, langchain-community, langchain-deepseek, langchain-huggingface, llama-index-core, llama-index-embeddings-huggingface, timm, langchain-text-splitters, torchvision, einops, langchain-experimental, LangGraph, llama-index, av, pypdfium2, unstructured

## Side by side

| | ai-agent-book | all-in-rag |
|---|---|---|
| Size | 422,447 lines written, 1,067 code files | 17,394 lines written, 80 code files |
| Who writes it | 20.8% of its commits signed by AI. With Claude Code | 0.8% of its commits signed by AI. With Cursor |
| Activity | Last push October 8, 2026, 1,610 commits, 57,596 stars | Last push September 30, 2026, 373 commits, 13,017 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 all-in-rag?

ai-agent-book, with 422,447 lines written; all-in-rag has 17,394.

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 all-in-rag?

ai-agent-book, with 57,596 stars; all-in-rag has 13,017.

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

### Which has more tests, ai-agent-book or all-in-rag?

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 all-in-rag?

ai-agent-book: its last push was on October 8, 2026, and all-in-rag's on September 30, 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 all-in-rag?

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

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 10, 2026, at commit dbc046e (https://github.com/bojieli/ai-agent-book/tree/dbc046eb896ac4e39aa19c7774c8bf49583b89a6)
- datawhalechina/all-in-rag: Read on November 10, 2026, at commit cec956e (https://github.com/datawhalechina/all-in-rag/tree/cec956e80ae28d6c0ca84c9d39dddcf61ad633fd)

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