cd /news/ai-agents/show-hn-spens-sandboxed-observable-c… · home › topics › ai-agents › article
[ARTICLE · art-143888] src=spens.refwd.ai ↗ pub= topic=ai-agents verified=true sentiment=· neutral

Show HN: Spens sandboxed, observable coding agents

Spens, a new open-source tool for sandboxing and observing coding agents, launched on Hacker News, using Docker, nono and mitmproxy to create reproducible sandbox environments that capture all agent traffic. Spens supports pi, opencode, claude and codex out of the box with node and python, and its creator notes the Docker-based sandbox is "good enough" but can be escaped without gVisor, and that macOS users need OrbStack due to Linux security features unavailable in Docker on Mac.

read1 min views4 publishedOct 2, 2026

Spens is a tool created to standardized sandboxing (good enough) and observability around coding agents. It leverages docker, nono and mitmproxy to create a reproducible sandbox environment for agents, that captures all traffic and helps you understand what your coding agent is doing and when. Right now pi, opencode, claude and codex are supported out of the box, with node and python - but you can configure any agent or environment.

It was created under the realization while working under different repos and agents, that

  1. agents do weird stuff sometimes (like try and nuke a folder or poke around your HD) 2. statistics and usage collection is not really consistent (and some like Claude and Codex try and hide info) 3. reproducibility of agents across devices was challenging.

Instead of setting up bespoke environments each time , we needed a way to automate it. And thus Spens was born.

One note on the security aspect - I write good enough cause it is docker so unless your running something like gVisor it is possible for the agent to escape the sandbox (esp with a loose nono config) - all though in practice I've not seen this behavior.

Second note - if your on a mac you need orb stack, as the run times take advantage of specific Linux security features that are not available via docker on mac (windows is fine since under the hood, docker leverages wsl)

Comments URL: [https://news.ycombinator.com/item?id=49933266](https://news.ycombinator.com/item?id=49933266)

Points: 1

── more in #ai-agents 4 stories · sorted by recency
── more on @spens 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/show-hn-spens-sandbo…] indexed:0 read:1min 2026-10-02 · —