@ai-sdk/workflow
@ai-sdk/workflow is a sub-module in the Vercel AI SDK ecosystem for workflow orchestration. It enables developers to chain multiple AI invocation steps in a structured manner, supporting state management, conditional branching, and multi-step reasoning, with native integration into the Vercel edge runtime and streaming response system.
Core Facts
If the versions of @ai-sdk/vue and ai in a project are not aligned, type mismatches or runtime behavior differences may occur.
The sole change in @ai-sdk/workflow 2.0.68 is upgrading the core dependency ai to 7.0.136.
The main changes in @ai-sdk/togetherai@3.0.51 are focused on dependency upgrades and contain no breaking changes.
Timeline (last 90 days)
This 2.0.116 release introduces no new APIs and does not adjust the workflow definition syntax
@ai-sdk/workflow 2.0.116 pins its dependency on the ai package to 7.0.184
The workflow package has undergone a large number of small incremental iterations, and the high-frequency patches combined with dependency following indicate that the team tends to use frequent small releases to reduce the risk of each individual change.
Before the fix, when aggregating or transforming messages, if the workflow layer used only non-empty text as the retention condition, it would discard empty-text messages along with their providerMetadata.
This 2.0.114 version fixes the issue where assistant messages with empty text but carrying provider metadata were dropped from WorkflowAgent response messages (corresponding to GitHub commit 8a75476).
After upgrading the workflow package, you should check the actual version of the `ai` package in your project lockfile to ensure that the version of `ai` in the dependency tree matches expectations and avoid multiple versions coexisting.
2.0.113 is the one-hundred-and-something-th patch release of the workflow package under the 2.0 series.
The release notes list four dependency updates, each corresponding to a different commit.
@ai-sdk/workflow's release pipeline favors lightweight, high frequency: small commits, automated publishing, rapid iteration, rather than a heavy process of manual approval followed by tagging.
Workflow modules are typically responsible for orchestrating multi-step model calls, tool execution, and state transitions, relying on the low-level interfaces provided by the core SDK.
40 more timeline events
All Facts (20)
If the versions of @ai-sdk/vue and ai in a project are not aligned, type mismatches or runtime behavior differences may occur.
90%VerifiedThe sole change in @ai-sdk/workflow 2.0.68 is upgrading the core dependency ai to 7.0.136.
90%VerifiedThe main changes in @ai-sdk/togetherai@3.0.51 are focused on dependency upgrades and contain no breaking changes.
90%VerifiedThis update upgrades the dependency ai to 7.0.102 and @ai-sdk/provider-utils to 5.0.41.
90%Verified@ai-sdk/workflow provides a declarative API for describing directed task graphs, managing asynchronous call ordering, intermediate state passing, and error retry logic
90%VerifiedPatch-level updates generally do not introduce breaking changes and can typically be applied directly without modifying existing code.
90%VerifiedA patch version update (1.0.104 → 1.0.105) signifies backward-compatible bug fixes or dependency updates, without introducing breaking changes.
90%VerifiedThis release record was completed by a GitHub Actions automated workflow and carries an official GitHub verified signature (Verified).
90%VerifiedPatch version updates theoretically contain no breaking changes, making the upgrade risk low.
90%Verified@ai-sdk/harness and @ai-sdk/workflow-harness are responsible for providing standardized runtime and validation environments for AI workflows.
90%VerifiedThe core content of @ai-sdk/workflow-harness@1.0.101 is a dependency update, synchronously upgrading the underlying dependency @ai-sdk/harness@1.0.101.
90%VerifiedThe upgrade method is to run npm install @ai-sdk/openai@4.0.60.
90%VerifiedIn AI SDK, workflow-harness serves as the runtime scaffold responsible for orchestrating and executing AI workflows, linking multiple AI calls, tool calls, state management, and other steps into a controllable workflow.
90%VerifiedThe Vercel AI SDK adopts a Monorepo single-repository management model, with the core package ai and various framework adapter packages (such as @ai-sdk/vue, @ai-sdk/react, and @ai-sdk/svelte) released in coordination.
90%Verified@ai-sdk/workflow is a sub-package within the Vercel AI SDK ecosystem focused on workflow orchestration
90%VerifiedTemporal addresses fault tolerance for long-running tasks by persisting execution state, enabling recovery from the point of interruption even if the process crashes.
90%VerifiedThe AI SDK uses a monorepo single-repository management pattern, where changes to the underlying harness package are followed by patch-version updates to the upper-layer workflow-harness package.
85%VerifiedThe commit hashes involved in this update include 3f6852a, 6317504, 3cb2dcd, and ccf98e7.
80%VerifiedIn npm's flattened dependency tree, if the version ranges of @ai-sdk/tui and the ai package directly depended on by the project do not overlap, the package manager may install two copies of ai, resulting in type mismatches, failed instance checks, or streaming objects that cannot interoperate
80%VerifiedIn the AI SDK, the core package ai provides runtime capabilities such as streaming text generation, tool calling and message management.
80%