ai-agent-book vs KAG
ai-agent-book and KAG share 12 technologies: FastAPI, OpenAI, matplotlib, nltk, MCP, Ollama, pypdf2, pypdf, python-docx, markdown, Pydantic, and psutil. Both are written in Python.
What they share and what sets them apart
ai-agent-book
《深入理解 AI Agent:设计原理与工程实践》(李博杰 著)开源主仓库:全书正文、编译版 PDF 与按章配套代码
Python58.5kRead on November 17, 2026, at commit dbc046eWhat is ai-agent-book built with?Only in ai-agent-book
React
uvicorn
- azure-search-documents
- azure-storage-blob
chromadb
psycopg2-binary
- Postgres
pyarrow
- Anthropic
- Hugging Face
- Mistral AI
PostHog
fastmcp
Flask
- anyio
- AIOHTTP
- Next.js
Vite
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
openai-whisper
- raptor-rag
scikit-image
- sentencepiece
trackio
- triton
umap-learn
unsloth-zoo
- xformers
- xgboost
browser-use
- torch
- transformers
peft
- datasets
- tiktoken
unsloth
litellm
- scikit-learn
- 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
- xlrd
- xlsxwriter
- beautifulsoup4
pillow
- python-pptx
- reportlab
- html2text
- openpyxl
- aiosmtplib
- pdfplumber
pymupdf
sendgrid
- youtube-transcript-api
yt-dlp
structlog
loguru
- 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
In common
KAG
KAG is a logical form-guided reasoning and retrieval framework based on OpenSPG engine and LLMs. It is used to build logical reasoning and factual Q&A solutions for professional domain knowledge bases. It can effectively overcome the shortcomings of the traditional RAG vector similarity calculation model.
Python9.2kRead on November 19, 2026, at commit e162ce1What is KAG built with?Only in KAG
Side by side
Frequently asked questions
Which is bigger, ai-agent-book or KAG?
Which has more GitHub stars, ai-agent-book or KAG?
The proof: bojieli/ai-agent-book on GitHub
Which has more tests, ai-agent-book or KAG?
Which was updated more recently, ai-agent-book or KAG?
The proof: OpenSPG/KAG's commits on GitHub
Which has more commits signed by AI, ai-agent-book or KAG?
The proof: the commits each tool signed in bojieli/ai-agent-book
See inside your code, today.
Paste your repo and see it drawn, part by part: a medium one in under a minute.
Free, no account.Private repo? Sign in with GitHub

