Operating System
Software
agentOS ships with a common set of POSIX utilities (coreutils, sed, grep, gawk, findutils, diffutils, tar, gzip) out of the box. The software option installs additional packages, each providing one or more CLI commands.
Install
Section titled “Install”npm install @rivet-dev/agentos @agentos-software/piAdd packages like @agentos-software/ripgrep or @agentos-software/jq for anything beyond the default utilities. Browse the full catalog on the Registry.
Import the software packages you want, list them in the software array on the actor, then run commands through the client handle.
import { agentOS, setup } from "@rivet-dev/agentos";import pi from "@agentos-software/pi";import ripgrep from "@agentos-software/ripgrep";import jq from "@agentos-software/jq";
// Each entry adds its CLI commands to the VM. Common POSIX utilities ship by// default; `pi` is the agent, and `ripgrep`/`jq` add the `rg` and `jq`// commands. Browse the registry for more packages.const vm = agentOS({ software: [pi, ripgrep, jq],});
export const registry = setup({ use: { vm } });
registry.start();Available Packages
Section titled “Available Packages”Browse all available software packages on the Registry.
Publishing Custom Packages
Section titled “Publishing Custom Packages”See the agent-os-registry contributing guide for how to add new software packages to the registry.