Source: https://seerepo.com/compare/bojieli/ai-agent-book/vs/Tencent/AI-Infra-Guard
Markdown source: https://seerepo.com/compare/bojieli/ai-agent-book/vs/Tencent/AI-Infra-Guard.md
Description: ai-agent-book and AI-Infra-Guard share 24 technologies: React, uvicorn, FastAPI, pyarrow, OpenAI, AIOHTTP, Vite, matplotlib, MCP, scikit-learn, xlrd, openpyxl, Pydantic, loguru, Tailwind CSS, D3, recharts, class-variance-authority, tailwind-merge, Radix UI, react-syntax-highlighter, Lucide, react-markdown, and remark-gfm. Both are written in Python.

# ai-agent-book vs AI-Infra-Guard

ai-agent-book and AI-Infra-Guard share 24 technologies: React, uvicorn, FastAPI, pyarrow, OpenAI, AIOHTTP, Vite, matplotlib, MCP, scikit-learn, xlrd, openpyxl, Pydantic, loguru, Tailwind CSS, D3, recharts, class-variance-authority, tailwind-merge, Radix UI, react-syntax-highlighter, Lucide, react-markdown, and remark-gfm. Both are written in Python.

- [bojieli/ai-agent-book](https://seerepo.com/r/bojieli/ai-agent-book): 《深入理解 AI Agent：设计原理与工程实践》（李博杰 著）开源主仓库：全书正文、编译版 PDF 与按章配套代码
- [Tencent/AI-Infra-Guard](https://seerepo.com/r/Tencent/AI-Infra-Guard): A full-stack AI Red Teaming platform securing AI ecosystems via Agent Scan, Skills Scan, MCP scan, AI Infra scan and LLM jailbreak evaluation.

## What they share and what sets them apart

- In common: React, uvicorn, FastAPI, pyarrow, OpenAI, AIOHTTP, Vite, matplotlib, MCP, scikit-learn, xlrd, openpyxl, Pydantic, loguru, Tailwind CSS, D3, recharts, class-variance-authority, tailwind-merge, Radix UI, react-syntax-highlighter, Lucide, react-markdown, remark-gfm
- Only in ai-agent-book: azure-search-documents, azure-storage-blob, chromadb, psycopg2-binary, Postgres, Anthropic, Hugging Face, Google, Mistral AI, PostHog, fastmcp, Flask, anyio, Next.js, Express, Astro, mkdocs-material, Rich, seaborn, Plotly, authlib, google-auth, google-auth-httplib2, google-auth-oauthlib, pyotp, accelerate, bitsandbytes, cut-cross-entropy, faiss-cpu, graphrag, lightgbm, mem0ai, minicpmo-utils, nltk, openai-whisper, raptor-rag, scikit-image, sentencepiece, trackio, triton, umap-learn, unsloth-zoo, xformers, xgboost, browser-use, torch, transformers, peft, datasets, tiktoken, unsloth, litellm, Ollama, rank-bm25, groq, librosa, trl, fish-audio-sdk, snac, torchaudio, annoy, flagembedding, opencv-python, sentence-transformers, gradio-client, hnswlib, langchain-openai, memobase, mlx-audio, vLLM, lxml, python-magic, torchcodec, xlsxwriter, beautifulsoup4, pillow, python-pptx, pypdf2, reportlab, html2text, pypdf, python-docx, aiosmtplib, markdown, pdfplumber, pymupdf, sendgrid, youtube-transcript-api, yt-dlp, structlog, psutil, colorlog, pptxgenjs, sharp, onnxruntime-node, fontsource-variable, katex
- Only in AI-Infra-Guard: Gin, github.com/glebarez/sqlite, github.com/projectdiscovery/hmap, Sentry, react-router-dom, gorm.io/gorm, gorm.io/datatypes, mcp-go, openai-go, deepeval, github.com/PuerkitoBio/goquery, github.com/go-playground/validator/v10, github.com/sirupsen/logrus, next-themes, sonner, react-joyride, cmdk, embla-carousel-react, input-otp, React Hook Form, react-day-picker, react-dropzone, react-resizable-panels, react-to-print, vaul, js-yaml, html2canvas, jspdf, rehype-raw

## Side by side

| | ai-agent-book | AI-Infra-Guard |
|---|---|---|
| Size | 422,447 lines written, 1,067 code files | 188,177 lines written, 967 code files |
| Who writes it | 20.8% of its commits signed by AI. With Claude Code | 1.1% of its commits signed by AI. With Cursor, Claude Code, and GitHub Copilot |
| Activity | Last push October 8, 2026, 1,610 commits, 58,544 stars | Last push November 19, 2026, 1,681 commits, 7,551 stars |
| Tests | 624 test files. 34.3% of its code files have a test that imports them | 148 test files. 19.3% 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 AI-Infra-Guard?

ai-agent-book, with 422,447 lines written; AI-Infra-Guard has 188,177.

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 AI-Infra-Guard?

ai-agent-book, with 58,544 stars; AI-Infra-Guard has 7,551.

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

### Which has more tests, ai-agent-book or AI-Infra-Guard?

ai-agent-book, with 624 test files; AI-Infra-Guard has 148.

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 AI-Infra-Guard?

AI-Infra-Guard: its last push was on November 19, 2026, and ai-agent-book's on October 8, 2026.

The proof: [Tencent/AI-Infra-Guard's commits on GitHub](https://github.com/Tencent/AI-Infra-Guard/commits)

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

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

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 17, 2026, at commit dbc046e (https://github.com/bojieli/ai-agent-book/tree/dbc046eb896ac4e39aa19c7774c8bf49583b89a6)
- Tencent/AI-Infra-Guard: Read on November 19, 2026, at commit e79bb00 (https://github.com/Tencent/AI-Infra-Guard/tree/e79bb0079eb15a57828ecc347ba58ff6ea0505ec)

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