Koskamo

Build durable multi-step AI workflows

Agents can execute complex, multi-step logic that pauses, resumes, and survives crashes or deployments without losing state.

How it works

Changes data in your accountsSoftware development

The agent uses the Vercel MCP server to define and run durable workflows using the Workflow SDK. It writes code with 'use workflow' directives to handle steps like generating drafts or summarizing content. The agent ensures the workflow is configured to pause for external events or time, and resumes deterministically after crashes. It leverages managed persistence to store state and event logs, allowing the agent to maintain context across long-running tasks.

Prompt

Paste this into an agent that has the servers below connected. Adjust the names and dates to your own.

Prompt for Build durable multi-step AI workflows
Create a durable workflow that generates a content draft and then summarizes it. Ensure the workflow can pause and resume if it fails or is interrupted, using the Vercel Workflow SDK.

MCP servers it needs

Source

The vendor page this playbook is drawn from, and the passage that supports it.

Vercel Workflows builds on the open-source Workflow SDK for JavaScript and TypeScript, and on workflow support in the vercel Python SDK to let your code pause, resume, and maintain state.
Vercel Workflows

Each playbook is drawn from the vendor page it cites and reviewed by Koskamo before it is published. Koskamo does not run these servers or your agent: check what each tool will do before you let it act on your accounts.