Files
nexus/wiki/concepts/渐进式披露.md

23 lines
980 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
id: progressive-disclosure
title: "渐进式披露"
type: concept
tags: [Agent, Skill, 优化策略]
sources: [Google-5-Agent-Skill-design-patterns-2026-03-19]
last_updated: 2026-04-17
---
## Summary
一种按需加载的优化策略agent 只在运行时需要时才消耗上下文 token 来加载特定模式或文档。
## Definition
渐进式披露Progressive Disclosure是 ADKAgent Development Kit中的机制允许 agent 在真正需要时才动态加载相关的 skill、模式或文档而非在初始化时全部加载到 system prompt 中。
## Use Cases
- Skill 按需加载:只有当用户触发特定技术栈时才加载对应的规范文档
- 模式按需加载Pipeline 中的检查点只在到达时才加载审查标准
- 减少上下文膨胀:通过延迟加载降低每次交互的 token 消耗
## Related Concepts
- [[SkillToolset]]:实现渐进式披露的工具集
- [[Tool Wrapper]]:依赖渐进式披露的典型模式