Formats

Pattern
Agent Slides Artifact
Template-style slide deck artifact with data-slidesDelta streaming, sortable slide list and preview, Markdown export, in-memory versions, and quick prompts. No database persistence.
IntermediateApr 2026View the full pattern on desktop


Problems solved
- Stream slide deck JSON with data-slidesDelta UI parts
- Edit and preview slides in a sortable deck UI
- Export deck content as Markdown
- Keep slide versions in memory without database persistence
Use cases
- Meeting summary decks from copilots
- Pitch deck drafting chats
- Presentation artifact prototypes
- In-browser slide editors for agents
AI SDK APIs
streamTextcreateUIMessageStreamgatewaytoolconvertToModelMessagescreateUIMessageStreamResponse
Tags
aislidesdeckpresentationstreamingai-sdkartifacts
Requirements
- Node.js
- 24+
- Memory
- 256MB
- Other
- Vercel AI Gateway API key
Environment variables
AI_GATEWAY_API_KEYGet key
External services
openaiupstash
Ready to use?
View the full interactive pattern with live preview and copy the source code.
View the pattern on desktop






