Pattern
BEG·Nov 25
Plan
A collapsible plan component for displaying AI-generated execution plans with streaming support and shimmer animations.
View Full Pattern on Desktop

Problems Solved
- AI-generated execution plans
- Structured planning interfaces
- Streaming plan visualization
- Multi-step plan execution
- Tool-based plan management
Use Cases
- Project planning and execution
- Marketing campaign planning
- Technical migration strategies
- Process documentation
- Task breakdown and implementation guides
AI SDK APIs
ToolLoopAgentcreateUIMessageStreamcreateUIMessageStreamResponseconvertToModelMessagesvalidateUIMessagesstreamTexttoolgateway
Tags
aiplanai-sdkstreamingcollapsibletool-loop
Requirements
- Node.js
- 24+
- Memory
- 512MB
- Other
- OpenAI API key
Environment Variables
OPENAI_API_KEYGet key →
External Services
openai
Ready to use?
View the full interactive pattern with live preview and copy the source code.
View Pattern on DesktopRelated Patterns


Tool Approval
Demonstrate tool execution with user confirmation. Includes approval workflows, confirmation UI, and state management for safe AI operations.
aitool-approval+6
View →


Agent Sheet Artifact
Template-style sheet artifact with data-sheetDelta streaming, CSV grid editor, in-memory versions, and quick prompts — no database persistence.
aispreadsheet+5
View →
End of Pattern



