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.

Read it as markdown

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

In common

Side by side

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.

The proof: ag-ui-protocol/ag-ui's code at commit 37b4da9

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.

The proof: ag-ui-protocol/ag-ui's code at commit 37b4da9

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.

Or look inside SeeRepo's own →