Give agents an operating system as a library.

Each agent gets a lightweight OS with filesystem, execution, and orchestration. Runs in your existing backend – no sandboxes, VMs, or SaaS.

Bring any agent or framework.

Pi, Claude Code, Codex, and OpenCode on the same virtual operating system—with Eve and Flue coming soon.

Tiny runtime.
Battle-tested security.

Powered byWebAssemblyandV8 isolates.

The same technology poweringChromeandCloudflare Workers.

Linux-compatiblewith POSIX files, processes, and networking.

Execution

Run Bash, Node.js, Python, and registry software inside the same isolated VM.

  • Native JavaScript performance

    Run Node.js on native V8 isolates with the full JIT, not JavaScript compiled to WASM.

  • Built-in type checks

    Type-check agent-generated code and return diagnostics so the agent can fix errors.

  • Bindings

    Expose typed backend functions without giving credentials to the VM.

  • Subprocesses

    Spawn, stream, signal, and manage child processes with Linux-like semantics.

  • Network requests & servers

    Make outbound requests or serve HTTP from inside the VM under explicit permissions.

Explore execution docs

agentOS VM Execution

The agent writes one program instead of a chain of tool calls.

Node.js runtime docs

Filesystem

Every agent gets its own persistent POSIX filesystem. Mount S3, Google Drive, host directories, or a full sandbox at a normal path, then use familiar files and shell tools everywhere.

Explore the filesystem

Orchestration

Schedule recurring agent jobs, build durable RivetKit workflows, connect agents, and share live sessions with ordinary application code.

Whatever the workload, there's a package for it.

Extend agentOS with agents, filesystems, browsers, and software from one registry.

Built for flexible, production-grade agents.

Persist agent state, expose backend functions, review tool calls, route models, and attach a full sandbox only when a workload needs one.

Ships wherever your backend ships.

Each VM is a Rivet Actor with durable state. Your existing deployment works.

Library

npm install and run in your process. No servers.

Get Started

Rivet

Rivet Cloud

Managed agentOS on Rivet's edge network with BYOC support. Scales to millions of agents.

Sign Up

Self-Host

Run the open-source platform on Kubernetes, VMs, or bare metal.

Self-Hosting Docs

Turn your backend into the agent platform.

Open source under Apache 2.0. One npm install away.