bojieli/ai-agent-book

Open-source main repository for Understanding AI Agents: Design Principles and Engineering Practice by Li Bojie, including the complete text, compiled PDF, and chapter-specific code.

About the project

AI Agent: Design Principles and Engineering Practice is an open-source book that explains how AI agents combine language models, context, and tools, with accompanying experiments and code. It is intended for readers studying the principles and engineering of AI agents, from fundamentals through production use. The catalogue skills support coding-agent work related to the book's subject matter.

56kStars on the repository
30Mods indexed here, across every type
16d agoLast push, which is what freshness is scored on
Apache-2.0Licence, which decides whether bodies are shown

multi-agent-design

25

bojieli/ai-agent-book

Skill Claude CodeCodex

A guide to deciding when several AI agents should work together and how they should share tasks, context, and files. It compares peer, manager-led, and decentralised arrangements and explains common coordination failures.

not rated 56k +880 16d ago A 126 tokens original Apache-2.0

bojieli/ai-agent-book

Skill Claude CodeCodex

A guide to choosing and planning ways to improve an AI model after its initial training. It explains when to add knowledge, teach a response format, use trial-and-error training, or use a smaller model to learn from a larger one.

not rated 56k +880 16d ago A 159 tokens original Apache-2.0

rag-pipeline

27

bojieli/ai-agent-book

Skill Claude CodeCodex

A guide to RAG, a method where a system retrieves relevant passages from an external knowledge base before an AI model writes an answer. It covers splitting documents, searching by meaning or exact words, combining results, and measuring retrieval quality.

not rated 56k +880 16d ago A 125 tokens original Apache-2.0

reward-design

28

bojieli/ai-agent-book

Skill Claude CodeCodex

A guide to defining the scores that an AI agent receives during trial-and-error training. It covers checks based on rules, human preferences, or another model, and distinguishes rewarding the final result from rewarding the steps taken.

not rated 56k +880 16d ago A 131 tokens original Apache-2.0

tool-design

29

bojieli/ai-agent-book

Skill Claude CodeCodex

A guide for designing tools that AI agents use to work with software. It covers tool boundaries, input and output descriptions, search and reading results, safety checks, sandboxes, and cooperation between agents.

not rated 56k +880 16d ago C 100 tokens original Apache-2.0

tool-discovery

30

bojieli/ai-agent-book

Skill Claude CodeCodex

A guide for making large collections of AI-agent tools easier to find and load. It describes indexes, search, grouping, and loading tool definitions only when needed instead of showing every tool at once.

not rated 56k +880 16d ago A 104 tokens original Apache-2.0

At most 3 mods per repository are shown here, and a mod shipped inside a plugin is left to that plugin's page — the rest are on their repository pages: