Claude Code Build Night · Part 8 · Coming soon
AI Workflows
AI that keeps working after the request ends.
How the night runs.
A short AI news briefing, then we build What's for Dinner's Sunday plan live with the Workflow SDK, then five-minute demos from the room.
- 01
Spec
One workflow, written as steps in WORKFLOW.md.
- 02
Steps
AI SDK calls inside retryable steps.
- 03
Wait
Sleep for days and pause for a human yes.
- 04
Watch
Every run, step and retry on screen.
The deck.
Every slide from the night, free to share. Open it full size to step through.
Tonight's workflow.
The workflow spec we build from on the night: a Sunday plan that generates a week of dinners, waits for approval, then emails it. Copy it and swap in your own job.
What's for Dinner
Type what's in your fridge. Get three dinners you can make tonight.
The workflowEvery Sunday, five dinners from your saved ingredients, emailed only after you approve.
- Workflow SDK
- AI SDK
- AI Gateway
- Next.js
- Resend
- Vercel
- A manual run creates a pending plan and asks for approval
- Approving sends the plan email exactly once
- No approval in time marks the plan expired
- A forced failure retries, visible in the run timeline
- The Sunday cron is protected and live
The prompts.
Every prompt from the deck, in order. Open one, copy it, paste it into Claude Code, Codex or any coding agent.
- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
The toolkit.
The pieces of a durable workflow, one job each: the SDK, the model call, the email and the Sunday trigger.
Workflow SDK
Durable workflows: "use workflow", "use step", sleep, hooks, retries
npm i workflowWorkflow SDK skills
Teaches Claude Code the SDK from the docs bundled with your installed version
npx skills add https://github.com/vercel/workflow --skill workflowWorkflow CLI and Web UI
Inspect runs, steps and retries locally or on Vercel
npx workflow webAI SDK
generateText with Output.object for typed results
npm install aiAI Gateway
One key, "provider/model" strings, every request logged
vercel.com/ai-gatewayNitro
The non-Next.js option, with the workflow/nitro module
npx create-nitro-appResend
The approval and plan emails
npm install resendVercel Cron Jobs
Starts the Sunday run
vercel crons add --path /api/cron/sunday-plan --schedule "0 16 * * 0"
Write the steps. Let it run all week.
Date to be announced. Dates go out in the Discord first.
Harbor at dusk · Phoenix, Arizona