Skip to content
BR

Brickie

BetaOpen SourceMIT145 stars

MIT-licensed provider from the Hatchet team that runs durable agent sandboxes in your own Kubernetes cluster or cloud account, with an immutable snapshot of the workspace after every call.

Visit website
CategoriesAI Agent SandboxSelf-hostedMicroVMCode ExecutionTypeOpen-source toolContainmentHardware VMRating3.9 / 5
DocsGitHub
Metered unit
your own cluster; Hatchet run and event quota on the hosted path
Free Tier
Idle billing
Zero cost while idle
347 listings stay free while idle
State kept on pause
Disk only
Resume: A create binds an already running pod from the warm pool, so the sandbox is ready at once; connect() to a removed sandbox restarts one from its latest snapshot

Overview

Brickie is the Hatchet team's take on a self-hosted agent sandbox, and it is deliberately narrow: it does not ship a hypervisor or a hosted fleet. Instead it wraps the Kubernetes SIG Apps agent-sandbox controller in the layer that agent sessions actually need, which is durability. Every call from the SDK is a Hatchet task, so it is retried, observable and replayable, and the provider takes an immutable tar snapshot of /workspace into your S3-compatible, GCS or Azure bucket after each call that changes files. A snapshot can be forked into a new sandbox, or used to bring a removed one back, and the underlying pods come from a warm pool so the common case is a create that binds a pod which is already running rather than a cold boot. The security page is unusually specific for a project this young: one pod per sandbox under Kata, gVisor, EKS Nitro or any RuntimeClass, no service-account token in the sandbox, mutual TLS between the provider and every pod, request tokens the sandbox cannot replay, deny-by-default egress, and FIPS 140-3 builds with cosign-signed images and SBOMs. The gap between those claims and what you get is the part to read before adopting it. The Docker driver runs plain containers with no VM boundary, no policy and no limits and is explicitly for local testing. Snapshots are not encrypted by Brickie itself, so the bucket's server-side encryption is the control. A provider serves one Hatchet tenant. And the project is in beta at 0.1.x, with the README warning that flags, chart values and the wire contract may change before 1.0.

Key capabilities

  • Runs sandboxes in your own Kubernetes cluster or cloud account
  • Every SDK call is a durable Hatchet task, retried without repeating a successful command
  • Immutable, forkable /workspace snapshots in S3-compatible, GCS or Azure storage
  • Warm pool of pods per image, so new sandboxes usually bind a running pod
  • Kata, gVisor, EKS Nitro or any RuntimeClass for the pod boundary
  • Mutual TLS and per-request bearer tokens between provider and sandbox
  • Deny-by-default egress NetworkPolicy with an 'internet' or 'none' mode
  • FIPS 140-3 builds with cosign-signed images and SPDX SBOMs
  • MIT licensed, with a Docker driver for local development

brickie-sandbox.ts

import "@hatchet-dev/sandbox";

// Each turn is a Hatchet task, so a retry resumes from the stored snapshot.
const session = hatchet.durableTask({
  name: "agent-session",
  fn: async (input) => {
    const sandbox = await hatchet.sandbox.create({
      id: input.conversationId,
      template: "alpine:3",
    });
    await sandbox.files.write("haiku.txt", "an old silent pond");
    const haiku = await sandbox.exec("cat haiku.txt");
    await sandbox.kill();
    return { haiku: haiku.stdout };
  },
});

const { haiku } = await session.run({ conversationId: "conv-42" });
// Later, from anywhere with a Hatchet client, resume the same sandbox by id:
const again = await hatchet.sandbox.connect("conv-42");

Similar alternatives

Technical specifications

Runtime architecture
Kubernetes driver: one pod per sandbox under any RuntimeClass, defaulting to Kata Containers with the Cloud Hypervisor shim; gVisor and EKS Nitro sandboxes (isolated-sandbox) are built-in choices
Runtime notes
  • Docker driver for local development: a plain container on the local engine with no VM boundary and no network policy
  • agent-sandbox controller and warm pool from Kubernetes SIG Apps claim and bind the pods
  • Snapshots are tar archives of /workspace in S3-compatible, GCS or Azure object storage; the store can also be a local directory
Cold-start boot time
Warm pool pods are already running per sandbox image (2 replicas by default), so a claim usually binds without a cold start
Max vCPU
1 CPU per sandbox by default (--sandbox-cpu)
Max memory
2 GiB per sandbox by default (--sandbox-memory)
Storage model
10 GiB ephemeral storage per sandbox by default (--sandbox-disk), which is also the workspace size; a workspace snapshot may not exceed 1 GiB by default
Network isolation
A NetworkPolicy admits only provider pods and bounds egress: 'internet' allows public addresses and cluster DNS while blocking private ranges and the cloud metadata endpoint, and 'none' blocks everything. Provider and sandbox talk over mutual TLS with a provider-owned CA and a bearer token the sandbox holds only as a SHA-256 hash. The Docker driver has no network policy, so it is documented for local testing only.

Lifecycle & capabilities

Filesystem persistence
Supported
Memory / disk snapshot
Supported
Instant forking
Supported
GPU acceleration
Not supported
GUI desktop / VNC
Not supported
Mobile / cloud phone
Not supported
Browser automation
Not supported
Network egress control
Supported
Pause / auto-sleep
Supported
MCP protocol server
Not supported
REST API & SDKs
Supported
Idle billing
Zero cost while idle
State kept on pause
Disk only
Resume latency
A create binds an already running pod from the warm pool, so the sandbox is ready at once; connect() to a removed sandbox restarts one from its latest snapshot
Session limit
An idle TTL removes a sandbox, 15 minutes by default on the provider and 30 minutes in the Helm chart, and the SDK may ask for up to 24 hours; the deadline is written on the agent-sandbox claim so the pod is removed on time even if the provider is down
SDKs
TypeScript

Pricing model

Pending Audit

Rate read 23 Nov 2026.

Pricing tiers
Free Tier
Summary

MIT with no licence fee, and the sandboxes run in your own cluster and object store, so the bill is the nodes and storage you already pay for. Brickie itself is called through Hatchet, whose pay-as-you-go tier includes 1M task runs and 1M events a month and then charges $30 per million runs and $5 per million events, or you self-host Hatchet under MIT. Brickie publishes no rate card of its own, so a total cost depends on the Hatchet deployment you choose and is Pending audit.

Billing unityour own cluster; Hatchet run and event quota on the hosted path
View official pricing page

Related architecture guides