# rivet-dev/agentos

Give agents an operating system as a library. Runs in your existing backend – no sandboxes, VMs, or SaaS. Powered by WebAssembly & V8 isolates.

Repository: https://github.com/rivet-dev/agentos
Canonical: https://ross.abutalabs.com/products/agentos
Homepage: https://agentos-sdk.dev
Language: Rust
License: Apache-2.0
License Family: permissive
Topics: agent, ai, javascript, llm, sandbox, v8, wasm, webassembly
Last push: 2026-08-26T14:24:25+00:00

## Health v2 (maintenance only)
Score: 91/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 95, longevity 67
- inputs: {"age_days": 939, "days_push": 7, "days_rel": 36, "gap_med": 0, "n_releases_24m": 16}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4426, forks 227 (observed 2026-08-28T04:08:48.903777+00:00)

## What it is
agentOS is a library that gives AI agents a lightweight operating system running inside your existing backend process, using WebAssembly and V8 isolates instead of microVMs or containers. It provides agents with isolated filesystems, processes, shell, and networking, with granular permissions and built-in support for coding agents like Pi, Claude Code, Codex, and OpenCode.

## Use cases
- run coding agents like Claude Code or Codex in isolated VMs inside my backend
- sandbox untrusted agent code without booting microVMs or containers
- give AI agents a filesystem, shell, and networking with permission controls
- run agent workloads with fast cold starts and low memory overhead
- host durable multi-step agent sessions and workflows
- coordinate multiple agents with agent-to-agent communication
- self-host an agent execution runtime instead of using a SaaS sandbox

## When to choose
- you need to run coding agents or untrusted code with isolation but want to avoid microVM/VM fleet overhead
- you want agents to call your backend functions directly via bindings with credentials staying on the host
- you need fast cold starts (milliseconds) and low per-instance memory for many concurrent agent executions
- you want granular permission control over filesystem, network, process, and environment access for agents
- you want an open-source, self-hostable alternative to sandbox SaaS providers like E2B

## When to avoid
- you need a full Linux environment with browsers, native binaries, or dev servers — a traditional sandbox is a better fit (though agentOS can mount sandboxes)
- your stack is not JavaScript/TypeScript-centric on the host side
- you only need simple LLM API calls without code execution or isolation
- you require OS-level virtualization guarantees rather than V8 isolate/WASM-based isolation

## Facets
- artifact type: library
- maturity: active
- function: agent-framework, security, wasm, sdk, workflow-automation, file-system, networking
- domain: large-language-models, developer-tools, security, backend
- platform: cross-platform, self-hosted, cloud
- tags: v8-isolates, webassembly-isolation, coding-agents, agent-runtime, posix-syscalls, in-process-vm, sandbox-alternative, rivet, sandbox, ai-agents, automation, nodejs, docker

## Member repositories
- rivet-dev/agentos (main) score 91

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:48.903777+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:20:57.334044+00:00, confidence not recorded.
  - readme: https://github.com/rivet-dev/agentos (fetched 2026-08-28T04:08:48.903777+00:00, sha 3c383a7d6388)
  - homepage: https://agentos-sdk.dev (fetched 2026-08-29T09:08:31.679456+00:00, sha ea9379ec0924)
  - site_page: https://rivet.dev/agentos/docs (fetched 2026-08-29T09:08:31.690955+00:00, sha 107516c42a1a)
  - site_page: https://rivet.dev/agentos/docs/agents/pi (fetched 2026-08-29T09:08:31.694298+00:00, sha ccb42c4027e1)
  - site_page: https://rivet.dev/agentos/docs/agents/claude (fetched 2026-08-29T09:08:31.696077+00:00, sha 84d837a06b08)
  - site_page: https://rivet.dev/agentos/docs/agents/codex (fetched 2026-08-29T09:08:31.697719+00:00, sha 988c50da6cb8)
  - site_page: https://rivet.dev/agentos/docs/agents/opencode (fetched 2026-08-29T09:08:31.699328+00:00, sha 94fb9325b391)
  - site_page: https://rivet.dev/cloud (fetched 2026-08-29T09:08:31.688891+00:00, sha 27b3b0b1ec74)
  - site_page: https://rivet.dev/agentos/integrations (fetched 2026-08-29T09:08:31.692637+00:00, sha 1c35ab089f6a)
  - site_page: https://rivet.dev/agentos/integrations/vercel-eve (fetched 2026-08-29T09:08:31.701026+00:00, sha 605a696a9afe)
- Data as of 2026-08-30T08:39:29.467469+00:00.
