vercel/workflow — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me a TypeScript Workflow SDK like a developer tool for making async apps and AI agents more reliable. I want someone to be able to write a workflow that can pause, resume later, keep its state, and survive failures without losing where it was.

Make it feel simple to use, with a clean API, a few example workflows, and enough tests to show it works. It should help with long running tasks, background jobs, and agent style processes where each step might take time or fail. Please include basic observability so a developer can understand what ran, what is waiting, and what failed.

Set up the repo so it feels production ready, with docs, package scripts, and a small getting started guide. Keep the first version focused and practical rather than huge. Look up current docs online if you need to.

Want more depth? Deep Reverse