---
title: AI SDK Workflow
description: "Reference documentation for @ai-sdk/workflow"
url: "https://ai-sdk.dev/docs/reference/ai-sdk-workflow"
docs_index: /llms.txt
---

> For an index of all documentation, see [/llms.txt](/llms.txt).

[`@ai-sdk/workflow`](/docs/agents/workflow-agent) provides the `WorkflowAgent` class for building durable, resumable AI agents that run inside a workflow. It handles tool schema serialization, workflow step boundaries, and built-in tool approval flows.

#### [WorkflowAgent](/docs/reference/ai-sdk-workflow/workflow-agent)

Create durable AI agents with tool calling, streaming, and workflow integration.

#### [WorkflowChatTransport](/docs/reference/ai-sdk-workflow/workflow-chat-transport)

Chat transport with automatic stream reconnection for workflow-based apps.

#### [generateVideo](/docs/reference/ai-sdk-workflow/generate-video)

Generate videos durably with provider webhooks and no implicit downloads.

---

For a semantic overview of all documentation, see [/sitemap.md](/sitemap.md)

For an index of all available documentation, see [/llms.txt](/llms.txt)

For agent-facing discovery, including API and MCP surfaces, see [/agents.md](/agents.md)