Favicon of Rivet AgentOS

Rivet AgentOS

An open-source AI agent runtime that runs inside your backend, with isolated files, shell tools and networking. Self-host on Linux or use Rivet Cloud.

Screenshot of Rivet AgentOS website

Rivet AgentOS gives AI agents an isolated working environment inside an existing backend process. It's for developers building agent applications who want to run workloads on their own hardware or servers without managing a separate virtual machine for every agent. The runtime uses WebAssembly and V8 isolates and runs on standard Linux infrastructure without nested virtualization.

Each agent has a persistent filesystem, processes, a shell and permission-controlled networking. Agents can execute Bash, Python and Node.js, with Node.js running directly on V8. Storage mounts let them work with host directories, S3 and Google Drive through ordinary file paths. Typed host functions connect agents to backend capabilities while credentials stay on the host. A full Linux sandbox can be attached for workloads that need native binaries or heavy compilation.

AgentOS works with Pi, Claude Code, Codex and OpenCode, or agents you build yourself. Rivet Actors provide durable identity and state, while Workflows record completed operations so multi-step tasks can wait, retry and resume. Human review can pause permission requests for approval in your application's UI. Idle environments sleep and wake when work arrives; resource limits bound memory, processes and execution time.

The project is open source under Apache 2.0. You can run it locally and self-host the control plane as a Rust binary or container. Rivet Cloud provides managed hosting and persisted Actor data. Rivet also offers managed deployment inside your own VPC, where data stays within your cloud.

Similar to Rivet AgentOS