Source: https://seerepo.com/compare/bojieli/ai-agent-book/vs/hpcaitech/ColossalAI
Markdown source: https://seerepo.com/compare/bojieli/ai-agent-book/vs/hpcaitech/ColossalAI.md
Description: ai-agent-book and ColossalAI share 26 technologies: uvicorn, FastAPI, chromadb, OpenAI, Hugging Face, anyio, Rich, matplotlib, seaborn, accelerate, bitsandbytes, sentencepiece, triton, torch, transformers, peft, datasets, tiktoken, scikit-learn, torchaudio, sentence-transformers, vLLM, pillow, pypdf, Pydantic, and psutil. Both are written in Python.

# ai-agent-book vs ColossalAI

ai-agent-book and ColossalAI share 26 technologies: uvicorn, FastAPI, chromadb, OpenAI, Hugging Face, anyio, Rich, matplotlib, seaborn, accelerate, bitsandbytes, sentencepiece, triton, torch, transformers, peft, datasets, tiktoken, scikit-learn, torchaudio, sentence-transformers, vLLM, pillow, pypdf, Pydantic, and psutil. Both are written in Python.

- [bojieli/ai-agent-book](https://seerepo.com/r/bojieli/ai-agent-book): 《深入理解 AI Agent：设计原理与工程实践》（李博杰 著）开源主仓库：全书正文、编译版 PDF 与按章配套代码
- [hpcaitech/ColossalAI](https://seerepo.com/r/hpcaitech/ColossalAI): Making large AI models cheaper, faster and more accessible

## What they share and what sets them apart

- In common: uvicorn, FastAPI, chromadb, OpenAI, Hugging Face, anyio, Rich, matplotlib, seaborn, accelerate, bitsandbytes, sentencepiece, triton, torch, transformers, peft, datasets, tiktoken, scikit-learn, torchaudio, sentence-transformers, vLLM, pillow, pypdf, Pydantic, psutil
- Only in ai-agent-book: React, azure-search-documents, azure-storage-blob, psycopg2-binary, Postgres, pyarrow, Anthropic, Google, PostHog, fastmcp, Flask, AIOHTTP, Next.js, Vite, Express, Astro, mkdocs-material, Plotly, authlib, google-auth, google-auth-httplib2, google-auth-oauthlib, pyotp, cut-cross-entropy, faiss-cpu, lightgbm, mem0ai, nltk, openai-whisper, scikit-image, xformers, MCP, litellm, Ollama, rank-bm25, groq, librosa, trl, snac, opencv-python, langchain-openai, mlx-audio, lxml, python-magic, torchcodec, xlrd, xlsxwriter, beautifulsoup4, python-pptx, pypdf2, reportlab, html2text, python-docx, openpyxl, markdown, pdfplumber, pymupdf, sendgrid, youtube-transcript-api, yt-dlp, structlog, loguru, pptxgenjs, sharp, Tailwind CSS, D3, recharts, onnxruntime-node, class-variance-authority, tailwind-merge, Radix UI, react-syntax-highlighter, Lucide, react-markdown, remark-gfm, katex
- Only in ColossalAI: Ray, Gradio, SQLAlchemy, ModelScope, LangChain, diffusers, flash-attn, timm, safetensors, einops, galore-torch, math-verify, tokenizers, torchvision, jinja2, markdown-it-py, markupsafe, mdurl, unstructured, jsonlines, annotated-types, pydantic-core

## Side by side

| | ai-agent-book | ColossalAI |
|---|---|---|
| Size | 422,447 lines written, 1,067 code files | 317,403 lines written, 974 code files |
| Who writes it | 20.8% of its commits signed by AI. With Claude Code | 0.3% of its commits signed by AI. With Codex and Claude Code |
| Activity | Last push October 8, 2026, 1,610 commits, 57,240 stars | Last push November 6, 2026, 3,887 commits, 41,430 stars |
| Tests | 624 test files. 34.3% of its code files have a test that imports them | 505 test files. 1.1% 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 ColossalAI?

ai-agent-book, with 422,447 lines written; ColossalAI has 317,403.

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 ColossalAI?

ai-agent-book, with 57,240 stars; ColossalAI has 41,430.

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

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

ai-agent-book, with 624 test files; ColossalAI has 505.

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 ColossalAI?

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

The proof: [hpcaitech/ColossalAI's commits on GitHub](https://github.com/hpcaitech/ColossalAI/commits)

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

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

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)
- hpcaitech/ColossalAI: Read on November 6, 2026, at commit da8f5c2 (https://github.com/hpcaitech/ColossalAI/tree/da8f5c2dd56f97d3d23d3d222b114e1a3d4710f5)

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