← sources

Anyone interested in putting a sandboxed VM for your agents in a webworker?

source: reddit (reddit:AI_Agents)published 2026-09-25 10:09ingested 2026-09-26 02:35

retained text

Here is the idea: 

The client is more than just the DOM. What if instead of using sprite or Daytona, we spin up a webworker to run a sandboxed persistent VM (powered by pyodide) that the agent can use? 

\- user files would not have to leave the client providing privacy 

\- one less cloud vendor 

Of course,  this dies the moment the user closes their tab, but I guess there are some mitigations possible with OPFS.

I am working on this for fun. What would be your concerns? Let me know. If it's interesting, I will share my repo.

document fetched 2026-09-26 00:18 · canonical https://reddit.com/r/AI_Agents/comments/1wpsgbp/anyone_interested_in_putting_a_sandboxed_vm_for