pi-isolate

Secure code execution sandbox for pi.

Let your agent run TypeScript in a V8 isolate whenever it wants.

No network, no subprocesses, no escape.

pi install https://github.com/crdx/pi-isolate
· · ·
V8 isolate
Network isolation
TypeScript
Virtual filesystem
Resource limits
Node.js APIs
· · ·
pi install https://github.com/crdx/pi-isolate

Once installed, just ask your agent to write a script for you.

It will also use scripts for calculations, data transforms, and other stuff.