# Workflow SDK

Workflow SDK is a durable functions framework for JavaScript and TypeScript that makes long-running application logic resilient across stateless compute.

This file helps AI agents understand and use this documentation site.

## Documentation Surfaces

- [Docs](https://workflow-sdk.dev/docs): Documentation section: docs
- [Cookbook](https://workflow-sdk.dev/cookbook): Documentation section: cookbook
- [v5 Docs](https://workflow-sdk.dev/v5/docs): Documentation section: v5-docs
- [v5 Cookbook](https://workflow-sdk.dev/v5/cookbook): Documentation section: v5-cookbook
- [Worlds](https://workflow-sdk.dev/worlds): Documentation section: worlds
- [v5 Worlds](https://workflow-sdk.dev/v5/worlds): Documentation section: v5-worlds
- [Full documentation context](https://workflow-sdk.dev/llms.txt): All configured documentation as Markdown
- [Semantic documentation sitemap](https://workflow-sdk.dev/sitemap.md): High-level documentation map for agent navigation
- Page-level Markdown: append .md or .mdx to a documentation URL

## When to use Workflow SDK

- Category: Developer tools
- Audience: JavaScript developers, TypeScript developers, AI agent builders
Common use cases:

- Build durable workflows and steps
- Run long-lived AI agents with persisted state
- Deploy workflow-backed applications across supported frameworks

## Important Links

- [Docs](https://workflow-sdk.dev/docs)
- [Cookbook](https://workflow-sdk.dev/cookbook)
- [Worlds](https://workflow-sdk.dev/worlds)
- [Examples](https://github.com/vercel/workflow-examples)
- [Workflow source](https://github.com/vercel/workflow): Source repository for Workflow SDK.
- [Workflow examples](https://github.com/vercel/workflow-examples): Example applications using Workflow SDK.
- [GitHub repository](https://github.com/vercel/workflow): Source repository

## Versions

- [v5 (Pre-release)](https://workflow-sdk.dev/v5): Workflow 5.x
- v4 (Latest) current: Workflow 4.x

## Agent Instructions

- Use /sitemap.md to identify the most relevant documentation pages before answering broad questions.
- Use /llms.txt when you need the complete documentation corpus as Markdown context.
- Fetch individual documentation pages with a .md or .mdx extension for focused page-level context.
- Only use product capabilities and integration surfaces that are explicitly listed in this file.
