ToolsThe story, in brief

Pause workflows for approval with Chat SDK

Vercel's Chat SDK now bakes human-in-the-loop approvals into workflows—no custom tables, no polling.

Paper-cut illustration of a coral software window opening into a three-dimensional drafting space.
New tools for building and creating with AI.AI illustration by KeyNews
The KeyNews take

Why it matters

A developer-facing feature that simplifies a common agentic workflow pattern (pause for human decision, resume). Practitioners building agents or automation will use this directly; relevant to the shift toward durable, stateful agent infrastructure.

The key facts

12 to know
  1. Vercel Chat SDK adds subpath chat/workflowrequestApproval

  2. Workflow suspends until approval or denial; survives deploys and restarts

  3. No custom approvals table or onAction handler required

  4. Scoped approvers: restrict who can decide with approvers parameter

  5. Verified decisions: user.id signed by platform on every click

  6. Audit trail: card edited in place with outcome, prevents stale clicks

  7. Timeout support: approval can wait seconds or days

  8. Vercel Chat SDK adds durable approval workflow via chat/workflowRequestApproval subpath

  9. Approvals persist across deploys and restarts without external state management

  10. Scoped approvers restrict decision-making by identity; verified decisions track who approved

  11. No approvals table, onAction handler, or polling loop required

  12. Audit trail: stale clicks prevented via card edit on decision or timeout

Go to the source

Vercel Blogvercel.com

Publisher excerpt: You can build human-in-the-loop approvals with Chat SDK through the new subpath. One call posts a card with Approve and Deny buttons and suspends a workflow until someone decides.chat/workflowrequestApprovalWorkflow SDK The wait can last seconds or days and survives deploys and restarts. You don't…
Read original report
Back to today's editionMore tools news

Keep reading

Related stories

More from Tools