What it does
This is the full text of a book about AI agents, the AI systems that use tools and take actions instead of only chatting. It is built around one idea: an agent is a language model plus context (the information it is given) plus tools.
The book has ten chapters that go from the basics to running agents in real products. It comes with more than a hundred hands-on experiments you can run yourself.
The original is in Chinese. Community translations are available in English and many other languages, as PDF, EPUB or online, though they may lag behind the original.
Who it's for
Developers, students and technical readers who want a thorough understanding of AI agents.
Can I use it without coding?
Yes. You can download the book as a PDF or EPUB, or read it online. The experiments need programming. New to this? Start here.
Can I run it?
- Cost
- FreeNothing to pay or sign up for.
- Runs on
- Web browser
- Computer
- An ordinary computer is fine
- API key
- Not needed
Try it
- Download the free PDF or EPUB edition in your language from the project's releases page.
- Or read the book online in your web browser.
- To run the hands-on experiments, you need Python and an API key from an AI provider.
Using Claude Code, Cursor or another AI coding assistant? Paste the prompt and it will walk you through the setup.New to this?
Before you install
- Only download from the official GitHub page or the official download page above. Copies with similar names exist for many popular projects.
- License (Apache-2.0): Permissive: free to use, change and share, including for business.
- More on staying safe