980 B
980 B
id, title, type, tags, sources, last_updated
| id | title | type | tags | sources | last_updated | ||||
|---|---|---|---|---|---|---|---|---|---|
| progressive-disclosure | 渐进式披露 | concept |
|
|
2026-04-17 |
Summary
一种按需加载的优化策略,agent 只在运行时需要时才消耗上下文 token 来加载特定模式或文档。
Definition
渐进式披露(Progressive Disclosure)是 ADK(Agent Development Kit)中的机制,允许 agent 在真正需要时才动态加载相关的 skill、模式或文档,而非在初始化时全部加载到 system prompt 中。
Use Cases
- Skill 按需加载:只有当用户触发特定技术栈时才加载对应的规范文档
- 模式按需加载:Pipeline 中的检查点只在到达时才加载审查标准
- 减少上下文膨胀:通过延迟加载降低每次交互的 token 消耗
Related Concepts
- SkillToolset:实现渐进式披露的工具集
- Tool Wrapper:依赖渐进式披露的典型模式