Sandboxing AI Agents in Linux

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

AppSignal - Monitoring that respects your time & budget
APM, error tracking, and dashboards for modern web apps. Ten-minute setup, transparent flat pricing, and support from engineers who actually use the product.
www.appsignal.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  1. agent-vm

    Run AI agents in safe VMs scoped to a local folder

    This is the way to go! On my side I've build a very small `claude-vm` wrapper to run each instance in a VM with Lima: https://github.com/sylvinus/agent-vm

  2. AppSignal

    Monitoring that respects your time & budget. APM, error tracking, and dashboards for modern web apps. Ten-minute setup, transparent flat pricing, and support from engineers who actually use the product.

    AppSignal logo
  3. try

    Control and manipulate a command's effects before modifying your live system

    > Part #2 to me, I also want observability as to what the agent changed.

    You could potentially combine https://github.com/binpash/try with bubblewrap (I'm not sure how well they compose and as the docs say it isn't a full sandbox).

    The good (and bad because it's confusing and can lead to surprises if misconfigured) thing about Linux containers is all the pieces of containers can be used independently. The "try" tool lets you use the overlay part of containers on your host system, just like Bubblewrap lets you combine the namespacing parts of containers with your host system.

  4. bubblewrap

    Low-level unprivileged sandboxing tool used by Flatpak and similar projects

    Bubblewrap supports overlayfs mounts [1]. Seems like you should be able to replicate that flow with it.

    [1] https://github.com/containers/bubblewrap/issues/412

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Hello, youki! Faster container runtime is written in Rust

    6 projects | /r/rust | 26 Dec 2021
  • What xAI's Grok Build CLI Sends to xAI

    4 projects | news.ycombinator.com | 12 Jul 2026
  • GPT 5.6

    10 projects | news.ycombinator.com | 9 Jul 2026
  • pseudoroot, fakeroost, hakoniwa... How to deal with unpriviledge packaging?

    4 projects | dev.to | 4 Jul 2026
  • Jamesob's guide to running SOTA LLMs locally

    6 projects | news.ycombinator.com | 3 Jul 2026

Did you know that Shell is
the 8th most popular programming language
based on number of references?