Brickie
Open-source Go provider for running durable, snapshotting agent sandboxes in your own Kubernetes cluster, called via the @hatchet-dev/sandbox SDK.
At a Glance
About Brickie
Brickie is an MIT-licensed project from Hatchet Technologies that runs durable sandboxes for agents in your own cloud or Kubernetes cluster. Sandboxes are called from the @hatchet-dev/sandbox TypeScript SDK, and every call runs as a retryable, observable Hatchet task. The project is in beta, and its flags, chart values and wire contract may change before 1.0.
What It Is
Brickie is a sandbox provider built on the Kubernetes agent-sandbox controller and warm pools, with custom snapshot and restore on top of object storage. Each sandbox session is a container with a shell and a workspace. It runs in your cluster with runtime options including Kata, gVisor and AWS Nitro. Any image that has sh and tar can be used as a sandbox template.
How Snapshots and Retries Work
Every call that changes the workspace produces an immutable snapshot in your object store, keyed by sandbox and Hatchet run ID. A snapshot can be used to fork a new sandbox or to resume an existing session. Because each call is a Hatchet task, a retried call finds the snapshot it already stored and does not run the command twice. In the README's example, a durable task creates a sandbox, writes a file, executes a command and returns the output. Another client can later reconnect to the sandbox by its ID.
Brickie Versus agent-sandbox
The README contrasts Brickie with plain agent-sandbox. Agent-sandbox persists state through a PVC per sandbox, which forces a cold start, and its only point-in-time snapshot is GKE-specific. Brickie adds per-turn snapshots, Hatchet-backed retries and observability, and the same code path on a Docker engine for local development without a cluster.
Security and Storage
The provider and sandboxes communicate over mutual TLS. Each sandbox has preset network and resource limits. Metadata and snapshots can live in any S3-compatible store, GCS or Azure. By default the provider runs workloads in FIPS 140-3 mode, with cosign-signed container images that carry SBOM attestations. Drivers let the provider be extended beyond Docker and Kubernetes.
Collections
Popular collections
- Frameworks
Collection by @joemseifi
- Run YOLO Mode Without Risking Your Laptop
Collection by @reproalex
- Let Your Agents Talk to Each Other
Collection by @leftchannel
- See What Your Agent Is Doing remix
Collection by @joemseifi
Add Brickie to one of your collections.
Community Discussions
Be the first to start a conversation about Brickie
Share your experience with Brickie, ask questions, or help others learn from your insights.
Pricing
Open Source (Self-hosted)
MIT-licensed Brickie core, self-hosted in your own cloud / Kubernetes cluster. Currently in beta.
- MIT License
- Run durable sandboxes in your own cloud / k8s cluster
- Immutable and forkable snapshots stored in object storage
- Hatchet-guaranteed safe retries
- Warm pool for fast starts
Capabilities
Key Features
- Durable sandboxes in your own Kubernetes cluster
- Immutable, forkable snapshots stored in object storage
- Every sandbox call is a retryable, observable Hatchet task
- Warm pod pool for fast starts
- Custom images (any image with sh and tar)
- Mutual TLS between provider and sandboxes
- Resource and network limits per sandbox
- Kata, gVisor and AWS Nitro runtime support
- S3-compatible, GCS and Azure object storage
- FIPS 140-3 mode with signed, SBOM-attested images
- Docker engine support for local development
- Extensible driver interface
