HackerTrans
TopNewTrendsCommentsPastAskShowJobs

celrenheit

176 karmajoined 11 ปีที่แล้ว

Submissions

Show HN: Clawk – Give coding agents a disposable Linux VM, not your laptop

github.com
176 points·by celrenheit·12 ชั่วโมงที่ผ่านมา·140 comments

comments

celrenheit
·9 ชั่วโมงที่ผ่านมา·discuss
[dead]
celrenheit
·10 ชั่วโมงที่ผ่านมา·discuss
That's actually how clawk runs it: the agent process (claude/codex) runs inside the Linux guest on a PTY, not on macOS
celrenheit
·10 ชั่วโมงที่ผ่านมา·discuss
My pleasure! You can find my fork here: https://github.com/clawkwork/gvisor-tap-vsock — the diff is tiny, just a hook in the TCP/UDP/ICMP forwarders that consults an allow-list before dialing
celrenheit
·10 ชั่วโมงที่ผ่านมา·discuss
mostly macOS out of the box. I've tested it on linux and it worked but it's not my daily driver. I'll make the platform scope clearer in the README
celrenheit
·10 ชั่วโมงที่ผ่านมา·discuss
[dead]
celrenheit
·11 ชั่วโมงที่ผ่านมา·discuss
There are two sides to this. The first is security, which plenty of comments already covered. The second, and the real one for me: my tests spin up Docker containers, and I was building a Kubernetes tool (argocd/flux style) that needs a real cluster in the sandbox. In a container that means Docker-in-Docker, which always felt hacky. A VM is just a normal Linux box where Docker and k8s run like they do everywhere else. A separate user can't give you that, it shares your one kernel and whatever's already installed on the host.
celrenheit
·11 ชั่วโมงที่ผ่านมา·discuss
[dead]
celrenheit
·11 ชั่วโมงที่ผ่านมา·discuss
Hadn't seen yoloai before. I really like new/diff/apply/destroy workflow, that's interesting. For my own needs the two things I was after were multi-repo worktrees (one sandbox spanning several repos, each on with its own worktree) and a single network restricted VM path I fully control, rather than many backends (I started with many backends at first but it was awkward to add network filtering to them). Lots of overlap though, nice work, and I'll be reading through yours.
celrenheit
·11 ชั่วโมงที่ผ่านมา·discuss
Thank you, that means a lot !
celrenheit
·12 ชั่วโมงที่ผ่านมา·discuss
Thanks! There's no packet firewall at all, no iptables/nftables. On macOS the VM's NIC is a Virtualization.framework file-handle device. The daemon runs gvproxy, which terminates the guest's connections and re-dials them as host sockets, so I filter with an allow-list right before the dial. One caveat, since you asked about root specifically: that's the macOS path, and it only works thanks to the fd NIC. Firecracker on Linux only speaks a TAP, which needs root, so there I do shell out to sudo, but just for the device. The filtering is still the same userspace allow-list.
celrenheit
·3 เดือนที่ผ่านมา·discuss
Launched today, this HN thread is the first public mention. Zero paying users yet, just finished building it over the past few weeks as a solo project.

If you want to try it: code `HNPRELAUNCH` on checkout, first month free, then 19€/mo (cancel anytime from your Stripe receipt). Limited to the first 20 redemptions, expires in a week.

Honest feedback on what breaks would mean a lot.
celrenheit
·3 เดือนที่ผ่านมา·discuss
The 19€/mo is infra only. Claude Code inside the VM signs in via OAuth to the user's own Anthropic account. I'd love to explore bundling open models (Qwen, etc..) into the subscription down the line, but that needs product validation first, not going to ship something I'm not sure people actually want.
celrenheit
·3 เดือนที่ผ่านมา·discuss
Shameless plug: https://clawk.work/

`ssh you/repo/[email protected]` → jump directly into Claude Code (or Codex) with your repo cloned and credentials injected. Firecracker VMs, 19€/mo.

POC, please be kind.