| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
 |  | |||
A portable open-source operating system for AI agents.
Near-zero cold starts (~6 ms), up to 32x cheaper than sandboxes.
Built-in ACP agents: Pi, Claude Code, and OpenCode
agentOS is a lightweight VM that runs inside your process. Sandboxes are full Linux environments. agentOS integrates agents into your backend with bindings and granular permissions. Sandboxes give you a full OS for browsers, native binaries, and dev servers.
You don't have to choose: agentOS works with sandboxes through the sandbox extension, spinning up a full sandbox on demand and mounting the sandbox's file system when the workload needs it.
npm install @rivet-dev/agentos-core @agentos-software/common @agentos-software/piimport { AgentOs } from "@rivet-dev/agentos-core";
import common from "@agentos-software/common";
import pi from "@agentos-software/pi";
const vm = await AgentOs.create({ software: [common, pi] });
// Create a session and send a prompt
const { sessionId } = await vm.createSession("pi", {
env: { ANTHROPIC_API_KEY: process.env.ANTHROPIC_API_KEY! },
});
vm.onSessionEvent(sessionId, (event) => {
console.log(event);
});
await vm.prompt(sessionId, "Write a hello world script to /home/agentos/hello.js");
// Read the file the agent created
const content = await vm.readFile("/home/agentos/hello.js");
console.log(new TextDecoder().decode(content));
vm.closeSession(sessionId);
await vm.dispose();agentOS can run Node.js and shell scripts inside the VM:
// Node.js
await vm.writeFile("/hello.mjs", 'import fs from "fs"; fs.writeFileSync("/out.txt", "hi"); console.log(fs.readFileSync("/out.txt", "utf8"));');
await vm.exec("node /hello.mjs");
// Bash
await vm.exec("echo 'hi' > /out.txt && cat /out.txt");See the Quickstart guide for the full walkthrough.
All benchmarks compare agentOS against the fastest/cheapest mainstream sandbox providers as of March 2026.
| Percentile | agentOS | Fastest Sandbox (E2B) | Speedup |
|---|---|---|---|
| p50 | 4.8 ms | 440 ms | 92x faster |
| p95 | 5.6 ms | 950 ms | 170x faster |
| p99 | 6.1 ms | 3,150 ms | 516x faster |
agentOS: median of 10,000 runs on Intel i7-12700KF. Sandbox: E2B.
| Workload | agentOS | Cheapest Sandbox (Daytona) | Reduction |
|---|---|---|---|
| Full coding agent (Pi + MCP + filesystem) | ~131 MB | ~1,024 MB | 8x smaller |
| Simple shell command | ~22 MB | ~1,024 MB | 47x smaller |
Sandbox baseline: Daytona minimum (1 vCPU + 1 GiB RAM).
| Hardware | Cost/sec (agent workload) | vs Sandbox |
|---|---|---|
| AWS ARM | ~$0.0000032/s | 6x cheaper |
| AWS x86 | ~$0.0000053/s | 3x cheaper |
| Hetzner ARM | ~$0.0000011/s | 17x cheaper |
| Hetzner x86 | ~$0.0000013/s | 14x cheaper |
Sandbox baseline: Daytona at $0.0504/vCPU-h + $0.0162/GiB-h. Self-hosted assumes 70% utilization.
agentOS is built on an in-process operating system kernel. The kernel manages a virtual filesystem, process table, pipes, PTYs, and a virtual network stack. Everything runs inside the kernel -- nothing executes on the host.
See the Architecture docs for details.
Browse pre-built agents, tools, filesystems, and software packages at the agentOS Registry.
| Package | apt Equivalent | Description | Source | Combined Size | Gzipped |
|---|---|---|---|---|---|
| @agentos-software/codex-cli | codex | OpenAI Codex command package (codex, codex-exec) | rust | - | - |
| @agentos-software/coreutils | coreutils | GNU coreutils: sh, cat, ls, cp, sort, and 80+ commands | rust | - | - |
| @agentos-software/curl | curl | curl HTTP client | c | - | - |
| @agentos-software/diffutils | diffutils | GNU diffutils (diff) | rust | - | - |
| @agentos-software/duckdb | duckdb | DuckDB command-line interface | c | - | - |
| @agentos-software/fd | fd-find | fd fast file finder | rust | - | - |
| @agentos-software/file | file | file type detection | rust | - | - |
| @agentos-software/findutils | findutils | GNU findutils (find, xargs) | rust | - | - |
| @agentos-software/gawk | gawk | GNU awk text processing | rust | - | - |
| @agentos-software/git | git | git version control | rust | - | - |
| @agentos-software/grep | grep | GNU grep pattern matching (grep, egrep, fgrep) | rust | - | - |
| @agentos-software/gzip | gzip | GNU gzip compression (gzip, gunzip, zcat) | rust | - | - |
| @agentos-software/http-get | http-get | Minimal HTTP GET fetch helper | c | - | - |
| @agentos-software/jq | jq | jq JSON processor | rust | - | - |
| @agentos-software/ripgrep | ripgrep | ripgrep fast recursive search | rust | - | - |
| @agentos-software/sed | sed | GNU sed stream editor | rust | - | - |
| @agentos-software/sqlite3 | sqlite3 | SQLite3 command-line interface | c | - | - |
| @agentos-software/tar | tar | GNU tar archiver | rust | - | - |
| @agentos-software/tree | tree | tree directory listing | rust | - | - |
| @agentos-software/unzip | unzip | unzip archive extraction | c | - | - |
| @agentos-software/wget | wget | GNU wget HTTP client | c | - | - |
| @agentos-software/yq | yq | yq YAML/JSON processor | rust | - | - |
| @agentos-software/zip | zip | zip archive creation | c | - | - |
| Package | Description | Includes |
|---|---|---|
| @agentos-software/build-essential | Build-essential WASM command set (standard + make + git + curl) | standard, make, git, curl |
| @agentos-software/common | Common WASM command set (coreutils + sed + grep + gawk + findutils + diffutils + tar + gzip) | coreutils, sed, grep, gawk, findutils, diffutils, tar, gzip |
| @agentos-software/everything | All available WASM command packages in a single bundle | coreutils, sed, grep, gawk, findutils, diffutils, tar, gzip, curl, zip, unzip, jq, ripgrep, fd, tree, file, yq, codex-cli |
Apache-2.0
| Back | FazBrowse Home | New Git URL |