I was using VMs for agents, but wanted something lighter and faster, so I made flar, which bubblewraps the agent, its config/history and the project directory. The agent runs in your usual environment but has no access to anything other than what it's been explicitly granted, short-circuiting prompt injections (or intentional secret exfiltration on the part of the agent or model) as well as any supply chain exploits…
Show HN: Clawk – Give coding agents a disposable Linux VM, not your laptop
161–170 of 177 posts
Re: Show HN: Clawk – Give coding agents a disposable Linux VM, not your laptop
#162Earlier quoted context omitted.
None of the products you mentioned support macOS environments needed by iOS/tvOS/etc developers. (CodeAnywhere went out of business) Bitrise has been doing macOS VMs for CI for 10 years, so we extended the existing product to this use-case.
I guess you have macOS, but that just it.
Re: Show HN: Clawk – Give coding agents a disposable Linux VM, not your laptop
#163If the agent is running on your machine, it will suspend when you put your laptop asleep. I prefer using a remote Linux VM to let the coding agent keep working. I’m quite happy with exe.dev for this. My laptop is asleep upstairs but I have an agent coding away in a browser tab on the tablet I’m using. I could also check on it from my phone. But it might also be nice if a setup similar to exe.dev were available for se…
Re: Show HN: Clawk – Give coding agents a disposable Linux VM, not your laptop
#164Earlier quoted context omitted.
Gondolin[1] is what you are describing. It's made by the same person who made the Pi coding agent and sends all of the agent's bash into a small QEMU vm. [1]( https://earendil-works.github.io/gondolin/
He described a separate machine where the execution and context would be hosted, not local sandboxes. Did I misunderstand how Gondolin works?
Re: Show HN: Clawk – Give coding agents a disposable Linux VM, not your laptop
#165I was using VMs for agents, but wanted something lighter and faster, so I made flar, which bubblewraps the agent, its config/history and the project directory. The agent runs in your usual environment but has no access to anything other than what it's been explicitly granted, short-circuiting prompt injections (or intentional secret exfiltration on the part of the agent or model) as well as any supply chain exploits…
have you tried lxc + eBPF? the former allows you to have lighter & faster (share kernel) and the latter gives you security. that is what we do for containarium.
I started out implementing it with podnan, but that's also far too heavy and complicated, as you need to equip it for your specific development needs. With bubblewrap (and, thus, flar) you gave your usual environment, the whole OS mounted read only, but anything sensitive in your home or other dirs that might be sensitive is unreachable.
Re: Show HN: Clawk – Give coding agents a disposable Linux VM, not your laptop
#166This is the right idea IMO but I don't want to trust a third party tool for it either (no offense OP!). Ever since I started running coding agents with shell access I've jailed them inside of VMs. Since I run Linux I can just use incus[0] for the VM management layer. It's extremely simple, and you can vibe code a shell script to customize your workflow in a few minutes. [0] https://linuxcontainers.org/incus/
Re: Show HN: Clawk – Give coding agents a disposable Linux VM, not your laptop
#167Re: Show HN: Clawk – Give coding agents a disposable Linux VM, not your laptop
#168Re: Show HN: Clawk – Give coding agents a disposable Linux VM, not your laptop
#169[0] https://watch.ly