Source: https://seerepo.com/compare/bojieli/ai-agent-book/vs/microsoft/agent-framework
Markdown source: https://seerepo.com/compare/bojieli/ai-agent-book/vs/microsoft/agent-framework.md
Description: ai-agent-book and agent-framework share 20 technologies: React, uvicorn, FastAPI, azure-search-documents, Postgres, OpenAI, Anthropic, Mistral AI, AIOHTTP, Vite, mem0ai, MCP, Ollama, Pydantic, psutil, Tailwind CSS, class-variance-authority, tailwind-merge, Radix UI, and Lucide. Both are written in Python.

# ai-agent-book vs agent-framework

ai-agent-book and agent-framework share 20 technologies: React, uvicorn, FastAPI, azure-search-documents, Postgres, OpenAI, Anthropic, Mistral AI, AIOHTTP, Vite, mem0ai, MCP, Ollama, Pydantic, psutil, Tailwind CSS, class-variance-authority, tailwind-merge, Radix UI, and Lucide. Both are written in Python.

- [bojieli/ai-agent-book](https://seerepo.com/r/bojieli/ai-agent-book): 《深入理解 AI Agent：设计原理与工程实践》（李博杰 著）开源主仓库：全书正文、编译版 PDF 与按章配套代码
- [microsoft/agent-framework](https://seerepo.com/r/microsoft/agent-framework): A framework for building, orchestrating and deploying AI agents and multi-agent workflows with support for Python and .NET.

## What they share and what sets them apart

- In common: React, uvicorn, FastAPI, azure-search-documents, Postgres, OpenAI, Anthropic, Mistral AI, AIOHTTP, Vite, mem0ai, MCP, Ollama, Pydantic, psutil, Tailwind CSS, class-variance-authority, tailwind-merge, Radix UI, Lucide
- Only in ai-agent-book: azure-storage-blob, chromadb, psycopg2-binary, pyarrow, Hugging Face, Google, PostHog, fastmcp, Flask, anyio, Next.js, 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, graphrag, lightgbm, minicpmo-utils, nltk, openai-whisper, raptor-rag, scikit-image, sentencepiece, trackio, triton, umap-learn, unsloth-zoo, xformers, xgboost, browser-use, torch, transformers, 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, pillow, python-pptx, pypdf2, reportlab, html2text, pypdf, python-docx, openpyxl, aiosmtplib, markdown, pdfplumber, pymupdf, sendgrid, youtube-transcript-api, yt-dlp, structlog, loguru, colorlog, pptxgenjs, sharp, D3, recharts, onnxruntime-node, react-syntax-highlighter, react-markdown, remark-gfm, fontsource-variable, katex
- Only in agent-framework: ASP.NET Core, azure-cosmos, Microsoft.Extensions.VectorData.Abstractions, pgvector, psycopg, pymongo, Microsoft.Azure.Cosmos, Microsoft.Extensions.Caching.Memory, MongoDB, Redis, Azure.Storage.Blobs, DuckDB, mssql-python, oracledb, Qdrant, Microsoft.Extensions.Hosting, Azure.Identity, Microsoft.Agents.CopilotStudio.Client, msal, a2a-sdk, agent-framework-core, azure-ai-inference, github-copilot-sdk, Microsoft.Extensions.AI.Abstractions, Microsoft.Extensions.AI.OpenAI, ModelContextProtocol, Azure.AI.Projects, agent-framework-openai, Microsoft.Extensions.AI, AGUI.Abstractions, typesafe-sdk, AGUI.Server, Microsoft.ML.Tokenizers, filetype, msgspec, jsonschema, Aspire, azure-core, OpenTelemetry, System.Diagnostics.DiagnosticSource, Microsoft.Extensions.Logging, Microsoft.Extensions.Logging.Abstractions, boto3, botocore, next-themes, xyflow

## Side by side

| | ai-agent-book | agent-framework |
|---|---|---|
| Size | 422,447 lines written, 1,067 code files | 1,111,813 lines written, 1,483 code files |
| Who writes it | 20.8% of its commits signed by AI. With Claude Code | 27.7% of its commits signed by AI. With GitHub Copilot, Claude Code, Cursor, and Codex |
| Activity | Last push October 8, 2026, 1,610 commits, 57,596 stars | Last push November 8, 2026, 3,881 commits, 14,594 stars |
| Tests | 624 test files. 34.3% of its code files have a test that imports them | 1,113 test files. 68.2% 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 agent-framework?

agent-framework, with 1,111,813 lines written; ai-agent-book has 422,447.

The proof: [microsoft/agent-framework's code at commit 924a6e5](https://github.com/microsoft/agent-framework/tree/924a6e50ec0336f3c965ee8b1151c54085888b6e)

### Which has more GitHub stars, ai-agent-book or agent-framework?

ai-agent-book, with 57,596 stars; agent-framework has 14,594.

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

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

agent-framework, with 1,113 test files; ai-agent-book has 624.

The proof: [microsoft/agent-framework's code at commit 924a6e5](https://github.com/microsoft/agent-framework/tree/924a6e50ec0336f3c965ee8b1151c54085888b6e)

### Which was updated more recently, ai-agent-book or agent-framework?

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

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

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

agent-framework: an AI signed 27.7% of its commits, with GitHub Copilot, Claude Code, Cursor, and Codex; in ai-agent-book, 20.8%.

The proof: [the commits each tool signed in microsoft/agent-framework](https://seerepo.com/r/microsoft/agent-framework/ai)

## Sources

- bojieli/ai-agent-book: Read on November 10, 2026, at commit dbc046e (https://github.com/bojieli/ai-agent-book/tree/dbc046eb896ac4e39aa19c7774c8bf49583b89a6)
- microsoft/agent-framework: Read on November 9, 2026, at commit 924a6e5 (https://github.com/microsoft/agent-framework/tree/924a6e50ec0336f3c965ee8b1151c54085888b6e)

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