Source: https://seerepo.com/compare/bojieli/ai-agent-book/vs/microsoft/qlib
Markdown source: https://seerepo.com/compare/bojieli/ai-agent-book/vs/microsoft/qlib.md
Description: ai-agent-book and qlib share 5 technologies: torch, lxml, beautifulsoup4, openpyxl, and loguru. Both are written in Python.

# ai-agent-book vs qlib

ai-agent-book and qlib share 5 technologies: torch, lxml, beautifulsoup4, openpyxl, and loguru. Both are written in Python.

- [bojieli/ai-agent-book](https://seerepo.com/r/bojieli/ai-agent-book): 《深入理解 AI Agent：设计原理与工程实践》（李博杰 著）开源主仓库：全书正文、编译版 PDF 与按章配套代码
- [microsoft/qlib](https://seerepo.com/r/microsoft/qlib): Qlib is an AI-oriented Quant investment platform that aims to use AI tech to empower Quant Research, from exploring ideas to implementing productions. Qlib supports diverse ML modeling paradigms, including supervised learning, market dynamics modeling, and RL, and is now equipped with https://github.com/microsoft/RD-Agent to automate R&D process.

## What they share and what sets them apart

- In common: torch, lxml, beautifulsoup4, openpyxl, loguru
- Only in ai-agent-book: React, uvicorn, FastAPI, azure-search-documents, azure-storage-blob, chromadb, psycopg2-binary, Postgres, pyarrow, OpenAI, Anthropic, Hugging Face, Google, 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, sentencepiece, triton, xformers, transformers, MCP, peft, datasets, tiktoken, litellm, Ollama, scikit-learn, rank-bm25, groq, librosa, trl, snac, torchaudio, opencv-python, sentence-transformers, langchain-openai, mlx-audio, vLLM, python-magic, torchcodec, xlrd, xlsxwriter, pillow, python-pptx, pypdf2, reportlab, html2text, pypdf, python-docx, markdown, pdfplumber, pymupdf, sendgrid, youtube-transcript-api, yt-dlp, Pydantic, structlog, 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
- Only in qlib: soupsieve, cryptography, bs4

## Side by side

| | ai-agent-book | qlib |
|---|---|---|
| Size | 422,447 lines written, 1,067 code files | 78,929 lines written, 219 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 GitHub Copilot |
| Activity | Last push October 8, 2026, 1,610 commits, 57,240 stars | Last push November 4, 2026, 1,852 commits, 50,029 stars |
| Tests | 624 test files. 34.3% of its code files have a test that imports them | 56 test files. 36.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 qlib?

ai-agent-book, with 422,447 lines written; qlib has 78,929.

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

ai-agent-book, with 57,240 stars; qlib has 50,029.

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

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

ai-agent-book, with 624 test files; qlib has 56.

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

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

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

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

ai-agent-book: an AI signed 20.8% of its commits, with Claude Code; in qlib, 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 5, 2026, at commit dbc046e (https://github.com/bojieli/ai-agent-book/tree/dbc046eb896ac4e39aa19c7774c8bf49583b89a6)
- microsoft/qlib: Read on November 5, 2026, at commit 5435523 (https://github.com/microsoft/qlib/tree/54355232463878d2eebb91fe0ee5fa7fa1f5976c)

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