本文基于 DeerFlow 开源项目(bytedance/deer-flow)的最新架构变更,分析其 Gateway 如何从依赖外部 langgraph-cli 进程,演进为内置 LangGraph Runtime 的单进程架构,并实现 LangGraph Platform 兼容 API。问题:三进程部署的痛
| 组件 | 职责 |
| StreamBridge | SSE 流式推送桥接,管理 agent 输出到客户端的实时流 |
| RunManager | 管理 agent run 的生命周期(创建、取消、状态查询) |
| Checkpointer | 持久化 thread 状态(对话历史、agent state),支持 sqlite |
| Store | 键值存储,用于 thread 元数据、快速列表查询 |
| 欢迎光临 AI创想 (https://llms-ai.com/) | Powered by Discuz! X3.4 |