最后更新:10/22/2026最后核验:2026-10-21

durable-harness

durable-harness

5
0

durable-harness 是 Vercel Labs 开源的持久化编码智能体运行时,可将 Claude Code、Codex、OpenCode、Pi 和 fx 等 harness 运行在 Workflow SDK World 上。它把对话、进行中的回合、模型调用和工具调用写入事件日志,让任务在崩溃、函数超时、连接中断或重新部署后继续执行。

免费
广告

<p>durable-harness 把编码智能体从一次性的进程调用变成可恢复的工作流会话。它支持在 Workflow SDK World 上运行 Pi、OpenCode、fx、Claude Code 和 Codex,并记录对话、当前回合以及每次模型和工具调用;当函数崩溃、超时或部署更新时,新的执行可以从日志继续,而不是重新执行已经完成的步骤。项目采用 Apache-2.0 许可,处于实验性的 0.0.x 阶段。可以在本地使用文件型 World,也可以部署到 Vercel,或选择 Postgres World 等自托管后端;Claude Code 和 Codex 集成需要 Vercel Sandbox。模型、沙箱和基础设施本身的使用费用不包含在开源代码中。</p><ul><li>在 Workflow SDK World 中运行多种编码智能体 harness</li><li>持久化对话、进行中的回合、模型调用和工具调用结果</li><li>从崩溃、函数超时、连接中断或重新部署中恢复会话</li><li>支持本地、Vercel 及 Postgres 等自托管 World</li></ul>

详情

平台

网页版LinuxmacOSWindows

功能特性

  • Run Claude Code, Codex, OpenCode, Pi, or fx through a durable Workflow SDK World
  • Persist conversations, in-flight turns, model calls, and tool-call outcomes in an event log
  • Resume interrupted sessions after crashes, function timeouts, dropped connections, or redeploys
  • Support local development, Vercel deployment, and self-hosted Worlds such as Postgres

支持语言

en

适合人群

Teams embedding resumable coding agents into web applicationsDevelopers who need agent sessions to survive crashes, timeouts, and redeploysPlatform engineers evaluating Vercel, local, or Postgres-backed durable agent execution

已知限制

  • The project is experimental and remains on 0.0.x, so package APIs may change between releases
  • Claude Code and Codex integrations run only in the session's Vercel Sandbox rather than a shared function
  • Self-hosting beyond local development requires choosing and operating a compatible Workflow SDK World such as Postgres
  • Vercel deployment uses AI Gateway and a linked project; model, sandbox, and infrastructure usage can add separate costs

替代工具

Kiro — A broader AWS coding environment with shared agent workflows rather than a runtime library
DeepSeek Harness — A local-first agent framework for composing models, tools, sandboxes, and workflows
OpenCode — An agent harness that durable-harness can run rather than a durability layer itself

为此工具评分

相关工具