Durable workflow that sleeps for 7 days, then runs AI summarization/RAG on new data and generates a report. Uses 'use workflow' and sleep().
Loading interactive preview...
Automatically installs the pattern and its dependencies in your project.
Download the complete pattern as a standalone Next.js project.
Add your AI provider API key to enable real functionality.
Open http://localhost:3000 to see the pattern in action.
The pattern is ready to use. Modify the components, API routes, and styling to fit your application.
app/page.tsxapp/api/Adapt this pattern for your specific use case and requirements.
Use this pattern to learn AI SDK concepts and prototype new ideas.
Integrate AI capabilities into existing applications and workflows.
Quickly build minimum viable products with AI-powered features.
Stateful conversation agent with Workflow DevKit that persists messages across pauses/resumes, calls tools, and streams responses using DurableAgent.
Chain multiple AI calls in sequence, passing the output of one step as input to the next. Implements a research-summarize-translate-format pipeline.
The scheduled-workflow pattern demo is being prepared.
Download the pattern to try it with your API key