Close Menu
    Facebook X (Twitter) Instagram
    • Privacy Policy
    • Terms Of Service
    • Social Media Disclaimer
    • DMCA Compliance
    • Anti-Spam Policy
    Facebook X (Twitter) Instagram
    Fintech Fetch
    • Home
    • Crypto News
      • Bitcoin
      • Ethereum
      • Altcoins
      • Blockchain
      • DeFi
    • AI News
    • Stock News
    • Learn
      • AI for Beginners
      • AI Tips
      • Make Money with AI
    • Reviews
    • Tools
      • Best AI Tools
      • Crypto Market Cap List
      • Stock Market Overview
      • Market Heatmap
    • Contact
    Fintech Fetch
    Home»AI News»Vercel Open-Sources durable-harness for Crash-Proof Coding Agents
    ▶
    AI News

    Vercel Open-Sources durable-harness for Crash-Proof Coding Agents

    October 22, 20264 Mins Read
    Share
    Facebook Twitter LinkedIn Pinterest Email
    kraken

    Vercel has released durable-harness, an open-source package that keeps coding agent sessions alive through crashes and timeouts. Vercel durable-harness wraps existing harnesses, including Pi, OpenCode, Claude Code and Codex, without changing them. Each session lives in a durable log. A dead function no longer means lost work. For teams moving agents off laptops and into the cloud, that closes a real gap.

    TL;DR

    • Size: npm package, version 0.0.x, Apache-2.0. Adapters cover 5 harnesses: Pi, OpenCode, fx, Claude Code, Codex.
    • Runs on: Vercel Functions plus Vercel Queues, Node.js 22+ with Postgres, or laptop files. Claude Code and Codex need a Vercel Sandbox.
    • Performance: No latency or throughput benchmarks published. All recovery claims are self-reported by Vercel.
    • Best: Finished model and tool calls are read back from the log, never re-run or billed twice.
    • Worst: Experimental 0.0.x API. Claude Code and Codex run only in a Vercel Sandbox, even self-hosted.

    What is durable-harness?

    durable-harness is a set of adapters from Vercel that store a harness session in a Workflow SDK World. A World bundles storage, a queue and a stream behind one interface. The package uses the same machinery that powers Vercel’s Workflow SDK.

    Why do coding agents lose work in the cloud?

    Harnesses like Pi and Claude Code were designed as long-lived local processes. They keep the session in memory. Locally, the workspace and history sit on the same disk, so resuming takes 1 prompt. In the cloud, a VM with persistent storage does not track which calls completed. Vercel team notes a failed turn or network error then means lost work.

    How does durable-harness work?

    It writes each step of a turn to a durable log. Before a model or tool call runs, it records an intent. When the call finishes, it records the outcome. Each turn is backed by a message on Vercel Queues. If the function dies, the queue hands the turn to a new function. That function reads the log and continues.

    After a crash, the log shows what finished, what was running and what never started:

    kraken
    • Completed calls are read from the log, so finished model tokens are not billed again.
    • replay: ‘safe’ tools, such as lookups, can run again.
    • replay: ‘never’ tools, such as refunds, never run twice. The model is told the call may have happened.

    Harness session files are mirrored into the log as well. That covers Claude Code’s transcript, Codex’s rollout and OpenCode’s event store.

    Where do files and shell commands run?

    Model-chosen commands never run on the function’s own disk. The tools docs list 3 workspace options:

    • virtual() keeps files in the session log, with a bash-compatible shell and no network. It holds about 500 files.
    • virtual({ durable: false }) keeps scratch files in memory and clears them every turn.
    • sandbox() gives each session a Vercel Sandbox, with /workspace on a Drive.

    Typed JSON documents, such as a to-do list, also live in the log. Each holds at most 64 KB.

    Where can you run durable-harness?

    The agent code stays the same across Worlds:

    • Vercel: the Vercel World, with every session traced in Agent Runs.
    • Local: files on your machine, with no configuration.
    • Self-hosted: the Postgres World, version 5.0.4 or later, on Node.js 22+. Vercel’s blog also lists MongoDB, Redis and Turso.

    2 environment variables, WORKFLOW_TARGET_WORLD and WORKFLOW_POSTGRES_URL, move an agent to Postgres.

    How does durable-harness compare?

    Featuredurable-harnessTemporal + OpenAI Agents SDKInngest AgentKitCloudflare Agents SDKWhat it isDurability adapters for existing coding harnessesDurable execution wrapper for OpenAI Agents SDKTypeScript multi-agent frameworkStateful agents on Durable ObjectsWraps Claude Code / CodexYes, experimental, Sandbox-onlyNot disclosedNot disclosedNot disclosedDurability backendWorkflow SDK World (Vercel, local, Postgres)Temporal server or Temporal CloudInngest orchestration engineDurable Objects, Cloudflare WorkflowsLanguageTypeScriptPythonTypeScriptTypeScriptLicenseApache-2.0MIT (server)Apache-2.0MITStatus0.0.x, experimentalGA since Mar 23, 2026Not disclosedNot disclosed

    Key Takeaways

    • durable-harness logs every model and tool call, then resumes crashed turns on a new function.
    • Finished calls are never repeated, so tokens are not billed twice.
    • Pi and OpenCode run in your function; Claude Code and Codex need a Vercel Sandbox.
    • Self-hosting works with 2 env vars and a Postgres World.
    • It is 0.0.x and experimental, with no published benchmarks.

    Check out the GitHub repo, docs and Vercel’s announcement. All credit goes to the researcher of this project. Also, feel free to follow us on Twitter and don’t forget to join our 150k+ML SubReddit.

    The post Vercel Open-Sources durable-harness for Crash-Proof Coding Agents appeared first on MarkTechPost.

    10web
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
    Fintech Fetch Editorial Team
    • Website

    Related Posts

    DailyAI Briefing: Fed survey names AI top risk, plus 4 more

    DailyAI Briefing: Fed survey names AI top risk, plus 4 more

    November 16, 2026
    Helping robots fit into the human workplace | MIT News

    Helping robots fit into the human workplace | MIT News

    November 15, 2026
    CopilotKit Releases OpenBot 1.0: An MIT-Licensed, Self-Hostable AI Coworker With Built-In Governance

    CopilotKit Releases OpenBot 1.0: An MIT-Licensed, Self-Hostable AI Coworker With Built-In Governance

    November 14, 2026
    DailyAI Briefing: Lawsuit aims to halt new AI models, plus 4 more

    DailyAI Briefing: Lawsuit aims to halt new AI models, plus 4 more

    November 13, 2026
    Add A Comment

    Comments are closed.

    Join our email newsletter and get news & updates into your inbox for free.


    Privacy Policy

    Thanks! We sent confirmation message to your inbox.

    aistudios
    Latest Posts
    blockstream bitcoin custody

    Blockstream and Thales Introduce Bitcoin Custody Solution

    November 16, 2026
    I Let AI Hack My TV… It Didn’t Stop at the Ads

    I Let AI Hack My TV… It Didn’t Stop at the Ads

    November 16, 2026
    Cointelegraph

    Bitcoin Drops to Four-Month Low Around $62K as Cryptocurrency Market Declines

    November 15, 2026
    Cointelegraph

    RWA Protocol stUSDT Shuts Down After $2.3B TVL Peak

    November 15, 2026
    Solana Staking Holds Near 69% Even As SOL Price Crashes To $67 On Breakpoint Day

    Solana Staking Remains Around 69% Despite SOL Price Plummeting to $67 on Breakpoint Day

    November 15, 2026
    aistudios
    LEGAL INFORMATION
    • Privacy Policy
    • Terms Of Service
    • Social Media Disclaimer
    • DMCA Compliance
    • Anti-Spam Policy
    Top Insights
    Orange mining cable connects to an OCEAN port beside a Bitcoin stencil and the confirmed block-reward receipt.

    AI-Related Security Breach Hits Bitcoin Mining Sector, Redirecting 13 EH/s of Computing Power to Hackers

    November 16, 2026

    Tesla (TSLA) Stock Forecast: Bulls Must Maintain Momentum Beyond Current Resistance Levels

    November 16, 2026
    quillbot
    Facebook X (Twitter) Instagram Pinterest
    © 2026 FintechFetch.com - All rights reserved.

    Type above and press Enter to search. Press Esc to cancel.