Compare
litellm vs ai-agent-book
litellm and ai-agent-book share 6 technologies: Next.js, React, FastAPI, Postgres, OpenAI, and Anthropic. Both are written in Python.
What they share and what sets them apart
BerriAI
litellm
The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python62.4kRead on October 30, 2026, at commit ef9385cWhat is litellm built with?bojieli
ai-agent-book
《深入理解 AI Agent:设计原理与工程实践》(李博杰 著)开源主仓库:全书正文、编译版 PDF 与按章配套代码
Python56.6kRead on October 30, 2026, at commit dbc046eWhat is ai-agent-book built with?In common
Only in litellm
- Flask
- axum
- Redis
- Claude
Only in ai-agent-book
Side by side
litellmai-agent-book
SizeLines written by people and agents, without generated ones; code files, without tests.
litellm4,405,837 lines written5,630 code files
ai-agent-book422,452 lines written1,079 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.
litellm20% of its commits signed by AIWith Claude Code, Devin, Cursor, GitHub Copilot, OpenHands, Codex, Aider, and Gemini CLI
ai-agent-book20.8% of its commits signed by AIWith Claude Code
ActivityFrom GitHub and its history, on the day SeeRepo read it.
litellmLast push October 30, 202645,956 commits62,405 stars
ai-agent-bookLast push October 8, 20261,610 commits56,633 stars
TestsThe files that test the code, and the share of code files a test imports.
litellm6,741 test files21.7% of its code files have a test that imports them
ai-agent-book624 test files33.9% of its code files have a test that imports them
Frequently asked questions
- Which is bigger, litellm or ai-agent-book?
- litellm, with 4,405,837 lines written in 5,630 code files; ai-agent-book has 422,452 in 1,079.
- The proof: BerriAI/litellm's code at commit ef9385c
- Which has more GitHub stars, litellm or ai-agent-book?
- litellm, with 62,405 stars; ai-agent-book has 56,633.
- The proof: BerriAI/litellm on GitHub
- Which has more tests, litellm or ai-agent-book?
- litellm, with 6,741 test files; ai-agent-book has 624.
- The proof: BerriAI/litellm's code at commit ef9385c
- Which was updated more recently, litellm or ai-agent-book?
- litellm: its last push was on October 30, 2026, and ai-agent-book's on October 8, 2026.
- The proof: BerriAI/litellm's commits on GitHub
- Which has more commits signed by AI, litellm or ai-agent-book?
- ai-agent-book: an AI signed 20.8% of its commits, with Claude Code; in litellm, 20%.
- The proof: the commits each tool signed in bojieli/ai-agent-book
What is your repo built with?
Paste your public repo and see it drawn.
Free, no account.