ai-agent-book vs HanLP
ai-agent-book and HanLP share 3 technologies: sentencepiece, torch, and transformers. Both are written in Python.
What they share and what sets them apart
bojieli
ai-agent-book
《深入理解 AI Agent:设计原理与工程实践》(李博杰 著)开源主仓库:全书正文、编译版 PDF 与按章配套代码
Python57.2kRead on November 5, 2026, at commit dbc046eWhat is ai-agent-book built with?Only in ai-agent-book
- React
uvicorn
- FastAPI
- azure-search-documents
- azure-storage-blob
chromadb
psycopg2-binary
- Postgres
pyarrow
OpenAI- Anthropic
- Hugging Face
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
accelerate
- bitsandbytes
- cut-cross-entropy
- faiss-cpu
lightgbm
- mem0ai
nltk
openai-whisper
scikit-image
- triton
- xformers
- MCP
peft
- datasets
- tiktoken
litellm
- Ollama
- scikit-learn
- rank-bm25
groq
librosa
trl
snac
torchaudio
opencv-python
sentence-transformers
langchain-openai
- mlx-audio
- vLLM
lxml
- python-magic
- torchcodec
- xlrd
- xlsxwriter
- beautifulsoup4
pillow
- python-pptx
pypdf2
- reportlab
- html2text
pypdf
- python-docx
- openpyxl
- markdown
- pdfplumber
pymupdf
sendgrid
- youtube-transcript-api
yt-dlp
- Pydantic
structlog
loguru
psutil
pptxgenjs
- sharp
- Tailwind CSS
- D3
recharts
onnxruntime-node
class-variance-authority
tailwind-merge
- Radix UI
react-syntax-highlighter
- Lucide
- react-markdown
remark-gfm
katex
In common
hankcs
HanLP
中文分词 词性标注 命名实体识别 依存句法分析 成分句法分析 语义依存分析 语义角色标注 指代消解 风格转换 语义相似度 新词发现 关键词短语提取 自动摘要 文本分类聚类 拼音简繁转换 自然语言处理
Python36.5kRead on November 7, 2026, at commit 281e8efWhat is HanLP built with?Side by side
ai-agent-bookHanLP
SizeLines written by people and agents, without generated ones; code files, without tests.
ai-agent-book422,447 lines written1,067 code files
HanLP58,682 lines written472 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
HanLP0% of its commits signed by AI
ActivityFrom GitHub and its history, on the day SeeRepo read it.
ai-agent-bookLast push October 8, 20261,610 commits57,240 stars
HanLPLast push October 25, 20261,715 commits36,536 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
HanLP13 test files1.9% of its code files have a test that imports them
Frequently asked questions
Which is bigger, ai-agent-book or HanLP?
ai-agent-book, with 422,447 lines written; HanLP has 58,682.
Which has more GitHub stars, ai-agent-book or HanLP?
ai-agent-book, with 57,240 stars; HanLP has 36,536.
The proof: bojieli/ai-agent-book on GitHub
Which has more tests, ai-agent-book or HanLP?
ai-agent-book, with 624 test files; HanLP has 13.
Which was updated more recently, ai-agent-book or HanLP?
HanLP: its last push was on October 25, 2026, and ai-agent-book's on October 8, 2026.
The proof: hankcs/HanLP's commits on GitHub
Which has more commits signed by AI, ai-agent-book or HanLP?
ai-agent-book: an AI signed 20.8% of its commits, with Claude Code.
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.

