
ai-agent-book
Open-source book and 109 experiments explaining AI agent design and engineering
- Pricing
- Open source
- Platforms
- Web
- GitHub stars
- 58.4K
- Last commit
- 1 month ago
- Language
- Python
- License
- Apache-2.0
About ai-agent-book
ai-agent-book is an open-source hosted agent for knowledge and memory. It is available on Web.
This repository hosts a Chinese-language book on AI agents, built around the idea that an agent is an LLM plus context plus tools. It has 10 chapters moving from principles to production practice.
It ships with 109 companion experiments and is translated into 15 languages. PDF and EPUB downloads and an online reader are provided, and the text and figures are open source.
It is a learning resource rather than an agent product, with a sister book on AI infrastructure.
What it does
- 10-chapter book
- Covers agents from principles to engineering.
- 109 experiments
- Companion code projects to run.
- Multiple formats
- PDF, EPUB and online reading.
- 15 languages
- Original Chinese plus community translations.
Good for
- Learning agent design principles
- Running hands-on agent experiments
- Teaching an agent engineering course
Pricing
Open source
Free, Apache-2.0 licensed
ai-agent-book FAQ
What formats are offered?
PDF, EPUB and an online reader.
What license?
Apache-2.0.
How many experiments?
109.
Is ai-agent-book free?
Yes. ai-agent-book is open source, so you can use and self-host it for free.
What are the best alternatives to ai-agent-book?
The closest alternatives to ai-agent-book are AutoGPT, hermes-agent, dify, langchain and gemini-cli.
Alternatives to ai-agent-book

AutoGPT
AgentHosted team of AI Experts for content, sales and research, coordinated by Otto
- Free trial
- Hosted agent
- 188K GitHub stars
- AI models and LLM tooling

hermes-agent
AgentOpen-source self-improving agent with memory, scheduling and many chat gateways
- Freemium
- Open-source agent
- 264K GitHub stars
- AI models and LLM tooling

dify
AgentVisual platform for building and deploying agentic workflows and knowledge pipelines
- Freemium
- Agent framework
- 161K GitHub stars
- Workflow automation

langchain
AgentPython library for building agents from a model, tools, prompt and middleware
- Open source
- Agent framework
- 150K GitHub stars
- AI models and LLM tooling

gemini-cli
AgentOpen-source terminal agent for Gemini Code Assist workflows on Google Cloud
- Open source
- Open-source agent
- 109K GitHub stars
- AI models and LLM tooling

deer-flow
AgentOpen-source super agent harness that researches, codes and creates with sandboxes
- Open source
- Open-source agent
- 85.4K GitHub stars
- AI models and LLM tooling