README.md

@rivet-dev/agentos-runtime-sidecar

Platform-specific resolver for the AgentOS native sidecar binary.

The compiled agentos-native-sidecar binary ships inside one of the @rivet-dev/agentos-runtime-sidecar-<platform> packages. npm installs only the package matching the current os/cpu/libc at install time.

const { getSidecarPath } = require("@rivet-dev/agentos-runtime-sidecar");

const binaryPath = getSidecarPath();

Set AGENTOS_SIDECAR_BIN to an absolute path to override resolution for development or custom builds.

Supported platforms: linux-x64-gnu, linux-arm64-gnu, darwin-x64, darwin-arm64.