Source: https://seerepo.com/compare/bojieli/ai-agent-book/vs/xinnan-tech/xiaozhi-esp32-server
Markdown source: https://seerepo.com/compare/bojieli/ai-agent-book/vs/xinnan-tech/xiaozhi-esp32-server.md
Description: ai-agent-book and xiaozhi-esp32-server share 10 technologies: OpenAI, AIOHTTP, Vite, mem0ai, torch, transformers, MCP, torchaudio, loguru, and psutil. ai-agent-book is written in Python and xiaozhi-esp32-server in JavaScript.

# ai-agent-book vs xiaozhi-esp32-server

ai-agent-book and xiaozhi-esp32-server share 10 technologies: OpenAI, AIOHTTP, Vite, mem0ai, torch, transformers, MCP, torchaudio, loguru, and psutil. ai-agent-book is written in Python and xiaozhi-esp32-server in JavaScript.

- [bojieli/ai-agent-book](https://seerepo.com/r/bojieli/ai-agent-book): 《深入理解 AI Agent：设计原理与工程实践》（李博杰 著）开源主仓库：全书正文、编译版 PDF 与按章配套代码
- [xinnan-tech/xiaozhi-esp32-server](https://seerepo.com/r/xinnan-tech/xiaozhi-esp32-server): 本项目为xiaozhi-esp32提供后端服务，帮助您快速搭建ESP32设备控制服务器。Backend service for xiaozhi-esp32, helps you quickly build an ESP32 device control server.

## What they share and what sets them apart

- In common: OpenAI, AIOHTTP, Vite, mem0ai, torch, transformers, MCP, torchaudio, loguru, psutil
- Only in ai-agent-book: React, uvicorn, FastAPI, azure-search-documents, azure-storage-blob, chromadb, psycopg2-binary, Postgres, pyarrow, Anthropic, Hugging Face, Google, Mistral AI, PostHog, fastmcp, Flask, anyio, Next.js, Express, Astro, mkdocs-material, Rich, matplotlib, seaborn, Plotly, authlib, google-auth, google-auth-httplib2, google-auth-oauthlib, pyotp, accelerate, bitsandbytes, cut-cross-entropy, faiss-cpu, graphrag, lightgbm, minicpmo-utils, nltk, openai-whisper, raptor-rag, scikit-image, sentencepiece, trackio, triton, umap-learn, unsloth-zoo, xformers, xgboost, browser-use, peft, datasets, tiktoken, unsloth, litellm, Ollama, scikit-learn, rank-bm25, groq, librosa, trl, fish-audio-sdk, snac, annoy, flagembedding, opencv-python, sentence-transformers, gradio-client, hnswlib, langchain-openai, memobase, mlx-audio, vLLM, lxml, python-magic, torchcodec, xlrd, xlsxwriter, beautifulsoup4, pillow, python-pptx, pypdf2, reportlab, html2text, pypdf, python-docx, openpyxl, aiosmtplib, markdown, pdfplumber, pymupdf, sendgrid, youtube-transcript-api, yt-dlp, Pydantic, structlog, colorlog, pptxgenjs, sharp, Tailwind CSS, D3, recharts, onnxruntime-node, class-variance-authority, tailwind-merge, Radix UI, react-syntax-highlighter, Lucide, react-markdown, remark-gfm, fontsource-variable, katex
- Only in xiaozhi-esp32-server: Spring, com.mysql:mysql-connector-j, druid-spring-boot-3-starter, Liquibase, spring-boot-starter-data-redis, MySQL, jakarta.servlet:jakarta.servlet-api, Vue, @dcloudio/uni-app, vue-template-compiler, vue-router, mybatis-plus-jsqlparser-4.9, easy-captcha, Apache, org.apache.shiro:shiro-spring, pyjwt, dashscope, funasr, sherpa-onnx, silero-vad, edge-tts, ModelScope, vosk, bs4, jinja2, markitdown, org.jsoup:jsoup, org.springframework.boot:spring-boot-starter-validation, Normalize.css, Element, highlight.js

## Side by side

| | ai-agent-book | xiaozhi-esp32-server |
|---|---|---|
| Size | 422,447 lines written, 1,067 code files | 185,723 lines written, 689 code files |
| Who writes it | 20.8% of its commits signed by AI. With Claude Code | 0.3% of its commits signed by AI. With Codex, Claude Code, and Jules |
| Activity | Last push October 8, 2026, 1,610 commits, 57,596 stars | Last push November 9, 2026, 2,557 commits, 11,266 stars |
| Tests | 624 test files. 34.3% of its code files have a test that imports them | 74 test files. 22.5% 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 xiaozhi-esp32-server?

ai-agent-book, with 422,447 lines written; xiaozhi-esp32-server has 185,723.

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 xiaozhi-esp32-server?

ai-agent-book, with 57,596 stars; xiaozhi-esp32-server has 11,266.

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

### Which has more tests, ai-agent-book or xiaozhi-esp32-server?

ai-agent-book, with 624 test files; xiaozhi-esp32-server has 74.

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 xiaozhi-esp32-server?

xiaozhi-esp32-server: its last push was on November 9, 2026, and ai-agent-book's on October 8, 2026.

The proof: [xinnan-tech/xiaozhi-esp32-server's commits on GitHub](https://github.com/xinnan-tech/xiaozhi-esp32-server/commits)

### Which has more commits signed by AI, ai-agent-book or xiaozhi-esp32-server?

ai-agent-book: an AI signed 20.8% of its commits, with Claude Code; in xiaozhi-esp32-server, 0.3%.

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 November 10, 2026, at commit dbc046e (https://github.com/bojieli/ai-agent-book/tree/dbc046eb896ac4e39aa19c7774c8bf49583b89a6)
- xinnan-tech/xiaozhi-esp32-server: Read on November 12, 2026, at commit 4b1a54a (https://github.com/xinnan-tech/xiaozhi-esp32-server/tree/4b1a54a41c28112bc06b1ab605d2ba723f678ad3)

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