Give agents an operating system as a library. Runs in your existing backend – no sandboxes, VMs, or SaaS. Powered by WebAssembly & V8 isolates.
See the codeagentOS is a lightweight Linux-compatible VM runtime for isolated filesystem, process, terminal, language, and networking workloads.
This repository owns the native sidecar, VM kernel and VFS, language execution, software package format and cache, and the embedded TypeScript and Rust Core clients. Hosted orchestration adapters live in the services repository and consume the public or same-version service integration surface from here.
Software is an immutable v2 .aospkg artifact. Core can install a verified
remote URL or a trusted local package path.
The process-wide cache is content-addressed by digest. Release tooling uploads the catalog to S3-compatible object storage and emits a manifest of relative artifact URLs, digests, and sizes. Runtime software is not resolved from npm.
npm install @rivet-dev/agentos-core
import { AgentOs } from "@rivet-dev/agentos-core";
const vm = await AgentOs.create();
try {
await vm.filesystem.writeFile("/tmp/hello.txt", "hello\n");
console.log((await vm.process.exec("cat /tmp/hello.txt")).stdout);
} finally {
await vm.dispose();
}
Embedded Core supports trusted local .aospkg paths, host-backed mount plugins,
external VM providers, and host bindings.
pnpm install --frozen-lockfile
pnpm build
pnpm check-types
cargo check --workspace
Rebuild the complete command catalog and stage the local object-store release layout with:
just tools-rebuild
just software-artifacts-dry-run
Public documentation lives at agentos-sdk.dev.
(top 24 of 130)
461 followers · starred Apr 2026
17,254 followers · starred Jul 2026
579 followers · starred Jul 2026
958 followers · starred Apr 2026
Give agents an operating system as a library. Runs in your existing backend – no sandboxes, VMs, or SaaS. Powered by WebAssembly & V8 isolates.
See the codeagentOS is a lightweight Linux-compatible VM runtime for isolated filesystem, process, terminal, language, and networking workloads.
This repository owns the native sidecar, VM kernel and VFS, language execution, software package format and cache, and the embedded TypeScript and Rust Core clients. Hosted orchestration adapters live in the services repository and consume the public or same-version service integration surface from here.
Software is an immutable v2 .aospkg artifact. Core can install a verified
remote URL or a trusted local package path.
The process-wide cache is content-addressed by digest. Release tooling uploads the catalog to S3-compatible object storage and emits a manifest of relative artifact URLs, digests, and sizes. Runtime software is not resolved from npm.
npm install @rivet-dev/agentos-core
import { AgentOs } from "@rivet-dev/agentos-core";
const vm = await AgentOs.create();
try {
await vm.filesystem.writeFile("/tmp/hello.txt", "hello\n");
console.log((await vm.process.exec("cat /tmp/hello.txt")).stdout);
} finally {
await vm.dispose();
}
Embedded Core supports trusted local .aospkg paths, host-backed mount plugins,
external VM providers, and host bindings.
pnpm install --frozen-lockfile
pnpm build
pnpm check-types
cargo check --workspace
Rebuild the complete command catalog and stage the local object-store release layout with:
just tools-rebuild
just software-artifacts-dry-run
Public documentation lives at agentos-sdk.dev.
(top 24 of 130)
461 followers · starred Apr 2026
17,254 followers · starred Jul 2026
579 followers · starred Jul 2026
958 followers · starred Apr 2026