Source: https://seerepo.com/compare/bojieli/ai-agent-book/vs/getzep/graphiti
Markdown source: https://seerepo.com/compare/bojieli/ai-agent-book/vs/getzep/graphiti.md
Description: ai-agent-book and graphiti share 3 technologies: FastAPI, OpenAI, and PostHog. Both are written in Python.

# ai-agent-book vs graphiti

ai-agent-book and graphiti share 3 technologies: FastAPI, OpenAI, and PostHog. Both are written in Python.

- [bojieli/ai-agent-book](https://seerepo.com/r/bojieli/ai-agent-book): 《深入理解 AI Agent：设计原理与工程实践》（李博杰 著）开源主仓库：全书正文、编译版 PDF 与按章配套代码
- [getzep/graphiti](https://seerepo.com/r/getzep/graphiti): Build Real-Time Knowledge Graphs for AI Agents

## What they share and what sets them apart

- In common: FastAPI, OpenAI, PostHog
- Only in ai-agent-book: React, Vite, Next.js, Astro, Express, Postgres, Anthropic, Google
- Only in graphiti: None

## Side by side

| | ai-agent-book | graphiti |
|---|---|---|
| Size | 422,452 lines written, 1,079 code files | 77,773 lines written, 192 code files |
| Who writes it | 20.8% of its commits signed by AI. With Claude Code | 16.6% of its commits signed by AI. With Claude Code, Devin, Cursor, GitHub Copilot, and Gemini CLI |
| Activity | Last push October 8, 2026, 1,610 commits, 56,633 stars | Last push November 1, 2026, 1,053 commits, 32,413 stars |
| Tests | 624 test files. 33.9% of its code files have a test that imports them | 93 test files. 3.6% 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 graphiti?

ai-agent-book, with 422,452 lines written in 1,079 code files; graphiti has 77,773 in 192.

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 graphiti?

ai-agent-book, with 56,633 stars; graphiti has 32,413.

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

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

ai-agent-book, with 624 test files; graphiti has 93.

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 graphiti?

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

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

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

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

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 October 30, 2026, at commit dbc046e (https://github.com/bojieli/ai-agent-book/tree/dbc046eb896ac4e39aa19c7774c8bf49583b89a6)
- getzep/graphiti: Read on November 1, 2026, at commit 16bf514 (https://github.com/getzep/graphiti/tree/16bf514380de4e44884aed6779bece220e6fe470)

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