Remix.run Logo
▲ chriswarbo 17 hours ago

> There is pretty much no sandbox behaviour at all, so it can read and write files across the entire system.

It does provide hooks, so tool calls can be intercepted/gated/etc. The first thing I did with pi was have it write an extension that asks for permission for each Bash invocation. I've extended that with a simple Python script which auto-denies known-bad things (e.g. running find on /), auto-allows known-safe things (e.g. non-destructive text processing pipelines), and asks me for anything else.

Its tools can also be switched-out; e.g. I've replaced its read/write/edit tools with alternatives which invoke emacsclient. There's no reason you couldn't replace its tools with sandboxed alternatives, if you wanted.