{
  "schema_version": "1.1",
  "id": "archive:https://vercel.com/blog/workflow-sdk-5",
  "slug": "workflow-sdk-5-0lhi2du",
  "url": "https://feed7.dev/p/workflow-sdk-5-0lhi2du",
  "title": "Workflow SDK 5: built for production",
  "why_included": "Workflow SDK 5 adds per-run payload encryption, regional state and fewer queue hops. Builders running long-lived agents can use it for durable runs, but should account for key management and where run data resides.",
  "summary": "Workflow SDK 5 encrypts run payloads with **AES-256-GCM** and a unique key per run. Vercel manages keys by default; self-hosted Worlds must provide a stable 32-byte key. Runs now keep state in their starting region, and measured workloads showed **1.6× to 25×** latency and overhead improvements over v4.",
  "practical_implication": "For agent loops with many steps, tool calls or streams, consider whether durable workflows would make interruptions recoverable and reduce per-step overhead. Set a run’s region near its database or data residency boundary, and use payload retention settings if completed-run contents should be deleted.",
  "agent_context": "Workflow SDK 5 encrypts run payloads with **AES-256-GCM** and a unique key per run. Vercel manages keys by default; self-hosted Worlds must provide a stable 32-byte key. Runs now keep state in their starting region, and measured workloads showed **1.6× to 25×** latency and overhead improvements over v4.\n\nFor agent loops with many steps, tool calls or streams, consider whether durable workflows would make interruptions recoverable and reduce per-step overhead. Set a run’s region near its database or data residency boundary, and use payload retention settings if completed-run contents should be deleted.\n\nThe retention option is experimental. Run attributes are searchable but stored in plaintext, and v4 runs remain in iad1; failover does not move a run’s state from its home region.",
  "source": {
    "name": "Vercel",
    "url": "https://vercel.com/blog/workflow-sdk-5",
    "published_at": "2026-11-12T13:00:00.000Z"
  },
  "source_class": "blog_post",
  "content_type": "Engineering Post",
  "layer": "tools",
  "domains": [
    "coding"
  ],
  "topics": [
    "coding-agents",
    "cloud-agents",
    "harness-engineering"
  ],
  "verification": {
    "status": "official_source",
    "label": "Official Source",
    "method": "source_feed",
    "verified_at": null
  },
  "uncertainty": [
    "The retention option is experimental. Run attributes are searchable but stored in plaintext, and v4 runs remain in iad1; failover does not move a run’s state from its home region."
  ],
  "connected_context": {
    "meaning": "Workflow SDK 5 makes durable agent runs more practical by reducing measured overhead, encrypting run payloads, and keeping state in the starting region. Its regional and retention constraints matter to recovery and data handling, while plaintext searchable attributes and the experimental retention option limit the privacy guarantees that can be inferred.",
    "corpus_size": 1089,
    "generated_at": "2026-11-14T10:53:06.812Z",
    "connections": [
      {
        "title": "Making every harness durable",
        "source_name": "Vercel",
        "source_url": "https://vercel.com/blog/making-every-harness-durable",
        "feed7_url": "https://feed7.dev/p/making-every-harness-durable-1rmx66o",
        "reason": "Workflow SDK 5 supplies durable execution and regional state, while durable-harness logs support resuming coding-agent steps; both address interruption recovery, with external tool replay still requiring care."
      },
      {
        "title": "Run Paseo agents on Vercel Sandbox",
        "source_name": "Vercel",
        "source_url": "https://vercel.com/changelog/run-paseo-agents-on-vercel-sandbox",
        "feed7_url": "https://feed7.dev/p/run-paseo-agents-on-vercel-sandbox-1pvz431",
        "reason": "Paseo preserves files and conversation history after stopping but not active processes; Workflow SDK 5's durable runs address execution continuity, so the two describe different persistence layers."
      },
      {
        "title": "Everyone Gets A Software Company — Benjamin Guo, Zo Computer",
        "source_name": "AI Engineer",
        "source_url": "https://www.youtube.com/watch?v=Qr15lGAGKpo",
        "feed7_url": "https://feed7.dev/p/everyone-gets-a-software-company-benjamin-guo-zo-computer-1go8feh",
        "reason": "Zo's persistent personal cloud co-locates agent context and execution, whereas Workflow SDK 5 uses managed durable runs with a fixed home region; the latter's regional and encryption controls make the operational tradeoffs more explicit."
      }
    ]
  },
  "lifecycle": "Current",
  "published_at": "2026-11-12T13:00:00.000Z",
  "modified_at": "2026-11-12T13:00:00.000Z",
  "supersedes": [],
  "expires_at": null,
  "formats": {
    "html": "https://feed7.dev/p/workflow-sdk-5-0lhi2du",
    "json": "https://feed7.dev/p/workflow-sdk-5-0lhi2du.json",
    "markdown": "https://feed7.dev/p/workflow-sdk-5-0lhi2du.md"
  }
}