[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-73324":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":23,"defaultBranch":24,"hasWiki":23,"hasPages":23,"topics":25,"createdAt":10,"pushedAt":10,"updatedAt":34,"readmeContent":35,"aiSummary":36,"trendingCount":16,"starSnapshotCount":16,"syncStatus":37,"lastSyncTime":38,"discoverSource":39},73324,"agent-os","rivet-dev\u002Fagent-os","rivet-dev","A portable open-source operating system for agents. ~6 ms coldstarts, 32x cheaper than sandboxes. Powered by WebAssembly and V8 isolates.","https:\u002F\u002Fwww.rivet.dev\u002Fagent-os",null,"Rust",2993,149,13,20,0,15,33,90,45,104.03,"Apache License 2.0",false,"main",[26,27,28,29,30,31,32,33],"agent","ai","javascript","llm","sandbox","v8","wasm","webassembly","2026-06-12 04:01:09","\u003Cp align=\"center\">\n  \u003Cimg src=\".github\u002Fmedia\u002Fbanner.png\" alt=\"agentOS\" \u002F>\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  A portable open-source operating system for AI agents.\u003Cbr\u002F>Near-zero cold starts (~6 ms), up to 32x cheaper than sandboxes.\u003Cbr\u002F>Powered by WebAssembly and V8 isolates.\u003Cbr\u002F>\u003Cbr\u002F>Supports Pi, Claude Code*, Codex*, Amp*, and OpenCode*\u003Cbr\u002F>\u003Csub>* coming soon\u003C\u002Fsub>\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Frivet.dev\u002Fdocs\u002Fagent-os\">Documentation\u003C\u002Fa> | \u003Ca href=\"https:\u002F\u002Frivet.dev\u002Fdocs\u002Fagent-os\u002Fquickstart\">Quickstart\u003C\u002Fa>\n\u003C\u002Fp>\n\n\n## Why agentOS\n\n- **Runs inside your process**: No VMs to boot, no containers to pull. Agents start in milliseconds with minimal memory overhead.\n- **Embeds in your backend**: Agents call your functions directly via [host tools](https:\u002F\u002Frivet.dev\u002Fdocs\u002Fagent-os\u002Ftools). No network hops, no complex auth between services.\n- **Granular security**: Deny-by-default permissions for filesystem, network, and process access. The same isolation technology trusted by browsers worldwide.\n- **Deploy anywhere**: Just an npm package. Works on your laptop, Rivet Cloud, Railway, Vercel, Kubernetes, or any container platform.\n- **Open source**: Apache 2.0 licensed. Self-host or use [Rivet Cloud](https:\u002F\u002Frivet.dev\u002Fdocs\u002Fagent-os\u002Fdeployment) for managed infrastructure.\n\n### agentOS vs Sandbox\n\nagentOS is a lightweight VM that runs inside your process. Sandboxes are full Linux environments. agentOS integrates agents into your backend with [host tools](https:\u002F\u002Frivet.dev\u002Fdocs\u002Fagent-os\u002Ftools) and granular permissions. Sandboxes give you a full OS for browsers, native binaries, and dev servers.\n\nYou don't have to choose: agentOS works with sandboxes through the [sandbox extension](https:\u002F\u002Frivet.dev\u002Fdocs\u002Fagent-os\u002Fsandbox), spinning up a full sandbox on demand and mounting the sandbox's file system when the workload needs it.\n\n## Quick start\n\n```bash\nnpm install @rivet-dev\u002Fagent-os @rivet-dev\u002Fagent-os-common @rivet-dev\u002Fagent-os-pi\n```\n\n```ts\nimport { AgentOs } from \"@rivet-dev\u002Fagent-os\";\nimport common from \"@rivet-dev\u002Fagent-os-common\";\nimport pi from \"@rivet-dev\u002Fagent-os-pi\";\n\nconst vm = await AgentOs.create({ software: [common, pi] });\n\n\u002F\u002F Create a session and send a prompt\nconst { sessionId } = await vm.createSession(\"pi\", {\n  env: { ANTHROPIC_API_KEY: process.env.ANTHROPIC_API_KEY! },\n});\n\nvm.onSessionEvent(sessionId, (event) => {\n  console.log(event);\n});\n\nawait vm.prompt(sessionId, \"Write a hello world script to \u002Fhome\u002Fuser\u002Fhello.js\");\n\n\u002F\u002F Read the file the agent created\nconst content = await vm.readFile(\"\u002Fhome\u002Fuser\u002Fhello.js\");\nconsole.log(new TextDecoder().decode(content));\n\nvm.closeSession(sessionId);\nawait vm.dispose();\n```\n\nagentOS can run Node.js and shell scripts inside the VM:\n\n```ts\n\u002F\u002F Node.js\nawait vm.writeFile(\"\u002Fhello.mjs\", 'import fs from \"fs\"; fs.writeFileSync(\"\u002Fout.txt\", \"hi\"); console.log(fs.readFileSync(\"\u002Fout.txt\", \"utf8\"));');\nawait vm.exec(\"node \u002Fhello.mjs\");\n\n\u002F\u002F Bash\nawait vm.exec(\"echo 'hi' > \u002Fout.txt && cat \u002Fout.txt\");\n```\n\nSee the [Quickstart guide](https:\u002F\u002Frivet.dev\u002Fdocs\u002Fagent-os\u002Fquickstart) for the full walkthrough.\n\n## Benchmarks\n\nAll benchmarks compare agentOS against the fastest\u002Fcheapest mainstream sandbox providers as of March 2026.\n\n### Cold start\n\n| Percentile | agentOS | Fastest Sandbox (E2B) | Speedup |\n|---|---|---|---|\n| p50 | 4.8 ms | 440 ms | **92x faster** |\n| p95 | 5.6 ms | 950 ms | **170x faster** |\n| p99 | 6.1 ms | 3,150 ms | **516x faster** |\n\n\u003Csub>agentOS: median of 10,000 runs on Intel i7-12700KF. Sandbox: E2B.\u003C\u002Fsub>\n\n### Memory per instance\n\n| Workload | agentOS | Cheapest Sandbox (Daytona) | Reduction |\n|---|---|---|---|\n| Full coding agent (Pi + MCP + filesystem) | ~131 MB | ~1,024 MB | **8x smaller** |\n| Simple shell command | ~22 MB | ~1,024 MB | **47x smaller** |\n\n\u003Csub>Sandbox baseline: Daytona minimum (1 vCPU + 1 GiB RAM).\u003C\u002Fsub>\n\n### Cost per execution (self-hosted)\n\n| Hardware | Cost\u002Fsec (agent workload) | vs Sandbox | \n|---|---|---|\n| AWS ARM | ~$0.0000032\u002Fs | **6x cheaper** |\n| AWS x86 | ~$0.0000053\u002Fs | **3x cheaper** |\n| Hetzner ARM | ~$0.0000011\u002Fs | **17x cheaper** |\n| Hetzner x86 | ~$0.0000013\u002Fs | **14x cheaper** |\n\n\u003Csub>Sandbox baseline: Daytona at $0.0504\u002FvCPU-h + $0.0162\u002FGiB-h. Self-hosted assumes 70% utilization.\u003C\u002Fsub>\n\n## Features\n\n### Agents\n- **Multi-agent support**: Run Claude Code, Codex, OpenCode, Amp, Pi, and more with a unified API\n- **[Sessions via ACP](https:\u002F\u002Frivet.dev\u002Fdocs\u002Fagent-os\u002Fsessions)**: Create, manage, and resume agent sessions over the [Agent Communication Protocol](https:\u002F\u002Fagentclientprotocol.com)\n- **Universal transcript format**: One transcript format across all agents for debugging, auditing, and comparison\n- **[Automatic persistence](https:\u002F\u002Frivet.dev\u002Fdocs\u002Fagent-os\u002Fpersistence)**: Every conversation is saved and replayable without extra code\n\n### Infrastructure\n- **[Mount anything as a filesystem](https:\u002F\u002Frivet.dev\u002Fdocs\u002Fagent-os\u002Ffilesystem)**: S3, Google Drive, SQLite, host directories, or custom backends\n- **[Host tools](https:\u002F\u002Frivet.dev\u002Fdocs\u002Fagent-os\u002Ftools)**: Define JavaScript functions that agents call as CLI commands inside the VM\n- **[Cron](https:\u002F\u002Frivet.dev\u002Fdocs\u002Fagent-os\u002Fcron), [webhooks](https:\u002F\u002Frivet.dev\u002Fdocs\u002Fagent-os\u002Fwebhooks), and [queues](https:\u002F\u002Frivet.dev\u002Fdocs\u002Fagent-os\u002Fqueues)**: Schedule tasks, receive external events, and serialize work with built-in primitives\n- **[Sandbox extension](https:\u002F\u002Frivet.dev\u002Fdocs\u002Fagent-os\u002Fsandbox)**: Pair with full sandboxes (E2B, Daytona, etc.) for heavy workloads like browsers or native compilation\n\n### Orchestration\n- **[Multiplayer](https:\u002F\u002Frivet.dev\u002Fdocs\u002Fagent-os\u002Fmultiplayer)**: Multiple clients observe and collaborate with the same agent in real time\n- **[Agent-to-agent](https:\u002F\u002Frivet.dev\u002Fdocs\u002Fagent-os\u002Fagent-to-agent)**: Agents delegate work to other agents through host-defined tools\n- **[Workflows](https:\u002F\u002Frivet.dev\u002Fdocs\u002Fagent-os\u002Fworkflows)**: Chain agent tasks into durable workflows with retries, branching, and resumable execution\n- **[Authentication](https:\u002F\u002Frivet.dev\u002Fdocs\u002Fagent-os\u002Fauthentication)**: Integrate with your existing auth model (API keys, OAuth, JWTs)\n\n### Security\n- **[Deny-by-default permissions](https:\u002F\u002Frivet.dev\u002Fdocs\u002Fagent-os\u002Fsecurity)**: Granular control over filesystem, network, process, and environment access\n- **[Programmatic network control](https:\u002F\u002Frivet.dev\u002Fdocs\u002Fagent-os\u002Fnetworking)**: Allow, deny, or proxy any outbound connection\n- **[Resource limits](https:\u002F\u002Frivet.dev\u002Fdocs\u002Fagent-os\u002Fsecurity)**: Set precise CPU and memory limits per agent\n- **[V8 + WebAssembly isolation](https:\u002F\u002Frivet.dev\u002Fdocs\u002Fagent-os\u002Farchitecture)**: Each agent runs in its own isolate with no shared state\n\n## Architecture\n\nagentOS is built on an in-process operating system kernel written in JavaScript. Three runtimes mount into the kernel:\n\n- **WebAssembly**: POSIX utilities (coreutils, grep, sed, etc.) compiled to WASM\n- **V8 isolates**: JavaScript\u002FTypeScript agent code runs in sandboxed V8 contexts\n\nThe kernel manages a virtual filesystem, process table, pipes, PTYs, and a virtual network stack. Everything runs inside the kernel -- nothing executes on the host.\n\nSee the [Architecture docs](https:\u002F\u002Frivet.dev\u002Fdocs\u002Fagent-os\u002Farchitecture) for details.\n\n## Registry\n\nBrowse pre-built agents, tools, filesystems, and software packages at the [agentOS Registry](https:\u002F\u002Frivet.dev\u002Fagent-os\u002Fregistry).\n\n\u003C!-- BEGIN PACKAGE TABLE -->\n### WASM Command Packages\n\n| Package | apt Equivalent | Description | Source | Combined Size | Gzipped |\n|---------|---------------|-------------|--------|---------------|---------|\n| `@rivet-dev\u002Fagent-os-codex` | codex | OpenAI Codex integration (codex, codex-exec) | rust | - | - |\n| `@rivet-dev\u002Fagent-os-coreutils` | coreutils | GNU coreutils: sh, cat, ls, cp, sort, and 80+ commands | rust | - | - |\n| `@rivet-dev\u002Fagent-os-curl` | curl | curl HTTP client | c | - | - |\n| `@rivet-dev\u002Fagent-os-diffutils` | diffutils | GNU diffutils (diff) | rust | - | - |\n| `@rivet-dev\u002Fagent-os-fd` | fd-find | fd fast file finder | rust | - | - |\n| `@rivet-dev\u002Fagent-os-file` | file | file type detection | rust | - | - |\n| `@rivet-dev\u002Fagent-os-findutils` | findutils | GNU findutils (find, xargs) | rust | - | - |\n| `@rivet-dev\u002Fagent-os-gawk` | gawk | GNU awk text processing | rust | - | - |\n| `@rivet-dev\u002Fagent-os-git` | git | git version control *(planned)* | rust | - | - |\n| `@rivet-dev\u002Fagent-os-grep` | grep | GNU grep pattern matching (grep, egrep, fgrep) | rust | - | - |\n| `@rivet-dev\u002Fagent-os-gzip` | gzip | GNU gzip compression (gzip, gunzip, zcat) | rust | - | - |\n| `@rivet-dev\u002Fagent-os-jq` | jq | jq JSON processor | rust | - | - |\n| `@rivet-dev\u002Fagent-os-make` | make | GNU make build tool *(planned)* | rust | - | - |\n| `@rivet-dev\u002Fagent-os-ripgrep` | ripgrep | ripgrep fast recursive search | rust | - | - |\n| `@rivet-dev\u002Fagent-os-sed` | sed | GNU sed stream editor | rust | - | - |\n| `@rivet-dev\u002Fagent-os-sqlite3` | sqlite3 | SQLite3 command-line interface | c | - | - |\n| `@rivet-dev\u002Fagent-os-tar` | tar | GNU tar archiver | rust | - | - |\n| `@rivet-dev\u002Fagent-os-tree` | tree | tree directory listing | rust | - | - |\n| `@rivet-dev\u002Fagent-os-unzip` | unzip | unzip archive extraction | c | - | - |\n| `@rivet-dev\u002Fagent-os-wget` | wget | GNU wget HTTP client | c | - | - |\n| `@rivet-dev\u002Fagent-os-yq` | yq | yq YAML\u002FJSON processor | rust | - | - |\n| `@rivet-dev\u002Fagent-os-zip` | zip | zip archive creation | c | - | - |\n\n### Meta-Packages\n\n| Package | Description | Includes |\n|---------|-------------|----------|\n| `@rivet-dev\u002Fagent-os-build-essential` | Build-essential WASM command set (standard + make + git + curl) | standard, make, git, curl |\n| `@rivet-dev\u002Fagent-os-common` | Common WASM command set (coreutils + sed + grep + gawk + findutils + diffutils + tar + gzip) | coreutils, sed, grep, gawk, findutils, diffutils, tar, gzip |\n\u003C!-- END PACKAGE TABLE -->\n\n## License\n\nApache-2.0\n","agentOS是一个为AI代理设计的便携式开源操作系统，利用WebAssembly和V8隔离技术实现近乎零冷启动（约6毫秒），成本比沙箱低32倍。其核心功能包括直接嵌入后端进程中运行、通过宿主工具直接调用函数、细粒度的安全控制以及轻量级部署。适用于需要快速响应且对资源消耗敏感的场景，如在笔记本电脑、云服务或容器平台上运行AI代理应用。项目采用Rust编写，并以Apache 2.0许可证开源，支持多种AI模型。",2,"2026-06-11 03:45:01","high_star"]