{"version":1,"type":"story","url":"https://digestai.news/story/vercel-open-sources-durable-harness-to-keep-coding-agent-sessions-aliv","json":"https://digestai.news/story/vercel-open-sources-durable-harness-to-keep-coding-agent-sessions-aliv.json","markdown":"https://digestai.news/story/vercel-open-sources-durable-harness-to-keep-coding-agent-sessions-aliv.md","slug":"vercel-open-sources-durable-harness-to-keep-coding-agent-sessions-aliv","headline":"Vercel open-sources durable-harness to keep coding agent sessions alive after crashes","summary":"Vercel released durable-harness, an open-source npm package (version 0.0.x) under Apache-2.0 that stores each step of a coding‑agent turn in a durable log, allowing sessions to survive crashes and timeouts. The package wraps existing harnesses—Pi, OpenCode, fx, Claude Code, Codex—without changing them.\n\nThe log records intent before a model or tool call and outcome after it finishes. If a function dies, Vercel Queues hand the turn to a new function, which reads the log and continues. Finished calls are read back, so tokens are not billed twice, and safe tools can be replayed while irreversible actions are not repeated. The package runs on Vercel Functions plus Queues, on Node.js 22+ with Postgres, or locally; Claude Code and Codex require a Vercel Sandbox. No latency or throughput benchmarks have been published; performance claims are self‑reported and the API is experimental.\n\nBy closing the gap where cloud‑based coding agents previously lost work after crashes, durable‑harness aims to make moving agents from laptops to the cloud more reliable and cost‑effective.","keyPoints":["Vercel released durable‑harness, an open‑source npm package (version 0.0.x) that logs coding‑agent steps to survive crashes.","Adapters cover five harnesses—Pi, OpenCode, fx, Claude Code, Codex—and run on Vercel Functions, Queues, Node.js 22+ with Postgres or locally.","Finished model and tool calls are read from the log, preventing duplicate token billing; benchmarks are not published and the API is experimental."],"whyItMatters":"Reliable session recovery prevents lost work and duplicate billing for cloud‑based coding agents, lowering costs and encouraging broader adoption of AI‑driven development tools.","category":{"slug":"agents","name":"Agents & Tools","url":"https://digestai.news/category/agents"},"entities":{"companies":["Vercel"],"models":["Pi","OpenCode","fx","Claude Code","Codex"],"people":["Michal Sutter"]},"firstPublishedAt":"2026-10-21T22:15:39Z","updatedAt":"2026-10-21T22:15:39Z","sourceCount":1,"hasPrimarySource":false,"sources":[{"outlet":"MarkTechPost","title":"Vercel Open-Sources durable-harness for Crash-Proof Coding Agents","url":"https://marktechpost.com/2026/10/21/vercel-durable-harness-crash-proof-coding-agents","publishedAt":"2026-10-21T22:15:39Z","type":"press","primary":false,"lead":true}],"sourceNotes":null,"discussions":[],"thread":null,"cite":{"text":"Digest AI, \"Vercel open-sources durable-harness to keep coding agent sessions alive after crashes\", 21 October 2026, https://digestai.news/story/vercel-open-sources-durable-harness-to-keep-coding-agent-sessions-aliv","publisher":"Digest AI","title":"Vercel open-sources durable-harness to keep coding agent sessions alive after crashes","datePublished":"2026-10-21T22:15:39Z","url":"https://digestai.news/story/vercel-open-sources-durable-harness-to-keep-coding-agent-sessions-aliv"},"generatedBy":"Written by Digest AI's editorial model from the linked sources; the sources are the record.","license":"Headlines, digests and key points are written by Digest AI and may be quoted with a link to the story page. Linked articles belong to their publishers. Terms: https://digestai.news/terms#reuse"}