Part 7: 生产架构

Shannon核心价值:三层架构、Temporal工作流、可观测性

章节列表

章节标题核心问题
20三层架构设计为什么需要Go/Rust/Python分离?
21Temporal工作流如何实现持久化执行和时间旅行调试?
22可观测性如何监控和调试生产Agent系统?

学习目标

完成本Part后,你将能够:

  • 理解控制面与执行面分离的价值
  • 使用Temporal实现持久化工作流
  • 实现时间旅行调试 (确定性重放)
  • 搭建完整的可观测性体系

Shannon代码导读

Shannon/
├── go/orchestrator/                    # Go: 编排层
├── rust/agent-core/                    # Rust: 执行层
├── python/llm-service/                 # Python: LLM层
└── deploy/                             # 部署配置

核心价值

特性其他框架Shannon
时间旅行调试Temporal完整历史
确定性重放可导出重放
架构分离Python单体三层polyglot

前置知识

  • Part 1-6 完成
  • 分布式系统基础
  • Prometheus/Grafana基础
引用本文 / Cite
Zhang, W. (2026). Part 7: 生产架构. In AI Agent 架构:从单体到企业级多智能体. https://waylandz.com/ai-agent-book/Part7概述
@incollection{zhang2026aiagent_Part7概述,
  author = {Zhang, Wayland},
  title = {Part 7: 生产架构},
  booktitle = {AI Agent 架构:从单体到企业级多智能体},
  year = {2026},
  url = {https://waylandz.com/ai-agent-book/Part7概述}
}