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
Plan preview

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
18+
Memory
512MB
Other
  • OpenAI API key

Environment Variables

External Services

openai

Ready to use?

View the full interactive pattern with live preview and copy the source code.

View Pattern on Desktop
End of Pattern