详解 ADK Go 的 Rewind 机制——如何将 Agent 回溯到历史状态重新执行,适用于 Agent 走错路、需要重新来的场景。
#Memory
详解 ADK Go 的 Context Compression 机制——如何压缩历史消息,保持上下文精简,控制 token 消耗。
详解 ADK Go 的 Context Caching 机制——如何缓存上下文减少 token 消耗,以及适用场景和限制。
详解 ADK Go 中 Event 的类型、EventHandler 的使用,以及如何监听和处理 Agent 运行过程中的各种事件。
State 读写:Agent 内部状态管理
详解 ADK Go 中 State 的概念、读写 API,以及如何在多轮对话中保持和共享自定义状态数据。
Session Management: Creation, Persistence and Recovery
Detailed explanation of Session concept, creation, persistence and recovery mechanism in ADK Go, understanding …
Module 4: Memory & Context
Session, State, Event, Caching, Compression, Rewind