From the source
Vercel released the Run SDK, a package for executing untrusted JavaScript and TypeScript in a sandboxed QuickJS context without direct access to the host application or system.
Applications expose narrow host functions and can interrupt execution for human-in-the-loop approval or authentication, then resume without repeating completed work.
The SDK powers code mode tool execution in the AI SDK and is intended for JavaScript computation inside an application.






