The fx adapter now runs the harness on the host
The fx adapter for the AI SDK’s HarnessAgent now uses libfx, enabling the harness and model requests to run in the application’s process while keeping filesystem and shell operations isolated in a sandbox. This update simplifies setup by eliminating the need to install fx in the sandbox, run a bridge, or expose a port. Model credentials remain on the host. New features include built-in tool filtering, mid-turn steering, structured output, image tool results via toModelOutput(), and session resumption across host processes. Update @ai-sdk/harness-fx to the latest version to access these improvements.
