Source: https://seerepo.com/compare/bojieli/ai-agent-book/vs/ostris/ai-toolkit
Markdown source: https://seerepo.com/compare/bojieli/ai-agent-book/vs/ostris/ai-toolkit.md
Description: ai-agent-book and ai-toolkit share 17 technologies: React, uvicorn, FastAPI, Hugging Face, Next.js, matplotlib, accelerate, bitsandbytes, sentencepiece, transformers, peft, librosa, opencv-python, torchcodec, Pydantic, Tailwind CSS, and Lucide. Both are written in Python.

# ai-agent-book vs ai-toolkit

ai-agent-book and ai-toolkit share 17 technologies: React, uvicorn, FastAPI, Hugging Face, Next.js, matplotlib, accelerate, bitsandbytes, sentencepiece, transformers, peft, librosa, opencv-python, torchcodec, Pydantic, Tailwind CSS, and Lucide. Both are written in Python.

- [bojieli/ai-agent-book](https://seerepo.com/r/bojieli/ai-agent-book): 《深入理解 AI Agent：设计原理与工程实践》（李博杰 著）开源主仓库：全书正文、编译版 PDF 与按章配套代码
- [ostris/ai-toolkit](https://seerepo.com/r/ostris/ai-toolkit): The ultimate training toolkit for finetuning diffusion models

## What they share and what sets them apart

- In common: React, uvicorn, FastAPI, Hugging Face, Next.js, matplotlib, accelerate, bitsandbytes, sentencepiece, transformers, peft, librosa, opencv-python, torchcodec, Pydantic, Tailwind CSS, Lucide
- Only in ai-agent-book: azure-search-documents, azure-storage-blob, chromadb, psycopg2-binary, Postgres, pyarrow, OpenAI, Anthropic, Google, Mistral AI, PostHog, fastmcp, Flask, anyio, AIOHTTP, Vite, Express, Astro, mkdocs-material, Rich, seaborn, Plotly, authlib, google-auth, google-auth-httplib2, google-auth-oauthlib, pyotp, cut-cross-entropy, faiss-cpu, graphrag, lightgbm, mem0ai, minicpmo-utils, nltk, openai-whisper, raptor-rag, scikit-image, trackio, triton, umap-learn, unsloth-zoo, xformers, xgboost, browser-use, torch, MCP, datasets, tiktoken, unsloth, litellm, Ollama, scikit-learn, rank-bm25, groq, trl, fish-audio-sdk, snac, torchaudio, annoy, flagembedding, sentence-transformers, gradio-client, hnswlib, langchain-openai, memobase, mlx-audio, vLLM, lxml, python-magic, xlrd, xlsxwriter, beautifulsoup4, pillow, python-pptx, pypdf2, reportlab, html2text, pypdf, python-docx, openpyxl, aiosmtplib, markdown, pdfplumber, pymupdf, sendgrid, youtube-transcript-api, yt-dlp, structlog, loguru, psutil, colorlog, pptxgenjs, sharp, D3, recharts, onnxruntime-node, class-variance-authority, tailwind-merge, Radix UI, react-syntax-highlighter, react-markdown, remark-gfm, fontsource-variable, katex
- Only in ai-toolkit: SQLite, node-cache, Gradio, albucore, kornia, lycoris-lora, open-clip-torch, timm, safetensors, einops, optimum-quanto, controlnet-aux, torchao, albumentations, lpips, prodigyopt, pytorch-fid, invisible-watermark, av, mutagen, classnames, Headless UI, react-dropzone, @monaco-editor/react, react-virtuoso, react-zoom-pan-pinch, react-select, uplot, react-icons, Prisma, yaml

## Side by side

| | ai-agent-book | ai-toolkit |
|---|---|---|
| Size | 422,447 lines written, 1,067 code files | 204,162 lines written, 663 code files |
| Who writes it | 20.8% of its commits signed by AI. With Claude Code | 0.2% of its commits signed by AI. With Codex, Cursor, and Claude Code |
| Activity | Last push October 8, 2026, 1,610 commits, 57,596 stars | Last push November 10, 2026, 1,578 commits, 12,609 stars |
| Tests | 624 test files. 34.3% of its code files have a test that imports them | 12 test files. 4.5% 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 ai-toolkit?

ai-agent-book, with 422,447 lines written; ai-toolkit has 204,162.

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 ai-toolkit?

ai-agent-book, with 57,596 stars; ai-toolkit has 12,609.

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

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

ai-agent-book, with 624 test files; ai-toolkit has 12.

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 ai-toolkit?

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

The proof: [ostris/ai-toolkit's commits on GitHub](https://github.com/ostris/ai-toolkit/commits)

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

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

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)
- ostris/ai-toolkit: Read on November 10, 2026, at commit 4a7f285 (https://github.com/ostris/ai-toolkit/tree/4a7f28532ed6fe81d9f8c00718878bb3b8739015)

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