Vercel introduces durable-harness to make coding agents crash-resistant
·2026.10.19 09:00
Key point
The open-source package extends durability to Pi, OpenCode, Codex, and Claude Code by logging every step to a durable backend, ensuring agents resume from the exact point of failure without repeating completed model calls.
Details
- Vercel released durable-harness, an open-source package that adds crash resistance to existing coding agent harnesses like Pi, OpenCode, Codex, and Claude Code.
- The system uses the Workflow SDK's World interface to write each step of an agent turn to a durable log, allowing new functions to resume interrupted work from the log after a crash or timeout.
- Completed model and tool calls are never re-executed, preventing duplicate billing and ensuring models remember previous calls rather than repeating them.
- The package supports running on Vercel, self-hosting with Postgres, MongoDB, Redis, or Turso, and local development with file-based logs.
- It provides three workspace options: virtual() for in-log files, virtual({ durable: false }) for in-memory scratch work, and sandbox() for persistent Vercel Sandbox environments.
- Tools can be marked as 'safe' to allow automatic re-execution or 'never' to prevent double-execution of side effects like posting comments or processing refunds.
This summary was generated automatically by AI. Check the original for the author's claims and context. Copyright belongs to the original author.
Our guide explains how the AI works. Report summary errors, attribution issues, or removal requests via Contact.