AI Agent Book is an open educational repository for Understanding AI Agents: Design Principles and Engineering Practice. It explains agents through the formula of a language model combined with context and tools. Ten chapters move from core concepts to context engineering, memory, RAG, knowledge graphs, MCP tools, and coding agents. Later material covers evaluation, supervised fine-tuning, reinforcement learning, self-improvement, multimodal interaction, robotics, and multi-agent cooperation. The repository includes 88 companion experiments, with more than 70 designed to run independently. Readers can access the source chapters, generated figures, code, and downloadable PDF or EPUB editions. Community translations provide versions in several languages alongside the original Chinese text.

Features

  • Ten progressive AI agent chapters
  • More than 70 runnable experiments
  • Context engineering and agent memory
  • MCP tools and coding agents
  • Evaluation and post-training workflows
  • Multilingual PDF and EPUB editions

Project Samples

Project Activity

See All Activity >

Categories

AI Agents

License

Apache License V2.0

Follow AI Agent Book

AI Agent Book Web Site

Other Useful Business Software
Fully Managed MySQL, PostgreSQL, and SQL Server Icon
Fully Managed MySQL, PostgreSQL, and SQL Server

Automatic backups, patching, replication, and failover. Focus on your app, not your database.

Cloud SQL handles your database ops end to end, so you can focus on your app.
Try Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of AI Agent Book!

Additional Project Details

Programming Language

Python

Related Categories

Python AI Agents

Registered

2026-07-21