# ai-agent-book

> ai-agent-book is an open-source hosted agent for knowledge and memory. Open-source book and 109 experiments explaining AI agent design and engineering. It is available on Web.

- **Kind:** Agent
- **Pricing:** Open source
- **Platforms:** Web
- **Repository:** https://github.com/bojieli/ai-agent-book
- **GitHub stars:** 58,395
- **License:** Apache-2.0
- **Categories:** knowledge and memory, AI models and LLM tooling, research
- **Listing updated:** 2026-11-14

## About

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.

## Features

- **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

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

- [AutoGPT](https://ai-powered.com/agents/autogpt-2): AutoGPT is a hosted agent for ai models and llm tooling.
- [hermes-agent](https://ai-powered.com/agents/hermes-agent): hermes-agent is a freemium open-source agent for ai models and llm tooling.
- [dify](https://ai-powered.com/agents/dify): dify is a freemium agent framework for workflow automation.
- [langchain](https://ai-powered.com/agents/langchain): langchain is an open-source agent framework for ai models and llm tooling.
- [gemini-cli](https://ai-powered.com/agents/gemini-cli): gemini-cli is an open-source agent for ai models and llm tooling.
- [deer-flow](https://ai-powered.com/agents/deer-flow): deer-flow is an open-source agent for ai models and llm tooling.
- [ruflo](https://ai-powered.com/agents/ruflo-2): ruflo is an open-source agent framework for knowledge and memory.
- [DeepCode](https://ai-powered.com/agents/deepcode): DeepCode is an open-source agent for coding.

---
Source: https://ai-powered.com/agents/ai-agent-book
