isolagent

agent
Security Audit
Fail
Health Warn
  • License — License: Apache-2.0
  • Description — Repository has a description
  • Active repo — Last push 0 days ago
  • Low visibility — Only 5 GitHub stars
Code Fail
  • rm -rf — Recursive force deletion command in .github/workflows/apt.yml
Permissions Pass
  • Permissions — No dangerous permissions requested

No AI report is available for this listing yet.

SUMMARY

Run coding agents (Claude Code, opencode) in isolated microVMs with deny-by-default egress and host-side credentials. macOS and Linux.

README.md

isolagent

Run coding agents in their own microVM, with no network card and no access to your tokens.

isolagent runs Claude Code, opencode or the Cursor CLI on macOS (Apple Silicon) or Linux (x86_64,
also WSL2), each in a lightweight Linux VM with its own kernel. The agent sees your project folder
and nothing else of your machine. Its only way out is an egress gate on the host that allows the
domains you list and logs every request.

Why

A coding agent runs commands you don't read first. Given your shell, it can read ~/.ssh, use
your cloud logins, and send anything anywhere. Containers share your kernel, and most "sandbox"
modes still leave the network open. isolagent draws the line at a VM:

  • A kernel per agent. Apple Virtualization.framework on a Mac, KVM with Cloud Hypervisor on
    Linux. A VM is ready in about 120 ms.
  • Deny by default. No NIC; HTTP(S) only through the gate, by domain; every decision logged.
  • Credentials stay on the host. The sandbox gets a placeholder GH_TOKEN; the gate adds the
    real token on the way to GitHub only. The same for Linear, Bedrock and your own tokens.
  • No root. The agent runs as a normal user without sudo, so it can't change its managed
    policy or the trust store. Docker inside is rootless.
  • Fresh every start. The system disk is a throwaway clone; only the project and the agent's
    login and history persist.

How it works in practice

You describe the agent's image as a Dockerfile (a flavor; isolagent init gives you examples),
build it once, and then work as usual:

cd ~/git/my-project
isolagent run                  # the agent in a fresh microVM, the project as /work

In a second terminal, in the same folder:

isolagent exec                 # a shell in the same sandbox
isolagent egress-log           # what it reaches, live
isolagent allow pypi.org       # let this sandbox reach a host until it stops
isolagent down                 # stop it (or just quit the agent)

When something can't connect, isolagent egress-log --summary shows the denied domain; add it
to the flavor's allow list and it applies on the next request, with no restart. A repository can
bring its own settings (.isolagent.toml) or even its own flavor, which run only after you
approve that exact content.

Under the hood, a supervisor on the host owns the VM, the egress gate and a credential endpoint.
Inside, a small PID 1 (agentd) runs your sessions over vsock. Images are built from your
Dockerfile without Docker, in a builder VM. Details: How it works.

Quick start

brew install kipinasoftware/tap/isolagent      # macOS; Debian/Ubuntu: apt, Fedora: dnf, see Getting started
isolagent init                                 # config + example flavors in ~/isolagent-flavors
isolagent build claude-sandbox                 # 1–2 minutes
cd ~/git/my-project && isolagent run           # /login the first time

Getting started has the requirements, Linux and WSL2 setup, and the
first login for each agent.

Documentation

Getting started Requirements, install, first build and run; Ubuntu/AppArmor and Windows (WSL2) notes
Commands Every command and run flag
How it works Architecture and the security model
Egress Allow rules, the log, changing rules while running
Credentials GitHub, Linear, Anthropic, Vertex, AWS; keyrings and secret managers
Model access Per-project model choice, Amazon Bedrock
Host ports and editors Tunnels, publishing ports, Cursor / VS Code over SSH, the Cursor IDE over VNC
Flavors, kits and images Writing a flavor, a flavor in the project, kits, Docker inside
Configuration Which file holds what, every key, files on the host, ISOLAGENT_CONFIG
Headless use Driving isolagent from a program: up, exec --no-tty, JSON output
Limitations Known gaps and what's been checked where
Development Source layout, tests, benchmarks
FAQ The "why does it do that" questions
Contributing Building, testing and sending a change
Code of conduct How we treat each other
Security policy Reporting a vulnerability

Maintainer and license

isolagent is maintained by Kipinä Software. Core maintainer: Erkka Korpi ([email protected]).

Licensed under the Apache License 2.0. Copyright 2026 Kipinä Software.

Reviews (0)

No results found