Source: https://seerepo.com/compare/bojieli/ai-agent-book/vs/trycua/cua
Markdown source: https://seerepo.com/compare/bojieli/ai-agent-book/vs/trycua/cua.md
Description: ai-agent-book and cua share 5 technologies: React, Vite, FastAPI, Postgres, and PostHog. ai-agent-book is written in Python and cua in Rust.

# ai-agent-book vs cua

ai-agent-book and cua share 5 technologies: React, Vite, FastAPI, Postgres, and PostHog. ai-agent-book is written in Python and cua in Rust.

- [bojieli/ai-agent-book](https://seerepo.com/r/bojieli/ai-agent-book): 《深入理解 AI Agent：设计原理与工程实践》（李博杰 著）开源主仓库：全书正文、编译版 PDF 与按章配套代码
- [trycua/cua](https://seerepo.com/r/trycua/cua): Scale computer-use 2.0 with open-source drivers, cross-OS sandboxes, and benchmarks for training, evaluation, and data generation.

## What they share and what sets them apart

- In common: React, Vite, FastAPI, Postgres, PostHog
- Only in ai-agent-book: Next.js, Astro, Express, OpenAI, Anthropic, Google
- Only in cua: Flask, axum, Sentry, Claude

## Side by side

| | ai-agent-book | cua |
|---|---|---|
| Size | 422,452 lines written, 1,079 code files | 2,541,798 lines written, 3,520 code files |
| Who writes it | 20.8% of its commits signed by AI. With Claude Code | 27.8% of its commits signed by AI. With Claude Code, Codex, GitHub Copilot, CodeRabbit, Factory, and Cursor |
| Activity | Last push October 8, 2026, 1,610 commits, 56,633 stars | Last push November 2, 2026, 5,587 commits, 31,513 stars |
| Tests | 624 test files. 33.9% of its code files have a test that imports them | 1,988 test files. 26.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 cua?

cua, with 2,541,798 lines written in 3,520 code files; ai-agent-book has 422,452 in 1,079.

The proof: [trycua/cua's code at commit e6a88bf](https://github.com/trycua/cua/tree/e6a88bf12766b6ab85e4ab51aac6e5007588e747)

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

ai-agent-book, with 56,633 stars; cua has 31,513.

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

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

cua, with 1,988 test files; ai-agent-book has 624.

The proof: [trycua/cua's code at commit e6a88bf](https://github.com/trycua/cua/tree/e6a88bf12766b6ab85e4ab51aac6e5007588e747)

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

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

The proof: [trycua/cua's commits on GitHub](https://github.com/trycua/cua/commits)

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

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

The proof: [the commits each tool signed in trycua/cua](https://seerepo.com/r/trycua/cua/ai)

## Sources

- bojieli/ai-agent-book: Read on October 30, 2026, at commit dbc046e (https://github.com/bojieli/ai-agent-book/tree/dbc046eb896ac4e39aa19c7774c8bf49583b89a6)
- trycua/cua: Read on November 2, 2026, at commit e6a88bf (https://github.com/trycua/cua/tree/e6a88bf12766b6ab85e4ab51aac6e5007588e747)

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