Agentic Design

Patterns
๐Ÿ“‹

Progressive Disclosure UI Patterns(PDP)

Interface patterns for gradually revealing agent capabilities, reasoning, and complex information to prevent cognitive overload

Complexity: highUI/UX & Human-AI Interaction

๐ŸŽฏ 30-Second Overview

Pattern: Gradually reveal information layers to prevent cognitive overload

Why: Users need complex AI reasoning but get overwhelmed by technical details upfront

Key Insight: Start simple, expand on-demand: summary โ†’ detailed โ†’ technical with clear visual hierarchy

โšก Quick Implementation

1Layer Info:Define summary โ†’ detailed โ†’ technical levels
2UI Triggers:Click/expand controls for each level
3Context Aware:Show relevant depth based on user type
4Visual Hierarchy:Clear typography and spacing levels
5State Management:Remember user preferences for disclosure
Example: agent_response โ†’ [show reasoning] โ†’ [technical details] โ†’ [full trace]

๐Ÿ“‹ Do's & Don'ts

โœ…Start with essential information only
โœ…Use consistent expand/collapse icons across UI
โœ…Implement smooth animations for transitions
โœ…Remember user disclosure preferences
โœ…Provide "expand all" / "collapse all" options
โŒShow all complex information at once
โŒUse misleading or unclear labels for disclosure
โŒNest disclosure levels too deeply (max 3-4)
โŒHide critical information behind multiple clicks
โŒIgnore keyboard navigation for disclosure controls

๐Ÿšฆ When to Use

Use When

  • โ€ข Complex reasoning explanation needed
  • โ€ข User education and onboarding flows
  • โ€ข Agent capability introduction
  • โ€ข Cognitive load management required

Avoid When

  • โ€ข Simple, single-step responses
  • โ€ข Critical alerts requiring immediate attention
  • โ€ข Linear workflows without complexity
  • โ€ข Time-sensitive decision making

๐Ÿ“Š Key Metrics

Cognitive Load
User task completion time
Comprehension
% users understanding agent actions
Engagement
Disclosure interaction rates
User Satisfaction
Preference for progressive vs full disclosure
Error Rate
Mistakes due to insufficient information
Learning Efficiency
Time to understand new capabilities

๐Ÿ’ก Top Use Cases

Agent Reasoning: Show summary โ†’ detailed steps โ†’ technical reasoning trace
Capability Introduction: Basic features โ†’ advanced tools โ†’ expert features
Error Explanation: What happened โ†’ why it occurred โ†’ how to fix it
Decision Process: Final recommendation โ†’ factors considered โ†’ detailed analysis
Onboarding: Core concepts โ†’ intermediate features โ†’ advanced workflows

References & Further Reading

Deepen your understanding with these curated resources

Contribute to this collection

Know a great resource? Submit a pull request to add it.

Contribute

Patterns

closed

Loading...