The Hitchhiker's Guide to Agentic AI: From Foundations to Systems
The Hitchhiker’s Guide to Agentic AI: From Foundations to Systems
智能体 AI 漫游指南:从基础到系统
Abstract: The Hitchhiker’s Guide to Agentic AI is a comprehensive practitioner’s reference for building autonomous AI systems. The book covers the full stack from first principles to production deployment, organized around a central thesis: building great agentic systems requires understanding every layer of the pipeline, not just one.
摘要:《智能体 AI 漫游指南》(The Hitchhiker’s Guide to Agentic AI)是一本为构建自主 AI 系统而编写的综合性实践参考书。该书涵盖了从基本原理到生产部署的全栈内容,其核心论点在于:构建优秀的智能体系统需要理解流水线的每一层,而不仅仅是其中之一。
The book opens with the LLM substrate — transformer architecture, GPU systems, training and fine-tuning (SFT, LoRA, MoE), model compression, and inference optimization — treated as essential foundations rather than the primary focus. It then develops the alignment and reasoning layer: reinforcement learning from human feedback (RLHF), PPO, DPO and its variants, GRPO, reward modeling, and RL for large reasoning models including chain-of-thought and test-time scaling.
本书开篇介绍了大语言模型(LLM)的底层基础——包括 Transformer 架构、GPU 系统、训练与微调(SFT、LoRA、MoE)、模型压缩以及推理优化,这些内容被视为必要的基础,而非全书的重点。随后,书中深入探讨了对齐与推理层:包括人类反馈强化学习(RLHF)、PPO、DPO 及其变体、GRPO、奖励建模,以及针对大型推理模型的强化学习(包括思维链和测试时扩展)。
The second half is devoted to agentic AI proper. Topics include agentic training and trajectory-based RL, retrieval-augmented generation (RAG and Agentic RAG), memory systems (in-context, external, episodic, and semantic), agent harness design and context management, and a taxonomy of agent design patterns.
本书后半部分专门讨论智能体 AI 本身。主题包括智能体训练与基于轨迹的强化学习、检索增强生成(RAG 与智能体 RAG)、记忆系统(上下文记忆、外部记忆、情景记忆和语义记忆)、智能体框架设计与上下文管理,以及智能体设计模式的分类学。
Inter-agent coordination is covered in depth: the Model Context Protocol (MCP), agent skills and tool use, the Agent-to-Agent (A2A) communication protocol, and multi-agent architectures spanning centralized, decentralized, and hierarchical topologies.
书中深入涵盖了智能体间的协作:模型上下文协议(MCP)、智能体技能与工具使用、智能体间(A2A)通信协议,以及涵盖集中式、去中心化和分层拓扑的多智能体架构。
The book concludes with agent development frameworks, agentic UI design, evaluation methodology for agentic tasks, and production deployment. Each chapter pairs rigorous theoretical foundations with implementation guidance, code examples, and references to the primary literature.
本书最后介绍了智能体开发框架、智能体 UI 设计、智能体任务的评估方法以及生产部署。每一章都将严谨的理论基础与实施指南、代码示例以及原始文献引用相结合。