fx v0.0.14 发布:libfx 引入 durability 适配器,会话可从崩溃中恢复
Harness durability in https://t.co/OL0LzGtvAw. The same 𝚌𝚛𝚎𝚊𝚝𝚎𝙵𝚡𝙰𝚐𝚎𝚗𝚝() is now *durabl...
Vercel 给 libfx 加了持久化能力,agent 崩溃、超时、重新部署后都能从断点接着跑,一套 API 本地和云端通用,写长任务 agent 的可以看看。
Vercel 的 fx.sh 发布 v0.0.14,libfx 的 createFxAgent() 现在自带 durability 能力。通过统一的 durability adapter API,会话可在本地、Postgres 或 Vercel Workflows 上持久化,进程在工具调用中途崩溃后可从断点恢复。同一套 API 在 Node.js 或 Bun 环境均可运行,Vercel 上仅需 1 行代码即可复用其 durable workflows 和 queues 基础设施。该版本还支持在单个应用中运行多个 libfx agent,并提供自定义 provider、本地模型支持和完整的 TypeScript 类型。
Harness durability in https://t.co/OL0LzGtvAw. The same 𝚌𝚛𝚎𝚊𝚝𝚎𝙵𝚡𝙰𝚐𝚎𝚗𝚝() is now *durabl...
Harness durability in fx.sh . The same 𝚌𝚛𝚎𝚊𝚝𝚎𝙵𝚡𝙰𝚐𝚎𝚗𝚝() is now *durable* on your laptop or in the cloud, via files, Postgres, or Vercel Workflows. Node.js or Bun. Agents need long-running compute. But they also need to tolerate restarts, redeploys, timeouts, crashes… Concretely, if a user sends a prompt and then throws their phone into a black hole, we ensure that turn runs to completion. If the process crashes mid-tool-call, it resumes from there. To this end, 𝚕𝚒𝚋𝚏𝚡 introduces a simple durability adapter API. On Vercel, it leverages all the infra we built for durable workflows and queues, giving you reliability with 1LOC. This is a critical aspect of production-grade agents (and something all @eve agents also get out of the box). Next, we'll show you how we bring the same durability to Pi, OpenCode, and even your own custom harnesses. Pranit @fazxes fx v0.0.14 libfx is now durable out of the box. Same API on local, Vercel and DIY. - Sessions survive crashes, redeploys & timeouts - Power cloud agents with ChatGPT & Grok subscriptions - Custom providers & local model support in libfx - Run multiple libfx agents in one app - More control over each libfx session - TypeScript types for libfx's public APIs - Ported to Zig 0.17 - Multiple bug fixes & security improvements fx.sh/changelog#v0.0… Your browser does not support the video tag. 🔗 View on Twitter 🔗 View Quoted Tweet 💬 15 🔄 1 ❤️ 52 👀 3919 📊 16 ⚡