---
id: 20261030-T0-12
title: "AI SDK的fx适配器改为主机运行harness，沙箱配置简化"
title_en: "fx Adapter for AI SDK Runs Harness on Host, Simplifies Sandbox Setup"
url: https://ai.daily.yangsir.net/daily/20261030-T0-12
issue_date: 2026-10-30
publish_date: 2026-10-29T06:00:00.000Z
source_name: "Vercel Blog"
source_url: https://vercel.com/changelog/fx-harness-adapter-now-separates-host-and-sandbox
---

# AI SDK的fx适配器改为主机运行harness，沙箱配置简化

AI SDK的HarnessAgent所用fx适配器现在改用libfx（fx的TypeScript库）。harness和模型请求在应用进程内运行，内置的文件系统和shell操作仍隔离在沙箱中。改动带来的直接好处是沙箱配置简化：不再需要安装额外组件即可运行。对使用HarnessAgent的开发者而言，调试链路更短，因为harness逻辑与自己的应用同进程，而危险操作仍被限制在沙箱内。

## English Version

**fx Adapter for AI SDK Runs Harness on Host, Simplifies Sandbox Setup**

The fx adapter for the AI SDK's HarnessAgent now uses libfx, the TypeScript library for fx. The harness and model requests run in the application's process, while built-in filesystem and shell operations remain isolated in the sandbox. The direct benefit is simplified sandbox setup: no additional components need to be installed to run. For developers using HarnessAgent, the debugging path is shorter since harness logic runs in the same process as their application, while dangerous operations stay confined to the sandbox.

---

**来源**：[Vercel Blog](https://vercel.com/changelog/fx-harness-adapter-now-separates-host-and-sandbox)

**详情页**：https://ai.daily.yangsir.net/daily/20261030-T0-12

---

*智语观潮 · Daily — https://ai.daily.yangsir.net/llms.txt*