Back to browse
GitHub Repository

Disposable Linux containers for AI coding agents, with extensible backends

61 starsGo

AI sandbox that runs on your homelab

by deevus·Feb 27, 2026·1 point·0 comments

AI Analysis

●●SolidNiche GemDark Horse

ZFS checkpoints for agent container templates solve expensive container spin-up, but audience is tiny.

Strengths
  • ZFS snapshot checkpoints enable fast container cloning from known-good baselines
  • Network egress policies restrict agent access to whitelisted APIs and registries by default
  • Project-scoped isolation via TrueNAS WebSocket API requires no global system configuration
Weaknesses
  • Requires TrueNAS SCALE hardware; usefulness limited to homelabbers with existing infrastructure
  • Security acknowledgment (Opus escapes sandboxes) suggests containment is still experimental
Target Audience

Homelab operators, self-hosted developers running AI agents locally

Similar To

Sprites.dev · Docker · Kubernetes

Post Description

Pixels provisions Incus containers onto your TrueNAS server using their websocket API. I took inspiration from https://sprites.dev/. I have been doing a bit of vibe coding recently, but I didn't want to pay for a sandbox product. It's supposed to be simple to startup a container and get into a console. The most popular agent CLI's that I could think of are already installed if you provision with `devtools = true`.

I used Claude Code extensively but this is NOT vibe coded! I review every line of code. I might have missed some corkers when developing this at midnight.

It is using a bit of trickery to support checkpoints of the Incus containers. The main reason for this was so that you can spin up a base container, install everything you want, and then create a new container from that.

I did try to make the sandbox secure. I think I can do a better job there. Opus is actually pretty good at escaping a sandbox if you ask it to. Read the details in SECURITY.md.

In future I would like to provision the base container as part of the setup, to help speed up subsequent creates.

I'm not totally sold on the name. It was just the first thing I thought of. I don't know if this is even something others would want to use, but it scratches an itch for me.

---

A bit of backstory:

Over the last couple of months I have been working on a Terraform provider for TrueNAS SCALE [0] and it occurred to me that all this work could be extracted into a client library [1]. I wanted to play around with vaxis [2], so I created a basic TUI that you can use to monitor your TrueNAS server [3].

[0]: https://github.com/deevus/terraform-provider-truenas

[1]: https://github.com/deevus/truenas-go

[2]: https://github.com/rockorager/vaxis

[3]: https://github.com/deevus/truenas-tui

Similar Projects

Developer Tools●●●Banger

Airut – Sandboxed Claude Code over Email and Slack

Using email/Slack as the native interface for Claude Code is conceptually elegant; entire project dogfoods its own workflow.

Big BrainShip ItZero to One
hardsnow
103mo ago
Developer Tools●●●Banger

Run coding agents in a sandbox locally

MicroVMs isolate AI agents better than Docker without the cloud tax of E2B.

Solve My ProblemShip ItWizardry
theaniketmaurya
211mo ago