BlueprintsAI Agent SandboxOperator Requirements

Operator Requirements

Operators run one of three binaries: sandbox cloud, dedicated instance, or TEE instance. All variants need a keystore, chain RPC, persistent state, and an authenticated operator API.

Common Environment

VariablePurpose
KEYSTORE_URIOperator keystore path or URI.
HTTP_RPC_ENDPOINT or RPC_URLTangle EVM HTTP RPC endpoint.
TANGLE_WS_URLWebSocket endpoint for event subscriptions.
BLUEPRINT_STATE_DIRPersistent state for sandbox records, sessions, and metadata.
SESSION_AUTH_SECRET32+ byte secret for PASETO sessions and at-rest secret encryption.
SANDBOX_UI_AUTH_MODE, SANDBOX_UI_BEARER_TOKENBrowser-facing UI ingress auth.

Sandbox Mode

RequirementNotes
DockerRequired for standard sidecar containers.
SIDECAR_IMAGEDefaults to a sidecar-compatible all-harness image.
OPERATOR_API_PORTDefault 9100.
PUBLIC_HOSTSet explicitly behind NAT or VPN; auto-detect is available for Tailscale IPv4.

Firecracker Mode

Firecracker runs through the in-process microvm-runtime driver. The operator binary is the Firecracker host; there is no separate host-agent service.

VariablePurpose
MICROVM_FIRECRACKER_BINFirecracker binary path.
MICROVM_FIRECRACKER_KERNELLinux kernel image.
MICROVM_FIRECRACKER_ROOTFSRootfs ext4 image.
MICROVM_FIRECRACKER_SOCKET_DIRPer-VM API socket parent.
MICROVM_FIRECRACKER_STATE_DIRPer-VM state directory.
MICROVM_FIRECRACKER_VCPUDefault vCPU count per VM.
MICROVM_FIRECRACKER_MEM_MIBDefault memory per VM.

The Firecracker path allocates TAP, vsock, per-VM rootfs clones, and host port forwarding. Operators must bake the guest metadata daemon into the rootfs so environment and sidecar auth tokens can be injected over vsock.

TEE Mode

TEE instance mode supports provider-backed confidential runtimes such as Phala, AWS Nitro, GCP Confidential Space, Azure SKR, or direct operator-managed hardware. Configure the provider-specific credentials and set TEE_BACKEND.

Current TEE verification should be treated as structural unless the deployment also pins quote-signature verification, expected sidecar measurements, and fresh client nonces.