ai-agent-book vs ms-swift

ai-agent-book and ms-swift share 16 technologies: uvicorn, FastAPI, OpenAI, AIOHTTP, matplotlib, accelerate, nltk, sentencepiece, transformers, peft, datasets, tiktoken, scikit-learn, trl, torchaudio, and pillow. Both are written in Python.

Read it as markdown

What they share and what sets them apart

bojieli

ai-agent-book

《深入理解 AI Agent:设计原理与工程实践》(李博杰 著)开源主仓库:全书正文、编译版 PDF 与按章配套代码

Python57.6kRead on November 10, 2026, at commit dbc046eWhat is ai-agent-book built with?

Only in ai-agent-book

In common

modelscope

ms-swift

Use PEFT or Full-parameter to CPT/SFT/DPO/GRPO 600+ LLMs (Qwen3.8, DeepSeek-V4, GLM-5.1, InternLM3, Llama4, ...) and 300+ MLLMs (Qwen3-VL, Qwen3-Omni, InternVL3.5, Ovis2.5, GLM5.3, Gemma4, Llava, Phi4, ...) (AAAI 2025).

Python16.1kRead on November 7, 2026, at commit 47b437aWhat is ms-swift built with?

Only in ms-swift

Side by side

SizeLines written by people and agents, without generated ones; code files, without tests.
ai-agent-book422,447 lines written1,067 code files
ms-swift165,674 lines written533 code files
Who writes itA commit counts as AI's when it carries its signature: a Co-Authored-By line, its author name or the merge of its branch.
ai-agent-book20.8% of its commits signed by AIWith Claude Code
ms-swift0.3% of its commits signed by AIWith Claude Code, Gemini CLI, and Codex
ActivityFrom GitHub and its history, on the day SeeRepo read it.
ai-agent-bookLast push October 8, 20261,610 commits57,596 stars
ms-swiftLast push November 7, 20263,872 commits16,058 stars
TestsThe files that test the code, and the share of code files a test imports.
ai-agent-book624 test files34.3% of its code files have a test that imports them
ms-swift249 test files24% of its code files have a test that imports them

Frequently asked questions

Which is bigger, ai-agent-book or ms-swift?
ai-agent-book, with 422,447 lines written; ms-swift has 165,674.

The proof: bojieli/ai-agent-book's code at commit dbc046e

Which has more GitHub stars, ai-agent-book or ms-swift?
ai-agent-book, with 57,596 stars; ms-swift has 16,058.

The proof: bojieli/ai-agent-book on GitHub

Which has more tests, ai-agent-book or ms-swift?
ai-agent-book, with 624 test files; ms-swift has 249.

The proof: bojieli/ai-agent-book's code at commit dbc046e

Which was updated more recently, ai-agent-book or ms-swift?
ms-swift: its last push was on November 7, 2026, and ai-agent-book's on October 8, 2026.

The proof: modelscope/ms-swift's commits on GitHub

Which has more commits signed by AI, ai-agent-book or ms-swift?
ai-agent-book: an AI signed 20.8% of its commits, with Claude Code; in ms-swift, 0.3%.

The proof: the commits each tool signed in bojieli/ai-agent-book

See inside your code, today.

Paste your repo and see it drawn, part by part: a medium one in under a minute.

Free, no account.

Or look inside SeeRepo's own →