AgentOS is an open-source sandbox runtime from the Rivet team that gives AI agents tiny, fast, Linux-compatible environments powered by WebAssembly. With roughly 4,800 stars on GitHub and daily development activity in 2026, it aims to be for agent code execution what containers were for servers: spin up an isolated Linux instance in milliseconds, inside your own process, and let the agent work in it safely.
Agents that write and run code need sandboxes, but VMs are slow to start and containers share a kernel. AgentOS compiles a Linux-compatible environment to WebAssembly, providing POSIX files, processes and networking with strong isolation and near-instant startup, running anywhere from a laptop to Cloudflare Workers-style edge environments. Instances can run embedded in your process or as durable instances on Rivet Cloud, persisting state while the agent works through longer tasks. The project publishes benchmark comparisons against conventional sandbox baselines, and its WebAssembly foundation means the same sandbox can run in server, edge and even browser-adjacent environments without a fleet of virtual machines to manage.
Freemium. AgentOS is free and open source under the Apache 2.0 license for self-hosting; Rivet Cloud offers managed durable instances as a paid service for teams that do not want to run the infrastructure.
Developers building coding agents, computer-use agents and autonomous tools that must execute generated code quickly and safely without provisioning full virtual machines.