> For AI agents: the complete Sanity documentation index is available at [https://www.sanity.io/docs/llms.txt](https://www.sanity.io/docs/llms.txt).

# Workflows reference

Index of every Workflows reference page: definition language, sanity.workflow.ts, engine, reactive session, Studio plugin, UI components, CLI, MCP tools, and TypeDoc.

This page lists every Workflows reference: the definition language, configuration files, engine and runtime APIs, Studio and UI packages, the CLI, and the MCP tools. Each package's generated TypeScript API is on reference.sanity.io.

## Author definitions

- [Workflow authoring reference](https://www.sanity.io/docs/workflows/workflow-authoring-reference): every `define*` helper, condition variables and sites, field types, operations, guards, and subworkflow spawns.

## Configure and deploy

- [sanity.workflow.ts configuration reference](https://www.sanity.io/docs/workflows/workflow-config-reference): deployments, partitions, resource aliases, reader-model acknowledgement, runtime blocks, and config validation errors.
- [Workflow CLI command reference](https://www.sanity.io/docs/workflows/cli-reference): every command with its arguments, flags, JSON payloads, and exit codes.
- [Limits](https://www.sanity.io/docs/workflows/limits): product and engine limits.

## Run and integrate

- [Engine, effects, and insights reference](https://www.sanity.io/docs/workflows/engine): engine construction, verbs, evaluation, effects, insights, errors, history, and actor resolution.
- [Reactive session and adapter reference](https://www.sanity.io/docs/workflows/custom-reactive-adapters): session states, previews, and the observer contract a custom adapter implements.
- [Studio plugin configuration reference](https://www.sanity.io/docs/workflows/studio-plugin-reference): plugin options, mapping rows, structure helpers, and embeddable tables.
- [Reusable UI components reference](https://www.sanity.io/docs/workflows/ui-components): assignment, date, progress, member, and workflow-diagram controls.
- [Workflows MCP tools reference](https://www.sanity.io/docs/workflows/mcp-tools-reference): every agent tool with its inputs, results, and errors, and the embedding API.

## Release history

- [Workflows release notes](https://www.sanity.io/docs/workflows/release-notes): changes, migrations, and breaking changes per release.

## Package API references

Workflows ships as four packages. `@sanity/workflows` holds the engine, Blueprints generation and the code generated Functions import, condition descriptions, and the agent operations. `@sanity/workflows-ui` holds the Studio plugin and every React surface, and has no root entry point. `@sanity/workflows-cli` holds the command line, and `@sanity/workflows-test` the test bench. This table lists the main entry point of each area with its API reference. Each reference also lists the subpaths under it, such as `@sanity/workflows/define`:

| Package | Use it to |
| --- | --- |
| [@sanity/workflows](https://reference.sanity.io/_sanity/workflow-engine/) | Define workflows, evaluate their state, and commit engine operations. |
| [@sanity/workflows/blueprints](https://reference.sanity.io/_sanity/workflow-blueprint/) | Configure the Blueprint resource for your workflows. The `/blueprints/runtime` subpath holds the code that generated Functions import. |
| [@sanity/workflows/describe](https://reference.sanity.io/_sanity/groq-condition-describe/) | Explain and evaluate GROQ conditions. |
| [@sanity/workflows/agents](https://reference.sanity.io/_sanity/workflow-mcp/) | Wrap typed workflow operations as tools in your own agent host. |
| [@sanity/workflows-ui/studio-plugin](https://reference.sanity.io/_sanity/workflow-studio-plugin/) | Add workflow views and tools to Studio, or reuse their tables. |
| [@sanity/workflows-ui/studio](https://reference.sanity.io/_sanity/workflow-studio/) | Connect custom Studio interfaces to Workflows. |
| [@sanity/workflows-ui/react](https://reference.sanity.io/_sanity/workflow-react/) | Manage reactive workflow sessions and custom adapters. |
| [@sanity/workflows-ui/sdk](https://reference.sanity.io/_sanity/workflow-sdk/) | Connect Workflows to the Sanity App SDK. |
| [@sanity/workflows-ui/components](https://reference.sanity.io/_sanity/workflow-components/) | Render assignment, date, status, and progress controls. |
| [@sanity/workflows-ui/diagram](https://reference.sanity.io/_sanity/workflow-diagram/) | Render a workflow’s stages and transitions. |
| [@sanity/workflows-cli](https://reference.sanity.io/_sanity/workflow-cli/) | Deploy and operate workflows from the command line. |
| [@sanity/workflows-test](https://reference.sanity.io/_sanity/workflow-engine-test/) | Exercise workflows with an in-memory test bench. |

TypeDoc lists every export, including the lower-level helpers for condition rendering, actor resolution, diagnostics, semantics, and persisted-model checks.

> [!NOTE]
> Visiting agent?
> Workflows has MCP tools that let an agent inspect, operate, author, validate, and deploy workflows. An agent host embeds these tools. Ask the person you work for whether your host [includes the Workflows tools](https://www.sanity.io/docs/workflows/mcp).



