{"data":{"slug":"bojieli-ai-agent-book","name":"ai-agent-book","tagline":"A book on AI Agent design principles and engineering practices, including 109 accompanying experiments.","github_url":"https://github.com/bojieli/ai-agent-book","owner":"bojieli","repo":"ai-agent-book","owner_avatar_url":"https://avatars.githubusercontent.com/u/1421793?v=4","primary_language":"Python","stars":48441,"forks":5415,"topics":["agent","agent-memory","ai-agent","book","coding-agent","context-engineering","large-language-models","llm","mcp","multi-agent","multimodal","rag","reinforcement-learning"],"archived":false,"github_pushed_at":"2026-09-18T03:02:27+00:00","maintenance_label":"Very active","url":"https://www.graphcanon.com/tools/bojieli-ai-agent-book","markdown_url":"https://www.graphcanon.com/tools/bojieli-ai-agent-book.md","api_url":"https://www.graphcanon.com/api/graphcanon/tools/bojieli-ai-agent-book","graph_url":"https://www.graphcanon.com/api/graphcanon/graph?tool=bojieli-ai-agent-book","description":"《深入理解 AI Agent：设计原理与工程实践》（李博杰 著）开源主仓库：全书正文、编译版 PDF 与按章配套代码","homepage_url":null,"license":"Apache-2.0","open_issues":37,"watchers":182,"ai_summary":"This repository contains the full text, compiled PDF, and chapter-specific code for the book 'Deep Understanding of AI Agents: Design Principles and Engineering Practices'. It covers AI Agent design from theory to practical implementation, with a focus on the formula Agent = LLM + Context + Tools.","readme_excerpt":"# 深入理解 AI Agent：设计原理与工程实践\n\n    \n\n\n**中文** ← 当前 · [English](docs/en/README.md) · [Español](docs/es/README.md) · [Bahasa Indonesia](docs/id/README.md) · [العربية](docs/ar/README.md) · [繁體中文（台灣）](docs/zh-TW/README.md) · [Русский](docs/ru/README.md) · [Tiếng Việt](docs/vi/README.md) · [தமிழ்](docs/ta/README.md) · [日本語](docs/ja/README.md) · [Türkçe](docs/tr/README.md) · [한국어](docs/ko/README.md) · [Magyar](docs/hu/README.md) · [עברית](README.he.md) · [Português (Brasil)](README.ptbr.md)\n\n> 📥 **[下载 PDF / EPUB](#-电子书)**（推荐）— 推荐使用 PDF / EPUB 离线阅读，排版最佳；也可[在线阅读](https://bojieli.github.io/ai-agent-book/astro/)（支持多语言切换、章节折叠、高亮与笔记，每次推送自动更新）。\n\n**Agent = LLM + 上下文 + 工具**——本书围绕这个核心公式，用 10 章把 AI Agent 从原理讲到工程实战。全书正文、配图、**109 个配套实验**全部开源，欢迎亲手把实验跑一遍。\n\n> 📚 **姊妹篇《深入理解 AI Infra：量化分析与系统设计》已开源发布**，欢迎阅读：[github.com/bojieli/ai-infra-book](https://github.com/bojieli/ai-infra-book)\n>\n> 要开发好基于模型的应用，还需要理解这类应用赖以运行的基础设施。姊妹篇讨论的就是支撑模型训练与推理的 AI Infra：参数和上下文状态存在哪里，计算怎样执行，多个加速器怎样协作。\n\n> 📢 **2.0 版变更（相较 1.4 版）**：本仓库书稿版本已由 1.4 升级为 2.0。2.0 版将原第四章中的“异步交互”部分与原第九章中关于“多模态 Agent”的内容合并，重组为新的第六章“交互：观察与动作空间的扩展”。原第六章“Agent 的评估”、第七章“模型后训练”和第八章“Agent 的持续进化”依次后移一章，现分别为第七、八、九章。\n>\n> 如果你看到的是旧版 PDF，建议[下载最新版 PDF](https://github.com/bojieli/ai-agent-book/releases/download/latest/AI-Agents-in-Depth-zh-CN.pdf)。新版还包含许多内容修正与调整，请以最新版为准。\n\n| 📚 **10 章** 正文，从基础到生产 | 📂 **109 个** 配套实验（含本地项目与外部复现轨道） | 🌐 **15 种** 语言：中 / 英 / 西 / 印尼 / 阿 / 繁體中文（台灣） / 俄 / 泰米尔 / 越 / 日 / 土耳其 / 韩 / 匈牙利 / 希伯来 / 葡萄牙语（巴西） |\n| :---: | :---: | :---: |\n\n## 📖 电子书\n\n> 📥 **离线下载**（推荐，全书正文，开源免费）。以下链接始终指向 main 分支的最新构建；固定版本见 [Releases](https://github.com/bojieli/ai-agent-book/releases)：\n> - **中文（原版）**：[PDF](https://github.com/bojieli/ai-agent-book/releases/download/latest/AI-Agents-in-Depth-zh-CN.pdf) · [EPUB](https://github.com/bojieli/ai-agent-book/releases/download/latest/AI-Agents-in-Depth-zh-CN.epub)\n> - **英文**（社区翻译，by [@nsdevaraj](https://github.com/nsdevaraj)、[@whanyu1212](https://github.com/whanyu1212)）：[PDF](https://github.com/bojieli/ai-agent-book/releases/download/latest/AI-Agents-in-Depth-en.pdf) · [EPUB](https://github.com/bojieli/ai-agent-book/releases/download/latest/AI-Agents-in-Depth-en.epub)\n> - **西班牙语**（社区翻译，by [@santhreal](https://github.com/santhreal)）：[PDF](https://github.com/bojieli/ai-agent-book/releases/download/latest/AI-Agents-in-Depth-es.pdf) · [EPUB](https://github.com/bojieli/ai-agent-book/releases/download/latest/AI-Agents-in-Depth-es.epub)\n> - **印度尼西亚语**（社区翻译，by [@jojixyz666](https://github.com/jojixyz666)）：[PDF](https://github.com/bojieli/ai-agent-book/releases/download/latest/AI-Agents-in-Depth-id.pdf) · [EPUB](https://github.com/bojieli/ai-agent-book/releases/download/latest/AI-Agents-in-Depth-id.epub)\n> - **繁體中文（台灣）**（社区翻译，by [@tigercosmos](https://github.com/tigercosmos)）：[PDF](https://github.com/bojieli/ai-agent-book/releases/download/latest/AI-Agents-in-Depth-zh-TW.pdf) · [EPUB](https://github.com/bojieli/ai-agent-book/releases/download/latest/AI-Agents-in-Depth-zh-TW.epub)\n> - **俄语**（社区翻译，by [@ui99ru](https://github.com/ui99ru)）：[PDF](https://github.com/bojieli/ai-agent-book/releases/download/latest/AI-Agents-in-Depth-ru.pdf) · [EPUB](https://github.com/bojieli/ai-agent-book/releases/download/latest/AI-Agents-in-Depth-ru.epub)\n> - **泰米尔语**（社区翻译，by [@nsdevaraj](https://github.com/nsdevaraj)）：[PDF](https://github.com/bojieli/ai-agent-book/releases/download/latest/AI-Agents-in-Depth-ta.pdf) · [EPUB](https://github.com/bojieli/ai-agent-book/releases/download/latest/AI-Agents-in-Depth-ta.epub)\n> - **越南语**（社区翻译，by [@toanalien](https://github.com/toanalien)）：[PDF](https://github.com/bojieli/ai-agent-book/releases/download/latest/AI-Agents-in-Depth-vi.pdf) · [EPUB](https://github.com/bojieli/ai-agent-book/releases/download/latest/AI-Agents-in-Depth-vi.epub)\n> - **日语**（社区翻译，by [@eltociear](https://github.com/eltociear)）：[PDF](https://github.com/bojieli/ai-agent-book/releases/download/latest/AI-Agents-in-Depth-ja.pdf) · [EPUB](https://github.com/bojieli/ai-agent-book/releases/download/latest/AI-Agent","github_created_at":"2025-09-09T02:41:44+00:00","created_at":"2026-09-18T08:38:45.903012+00:00","updated_at":"2026-09-20T04:32:20.870993+00:00","categories":[{"slug":"ai-agents","name":"AI Agents","url":"https://www.graphcanon.com/categories/ai-agents","markdown_url":"https://www.graphcanon.com/categories/ai-agents.md","api_url":"https://www.graphcanon.com/api/graphcanon/categories/ai-agents"}],"tags":[{"slug":"agent","name":"agent"},{"slug":"agent-memory","name":"agent-memory"},{"slug":"ai-agent","name":"ai-agent"},{"slug":"coding-agent","name":"coding-agent"},{"slug":"context-engineering","name":"context-engineering"},{"slug":"large-language-models","name":"large-language-models"},{"slug":"llm","name":"llm"},{"slug":"mcp","name":"mcp"}],"trust":{"provenance":{"is_fork":false,"github_id":1053118194,"owner_type":"User","methodology":"github_public_v1","parent_repo":null,"near_duplicate_slugs":[]},"computed_at":"2026-09-18T08:38:49.981Z","maintenance":{"label":"Very active","score":96,"methodology":"github_public_v1","releases_90d":1,"days_since_push":0,"last_release_at":"2026-07-21T03:27:58Z"},"security_summary":{"status":"findings","scanner":"mcp_manifest@v1","low_count":2,"high_count":0,"last_scan_at":"2026-09-18T08:38:51.638Z","medium_count":0,"scan_profile":"mcp_manifest","critical_count":0}},"capability_facts":{"scan":{"source":"repo_scan","observed_at":"2026-09-18T08:38:48.831Z"},"languages":{"value":["python"],"source":"github.language+pyproject.toml","observed_at":"2026-09-18T08:38:48.831Z"},"license_spdx":{"value":"Apache-2.0","source":"github.license","observed_at":"2026-09-18T08:38:48.831Z"}},"decision_facts":{"hosting":null,"pricing":null,"requirements":null,"constraints":null,"when_to_use":["Use ai-agent-book when you need a detailed guide on AI Agent design, from theory to practical implementation, especially if you are interested in the formula Agent = LLM + Context + Tools.","Consider ai-agent-book if you are looking for a resource that includes a significant number of practical experiments (109) to complement the theoretical knowledge.","Choose ai-agent-book if you require a resource that is available in multiple languages, including less common ones like Tamil and Vietnamese, to cater to a diverse audience."],"when_not_to_use":["Avoid ai-agent-book if you are seeking a resource that focuses solely on theoretical aspects of AI Agents without practical implementation details.","Do not use ai-agent-book if you are looking for a tool that provides real-time updates or interactive features beyond the static PDF and EPUB formats.","Skip ai-agent-book if you prefer resources that cover a broader range of AI topics beyond just AI Agents, as this book is specifically focused on AI Agent design and engineering."],"source":"enrich:decision_facts","observed_at":"2026-09-18T11:24:06.397Z"},"constraint_facets":null,"decision_summary":[{"label":"Adopt for","value":"ai-agent-book is a comprehensive resource on AI Agent design principles and engineering practices, featuring 109 experiments and available in 15 languages."}]}}