Skip to content
docs
type to search↑↓ move↵ openesc close
v0.2.1github

Connect a Rivet harness

1 min readv0.2.1this page as markdown
let your agent do it
Make Hermitbox the sandbox provider of my Rivet agent harness.
Paste it into your agent. It follows this page as Markdown: rivet-harness.md

Use Hermitbox as the sandbox provider for an agent harness in a Rivet runner. The provider creates, connects, suspends and deletes Hermitbox sandboxes behind the harness’s existing factory.

  1. Install hermitbox in your Rivet runner project.
  2. Set HERMITBOX_API_URL and HERMITBOX_API_KEY in its private environment.
  3. Replace the harness’s sandbox factory with this export; keep the returned ID in actor state.
typescript
import { hermitboxProvider } from 'hermitbox/provider'

export const sandboxProvider = hermitboxProvider()

The provider reads the default tier and uses an image only for containers. File paths resolve inside the sandbox’s reported cwd.

Shared-UID processes must trust each other, and internet-enabled processes share host networking. Wasm has a virtual kernel and a shared sidecar, with HTTP-only ingress. A named missing tier keeps its admission refusal, and this API version refuses a named guarantee it can’t prove.

The full integration guide covers lifecycle semantics and partial methods. OpenOrange 1.0.2 needs the prepared upstream patch, because its releases don’t include that provider hook. Follow that guide before you try its registration or preview callback.

run it yourself
$curl -fsSL https://hbx.sh | sh
or ask your agent
Install Hermitbox and set it up for me
Linux (x86_64 or aarch64), no root, no Docker. Agents can read every page: llms.txt · llms-full.txt
the floor · nothing below this line