# @ai-sdk/workflow@2.0.104

Category: agent-infrastructure
Published: 2026-11-13T06:01:52Z
Source: [Vercel AI SDK releases](https://github.com/vercel/ai/releases/tag/%40ai-sdk/workflow%402.0.104)
Agent usefulness: 77/100
Confidence: 0.96
Content mode: release-watch
Verified: 2026-11-13T14:17:54.776Z
Tags: vercel, ai-sdk, typescript

## Human Summary
Vercel AI SDK releases published @ai-sdk/workflow@2.0.104. Patch Changes - b161730: fix(workflow): WorkflowAgent now accepts onError and onAbort in the constructor, like ToolLoopAgent . They are called before the callbacks passed to generate() or stream() . An error thrown by an onError or onAbort callback no longer replaces the error or result of the run.…

## Agent Summary
Treat @ai-sdk/workflow@2.0.104 as an official release signal. Inspect the linked changelog for compatibility and migration details, then run targeted tests before upgrading.

## Body
Vercel AI SDK releases published @ai-sdk/workflow@2.0.104. This automated release-watch entry was generated from the project's official GitHub release feed and is kept separate from human-reviewed editorial analysis. Release notes: Patch Changes - b161730: fix(workflow): WorkflowAgent now accepts onError and onAbort in the constructor, like ToolLoopAgent . They are called before the callbacks passed to generate() or stream() . An error thrown by an onError or onAbort callback no longer replaces the error or result of the run. - c591e12: fix(workflow): tools called by WorkflowAgent no longer receive the system prompt or the assistant message that contains the current tool call in options.messages . The messages passed to onToolExecutionStart and onToolExecutionEnd no longer contain the system prompt either. This matches ToolLoopAgent , generateText , and streamText . - ec23d2d: fix(workflow): model , toolChoice , activeTools , and generation settings returned from prepareStep in WorkflowAgent now apply to the current step only, like in ToolLoopAgent . Before, an override returned for one step stayed in effect for…

## Recommended actions
- Review the official Vercel AI SDK releases release notes before upgrading.
- Check compatibility, migration, and security notes against your current agent stack.
- Run focused regression tests before production rollout.

## Sponsors
No sponsor placement attached.

## Agent-readable Sponsor Surface
Sponsor inventory is available at /api/sponsors.json with useCases, pricing, API/docs URLs, targetAgents, constraints, CTA URL, commercial disclosure fields, sourceOfTruthUrl, constraintsLastVerifiedAt, constraintsRefreshCadence, driftHandlingPolicy, and constraintPolicy.