A systematic, comprehensive, and practice-oriented AI Agent development guide
Daily auto-tracking of arXiv frontier papers β content stays cutting-edge, always.
π Report Issues Β· π¬ Discussions Β· π¨π³ δΈζη README
π€ This repository automatically searches arXiv for the latest AI Agent-related papers every day and updates the content accordingly β ensuring you always stay at the cutting edge of research!
- π‘ Daily Automated Search: A scheduled pipeline scans arXiv daily for new papers on Agent architectures, tool use, memory systems, multi-agent collaboration, reinforcement learning for agents, and more.
- π Auto-Updated Content: Relevant findings are automatically integrated into the corresponding chapters, keeping the book's frontier sections fresh and up-to-date.
- π Never Miss a Breakthrough: No need to manually track dozens of research feeds β this repo does it for you, so you can focus on learning and building.
π‘ This means the content you read here is not static β it evolves continuously with the latest advances in the AI Agent field.
- π― Step by Step: From LLM fundamentals to multi-Agent systems, each chapter has a clear knowledge progression
- π» Code First: Every core concept comes with runnable Python code examples
- π¨ Rich Illustrations: 120+ hand-drawn SVG architecture diagrams / flowcharts / sequence diagrams for intuitive understanding
- π¬ Interactive Animations: 5 built-in interactive HTML animations (Perceive-Think-Act cycle, ReAct reasoning, Function Calling, RAG flow, GRPO sampling)
- π¬ Paper Reviews: Key chapters include frontier paper deep-dives (ReAct, Reflexion, MemGPT, GRPO, etc.)
- ποΈ Complete Projects: 3 comprehensive hands-on projects (AI Coding Assistant, Intelligent Data Analysis Agent, Multimodal Agent)
- π‘οΈ Production Ready: Covers security, evaluation, deployment, and other production essentials
- π§ͺ Cutting Edge: Covers Context Engineering, Agentic-RL (GRPO/DPO/PPO), MCP/A2A/ANP, and other 2025β2026 latest advances
- π Formula Support: KaTeX-rendered math formulas for clear reading of policy gradient, KL divergence derivations in RL chapters
- π Continuously Updated: Tracking the latest changes in LangChain, LangGraph, MCP, and other frameworks
Below are selected showcases from the book's 120+ hand-drawn SVG illustrations, all original to this book.
π The above is just a selected preview β For the full 120+ architecture diagrams + 5 interactive animations, please read online
This book includes 5 interactive HTML animations to help you intuitively understand the dynamic processes of core concepts:
| Animation | Chapter | Description |
|---|---|---|
| π Perceive-Think-Act Cycle | Chapter 1 | Dynamic demonstration of Agent's core loop |
| π‘ ReAct Reasoning Process | Chapter 6 | Shows the alternating Thought β Action β Observation process |
| π§ Function Calling | Chapter 4 | Complete tool invocation flow animation |
| π RAG Retrieval Flow | Chapter 7 | From document chunking to vector retrieval to answer generation |
| π― GRPO Sampling Process | Chapter 10 | Visualization of intra-group multi-output sampling and reward normalization |
π‘ Interactive animations are only available in the online e-book. Local builds can also preview them.
|
π§ Agent Core Architecture
π οΈ Tools & Skills
π§ͺ Reinforcement Learning Training
|
πΎ Memory, Knowledge & Context
π€ Multi-Agent Collaboration & Communication
π‘οΈ Production Full Pipeline
|
# Install mdBook (choose one)
cargo install mdbook
# Or macOS: brew install mdbook
# Install mdbook-katex plugin (for math formula rendering)
cargo install mdbook-katex
# Clone the repository
git clone https://github.com/Haozhe-Xing/agent_learning.git
cd agent_learning
# Build both Chinese and English versions and start unified server (default port 3000)
./serve.shAfter starting, visit:
- π Language Selection Home:
http://localhost:3000 - π¨π³ Chinese Version:
http://localhost:3000/zh/ - πΊπΈ English Version:
http://localhost:3000/en/
# Python 3.11+
python -m venv venv
source venv/bin/activate # Windows: venv\Scripts\activate
# Install core dependencies
pip install langchain langchain-openai langgraph openai anthropic
# Configure API Key
export OPENAI_API_KEY="your-key-here"All forms of contribution are welcome!
- π Found a bug: Submit an Issue
- π‘ Content suggestions: Start a Discussion
- π Improve content: Fork β Edit β Submit PR
- β Support the project: Give this repo a Star!
# Fork and clone
git clone https://github.com/YOUR_USERNAME/agent_learning.git
# Create a feature branch
git checkout -b feature/improve-chapter-4
# Local preview
./serve.sh
# Commit and push
git commit -m "feat: improve Chapter 4 tool calling code examples"
git push origin feature/improve-chapter-4- Each chapter is placed in a separate directory
src/zh/chapter_xxx/(Chinese) orsrc/en/chapter_xxx/(English) - Chapter overview goes in
README.md, sections are numbered as01_xxx.md,02_xxx.md - Chinese SVG illustrations go in
src/zh/svg/, English versions insrc/en/svg/, naming format:chapter_xxx_description.svg - Chinese interactive animations go in
src/zh/animations/, English versions insrc/en/animations/
This project is open-sourced under the MIT License.
If this project helps you, please give it a Star β β it's the greatest encouragement for the author!
Built with β€οΈ, so that every developer can master AI Agent development