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.
What they share and what sets them apart
ag-ui-protocol
ag-ui
AG-UI: the Agent-User Interaction Protocol. Bring Agents into Frontend Applications.
Python17.1kRead on November 7, 2026, at commit 37b4da9What is ag-ui built with?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
In common
bojieli
ai-agent-book
《深入理解 AI Agent:设计原理与工程实践》(李博杰 著)开源主仓库:全书正文、编译版 PDF 与按章配套代码
Python57.2kRead on November 5, 2026, at commit dbc046eWhat is ai-agent-book built with?Only in ai-agent-book
- azure-search-documents
- azure-storage-blob
chromadb
psycopg2-binary
- Postgres
pyarrow
OpenAI- Anthropic
- Hugging Face
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-uiai-agent-book
SizeLines written by people and agents, without generated ones; code files, without tests.
ag-ui879,462 lines written1,084 code files
ai-agent-book422,447 lines written1,067 code files
Who writes itA commit counts as AI's when it carries its signature: a Co-Authored-By line, its author name or the merge of its branch.
ag-ui22.7% of its commits signed by AIWith Claude Code, Codex, GitHub Copilot, and Cursor
ai-agent-book20.8% of its commits signed by AIWith Claude Code
ActivityFrom GitHub and its history, on the day SeeRepo read it.
ag-uiLast push November 6, 20263,939 commits17,052 stars
ai-agent-bookLast push October 8, 20261,610 commits57,240 stars
TestsThe files that test the code, and the share of code files a test imports.
ag-ui1,756 test files60.9% of its code files have a test that imports them
ai-agent-book624 test files34.3% of its code files have a test that imports them
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.
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
Which has more tests, ag-ui or ai-agent-book?
ag-ui, with 1,756 test files; ai-agent-book has 624.
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
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
See inside your code, today.
Paste your repo and see it drawn, part by part: a medium one in under a minute.
Free, no account.

