Give your agent the ability to write and run code safely. This example uses the Vercel AI SDK, but secure-exec works with any tool-use framework. Give your AI agent the ability to write and run code ...
* Worker thread for JavaScript execution via QuickJS. * Keeps QuickJS loaded and handles multiple execution requests. * Defense-in-depth activates AFTER QuickJS loads (WASM init needs unrestricted JS) ...