Skip to main content
Registry

Bindings

Host-side bindings and integrations that extend agent capabilities.

Sandbox

Mount a sandbox filesystem and expose process management bindings. Works with any Sandbox Agent provider.

CategoryStatusPackageDocs
Bindings, File System Available @rivet-dev/agentos-sandbox Guide

Install

npm install @rivet-dev/agentos-core @rivet-dev/agentos-sandbox sandbox-agent

Add to agentOS

Mount the sandbox filesystem and register its host functions with @rivet-dev/agentos-sandbox.

import { AgentOs } from "@rivet-dev/agentos-core";
import { sandboxAgentProvider } from "@rivet-dev/agentos-sandbox";
import { docker } from "sandbox-agent/docker";

// Mount the sandbox filesystem and register its host functions in the VM
const vm = await AgentOs.create({
  sandbox: { provider: sandboxAgentProvider(docker()) },
});