TLDR · PROGRAMMING, DESIGN & DATA SCIENCE

INTRODUCING RUN SDK: SECURE EVAL FOR YOUR AGENTS

vercel.com4 min read

Summary from the TLDR newsletter

Run SDK is a package from Vercel for executing untrusted JavaScript or TypeScript without giving it direct access to apps or systems. It evaluates JavaScript or type-stripped TypeScript in a fresh QuickJS context inside a worker thread and exposes selected operations through hostFunctions. Calls cross the sandbox boundary through serialization. A host function may return a promise, so existing service clients can sit behind this interface without being passed into the sandbox.