Source: https://seerepo.com/compare/bojieli/ai-agent-book/vs/microsoft/magentic-ui
Markdown source: https://seerepo.com/compare/bojieli/ai-agent-book/vs/microsoft/magentic-ui.md
Description: ai-agent-book and magentic-ui share 17 technologies: React, FastAPI, Postgres, OpenAI, Vite, pillow, html2text, Pydantic, loguru, psutil, Tailwind CSS, class-variance-authority, tailwind-merge, Radix UI, Lucide, react-markdown, and remark-gfm. Both are written in Python.

# ai-agent-book vs magentic-ui

ai-agent-book and magentic-ui share 17 technologies: React, FastAPI, Postgres, OpenAI, Vite, pillow, html2text, Pydantic, loguru, psutil, Tailwind CSS, class-variance-authority, tailwind-merge, Radix UI, Lucide, react-markdown, and remark-gfm. Both are written in Python.

- [bojieli/ai-agent-book](https://seerepo.com/r/bojieli/ai-agent-book): 《深入理解 AI Agent：设计原理与工程实践》（李博杰 著）开源主仓库：全书正文、编译版 PDF 与按章配套代码
- [microsoft/magentic-ui](https://seerepo.com/r/microsoft/magentic-ui): MagenticLite is an experimental agent that works across the browser and local file system

## What they share and what sets them apart

- In common: React, FastAPI, Postgres, OpenAI, Vite, pillow, html2text, Pydantic, loguru, psutil, Tailwind CSS, class-variance-authority, tailwind-merge, Radix UI, Lucide, react-markdown, remark-gfm
- Only in ai-agent-book: uvicorn, azure-search-documents, azure-storage-blob, chromadb, psycopg2-binary, pyarrow, Anthropic, Hugging Face, Google, Mistral AI, PostHog, fastmcp, Flask, anyio, AIOHTTP, 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, mem0ai, minicpmo-utils, nltk, openai-whisper, raptor-rag, scikit-image, sentencepiece, trackio, triton, umap-learn, unsloth-zoo, xformers, xgboost, browser-use, torch, transformers, MCP, peft, datasets, tiktoken, unsloth, litellm, Ollama, 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, pypdf, python-docx, openpyxl, aiosmtplib, markdown, pdfplumber, pymupdf, sendgrid, youtube-transcript-api, yt-dlp, structlog, colorlog, pptxgenjs, sharp, D3, recharts, onnxruntime-node, react-syntax-highlighter, fontsource-variable, katex
- Only in magentic-ui: psycopg, react-router-dom, sqlmodel, alembic, azure-identity, markitdown, jsonschema, @fontsource-variable/inter, prismjs

## Side by side

| | ai-agent-book | magentic-ui |
|---|---|---|
| Size | 422,447 lines written, 1,067 code files | 64,023 lines written, 250 code files |
| Who writes it | 20.8% of its commits signed by AI. With Claude Code | 1.5% of its commits signed by AI. With GitHub Copilot |
| Activity | Last push October 8, 2026, 1,610 commits, 57,873 stars | Last push September 23, 2026, 819 commits, 10,117 stars |
| Tests | 624 test files. 34.3% of its code files have a test that imports them | 83 test files. 28.8% 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 magentic-ui?

ai-agent-book, with 422,447 lines written; magentic-ui has 64,023.

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 magentic-ui?

ai-agent-book, with 57,873 stars; magentic-ui has 10,117.

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

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

ai-agent-book, with 624 test files; magentic-ui has 83.

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 magentic-ui?

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

ai-agent-book: an AI signed 20.8% of its commits, with Claude Code; in magentic-ui, 1.5%.

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 13, 2026, at commit dbc046e (https://github.com/bojieli/ai-agent-book/tree/dbc046eb896ac4e39aa19c7774c8bf49583b89a6)
- microsoft/magentic-ui: Read on November 14, 2026, at commit d3c9d13 (https://github.com/microsoft/magentic-ui/tree/d3c9d13c39288257286a66daabf7c5b5fb72ee69)

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