Source: https://seerepo.com/compare/bojieli/ai-agent-book/vs/HaujetZhao/CapsWriter-Offline
Markdown source: https://seerepo.com/compare/bojieli/ai-agent-book/vs/HaujetZhao/CapsWriter-Offline.md
Description: ai-agent-book and CapsWriter-Offline share 7 technologies: OpenAI, Rich, sentencepiece, Ollama, pillow, markdown, and psutil. Both are written in Python.

# ai-agent-book vs CapsWriter-Offline

ai-agent-book and CapsWriter-Offline share 7 technologies: OpenAI, Rich, sentencepiece, Ollama, pillow, markdown, and psutil. Both are written in Python.

- [bojieli/ai-agent-book](https://seerepo.com/r/bojieli/ai-agent-book): 《深入理解 AI Agent：设计原理与工程实践》（李博杰 著）开源主仓库：全书正文、编译版 PDF 与按章配套代码
- [HaujetZhao/CapsWriter-Offline](https://seerepo.com/r/HaujetZhao/CapsWriter-Offline): PC 端语音输入工具，离线识别，高准确率、低延迟，支持热词、LLM润色。按住CapsLock或鼠标侧键X2说话，松开自动上屏。

## What they share and what sets them apart

- In common: OpenAI, Rich, sentencepiece, Ollama, pillow, markdown, psutil
- Only in ai-agent-book: React, uvicorn, FastAPI, azure-search-documents, azure-storage-blob, chromadb, psycopg2-binary, Postgres, pyarrow, Anthropic, Hugging Face, Google, Mistral AI, PostHog, fastmcp, Flask, anyio, AIOHTTP, Next.js, Vite, Express, Astro, mkdocs-material, matplotlib, seaborn, Plotly, authlib, google-auth, google-auth-httplib2, google-auth-oauthlib, pyotp, accelerate, bitsandbytes, 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, transformers, MCP, peft, datasets, tiktoken, unsloth, litellm, scikit-learn, rank-bm25, groq, librosa, trl, fish-audio-sdk, snac, torchaudio, annoy, flagembedding, opencv-python, sentence-transformers, gradio-client, hnswlib, langchain-openai, memobase, mlx-audio, vLLM, lxml, python-magic, torchcodec, xlrd, xlsxwriter, beautifulsoup4, python-pptx, pypdf2, reportlab, html2text, pypdf, python-docx, openpyxl, aiosmtplib, pdfplumber, pymupdf, sendgrid, youtube-transcript-api, yt-dlp, Pydantic, structlog, loguru, 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 CapsWriter-Offline: pystray, onnxruntime-directml, gguf, sherpa-onnx, nagisa, soynlp, markdown-it-py, srt

## Side by side

| | ai-agent-book | CapsWriter-Offline |
|---|---|---|
| Size | 422,447 lines written, 1,067 code files | 114,918 lines written, 277 code files |
| Who writes it | 20.8% of its commits signed by AI. With Claude Code | 0.6% of its commits signed by AI. With Claude Code |
| Activity | Last push October 8, 2026, 1,610 commits, 58,544 stars | Last push September 14, 2026, 516 commits, 7,134 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 CapsWriter-Offline?

ai-agent-book, with 422,447 lines written; CapsWriter-Offline has 114,918.

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 CapsWriter-Offline?

ai-agent-book, with 58,544 stars; CapsWriter-Offline has 7,134.

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

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

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 CapsWriter-Offline?

ai-agent-book: its last push was on October 8, 2026, and CapsWriter-Offline's on September 14, 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 CapsWriter-Offline?

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

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 17, 2026, at commit dbc046e (https://github.com/bojieli/ai-agent-book/tree/dbc046eb896ac4e39aa19c7774c8bf49583b89a6)
- HaujetZhao/CapsWriter-Offline: Read on November 20, 2026, at commit 84912d5 (https://github.com/HaujetZhao/CapsWriter-Offline/tree/84912d5218ee5e51e216c54dc15a1cb0f466eb76)

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