rivet-dev/secure-exec
A V8-based library enabling secure Node.js code execution for AI agents without containers or VMs.

Velocity · 7d
+5.1
★ / day
Trend
→steady
star history
Secure-exec provides sandboxed Node.js execution powered by V8 isolation, designed to give AI agents safe code-writing and execution capabilities. It creates in-memory filesystems, sets memory and CPU time limits, and enforces permission controls for filesystem and network access. The library integrates with tool-use frameworks like Vercel AI SDK, allowing agents to execute generated code in an isolated environment.