# 本章小结

本章从软件工程和架构设计角度，探讨了如何打造健壮、高效且经济的智能体系统。核心四层：架构设计模式(ReAct/编排-执行/反思/工具路由) → 鲁棒性设计(防御编程/错误恢复/状态管理/沙箱) → 企业集成与性能优化(成本控制/延迟优化/结构化输出/可观测性) → 工程化落地(组织工程/数据飞轮/概率系统/人机协同)。

## 关键概念清单

* **架构模式**：ReAct/编排-执行/反思/工具路由的选择与组合
* **防御编程**：时间预算、最大迭代次数约束
* **错误恢复**：结构化校验与自动修复机制
* **状态管理**：隔离、压缩、快照回滚防止污染
* **沙箱机制**：容器化隔离代码执行
* **成本控制**：提示词缓存、语义缓存、计划缓存、模型级联
* **延迟优化**：分离式架构、投机解码
* **结构化输出**：约束解码保证高可靠性
* **可观测性**：OTel统一追踪、Outcome/Trajectory评估、回放定位

## 下一步

下一章进入全新领域：Agentic Coding。这不仅是关于如何写代码，而是关于如何编排AI来构建软件。

***

**下一章**: [第十章：智能体编程实践](/agentic_ai_guide/di-san-bu-fen-gong-cheng-shi-jian-yu-luo-di/10_agentic_coding.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://yeasy.gitbook.io/agentic_ai_guide/di-san-bu-fen-gong-cheng-shi-jian-yu-luo-di/09_agentops/summary.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
