Source: https://seerepo.com/compare/ag-ui-protocol/ag-ui/vs/bojieli/ai-agent-book
Markdown source: https://seerepo.com/compare/ag-ui-protocol/ag-ui/vs/bojieli/ai-agent-book.md
Description: ag-ui and ai-agent-book share 15 technologies: FastAPI, AIOHTTP, uvicorn, React, Next.js, Express, PostHog, MCP, litellm, Pydantic, Tailwind CSS, class-variance-authority, tailwind-merge, Radix UI, and Lucide. Both are written in Python.

# ag-ui vs ai-agent-book

ag-ui and ai-agent-book share 15 technologies: FastAPI, AIOHTTP, uvicorn, React, Next.js, Express, PostHog, MCP, litellm, Pydantic, Tailwind CSS, class-variance-authority, tailwind-merge, Radix UI, and Lucide. Both are written in Python.

- [ag-ui-protocol/ag-ui](https://seerepo.com/r/ag-ui-protocol/ag-ui): AG-UI: the Agent-User Interaction Protocol. Bring Agents into Frontend Applications.
- [bojieli/ai-agent-book](https://seerepo.com/r/bojieli/ai-agent-book): 《深入理解 AI Agent：设计原理与工程实践》（李博杰 著）开源主仓库：全书正文、编译版 PDF 与按章配套代码

## What they share and what sets them apart

- In common: FastAPI, AIOHTTP, uvicorn, React, Next.js, Express, PostHog, MCP, litellm, Pydantic, Tailwind CSS, class-variance-authority, tailwind-merge, Radix UI, Lucide
- Only in ag-ui: ASP.NET Core, Spring, activity-compose, core-ktx, java-server, Tokio, Hono, @mastra/libsql, go, Microsoft.Extensions.AI.Abstractions, openai-agents, spring-ai-bom, spring-ai-client-chat, strands-agents, Microsoft.Extensions.AI, google-adk, ag-ui-a2ui-toolkit, CrewAI, google-antigravity, LangChain, LangGraph, langroid, coil-compose, io.ktor:ktor-client-logging, slf4j-simple, github.com/sirupsen/logrus, log, next-themes, @a2ui/web_core, @copilotkit/react-ui, @monaco-editor/react, embla-carousel-react, tiptap, @phosphor-icons/react, copilotkit, mastra, @a2a-js/sdk, @langchain/openai, streamdown, markdown-it, Zod, zod-to-json-schema, @cfworker/json-schema, @strands-agents/sdk, ai, @omnara/sdk, yaml, @copilotkit/runtime, Ajv
- Only in ai-agent-book: azure-search-documents, azure-storage-blob, chromadb, psycopg2-binary, Postgres, pyarrow, OpenAI, Anthropic, Hugging Face, Google, fastmcp, Flask, anyio, Vite, 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, torch, transformers, peft, datasets, tiktoken, 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, structlog, loguru, psutil, pptxgenjs, sharp, D3, recharts, onnxruntime-node, react-syntax-highlighter, react-markdown, remark-gfm, katex

## Side by side

| | ag-ui | ai-agent-book |
|---|---|---|
| Size | 879,462 lines written, 1,084 code files | 422,447 lines written, 1,067 code files |
| Who writes it | 22.7% of its commits signed by AI. With Claude Code, Codex, GitHub Copilot, and Cursor | 20.8% of its commits signed by AI. With Claude Code |
| Activity | Last push November 6, 2026, 3,939 commits, 17,052 stars | Last push October 8, 2026, 1,610 commits, 57,240 stars |
| Tests | 1,756 test files. 60.9% of its code files have a test that imports them | 624 test files. 34.3% 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, ag-ui or ai-agent-book?

ag-ui, with 879,462 lines written; ai-agent-book has 422,447.

The proof: [ag-ui-protocol/ag-ui's code at commit 37b4da9](https://github.com/ag-ui-protocol/ag-ui/tree/37b4da90c8dfba2b7ef2182c738fda5350f0fc60)

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

ai-agent-book, with 57,240 stars; ag-ui has 17,052.

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

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

ag-ui, with 1,756 test files; ai-agent-book has 624.

The proof: [ag-ui-protocol/ag-ui's code at commit 37b4da9](https://github.com/ag-ui-protocol/ag-ui/tree/37b4da90c8dfba2b7ef2182c738fda5350f0fc60)

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

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

The proof: [ag-ui-protocol/ag-ui's commits on GitHub](https://github.com/ag-ui-protocol/ag-ui/commits)

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

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

The proof: [the commits each tool signed in ag-ui-protocol/ag-ui](https://seerepo.com/r/ag-ui-protocol/ag-ui/ai)

## Sources

- ag-ui-protocol/ag-ui: Read on November 7, 2026, at commit 37b4da9 (https://github.com/ag-ui-protocol/ag-ui/tree/37b4da90c8dfba2b7ef2182c738fda5350f0fc60)
- bojieli/ai-agent-book: Read on November 5, 2026, at commit dbc046e (https://github.com/bojieli/ai-agent-book/tree/dbc046eb896ac4e39aa19c7774c8bf49583b89a6)

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