GitHub radar
Run AI agent sandboxes on your own servers without losing work
Brickie runs sandboxes for AI agents in your own cloud or cluster. If an agent's command fails partway through a task, the work done so far is kept and the task can go on from the same point.
It is an open source project from the team behind Hatchet. It gives an AI agent its own space with a command line and a working folder. After every change to the files, Brickie saves a snapshot of the folder, and you can use it to resume the session or start a new sandbox.
When it helps
It fits if you build a service with AI agents and want their commands to run on your own machines, not in someone else's cloud. If your agent only edits code on your laptop, you don't need it.
Pros
- Snapshots stay in your own storage: S3-compatible, GCS or Azure
- On a retry after a failure, finished commands don't run twice
- Docker alone is enough to develop on your own computer
- Works with any image that includes sh and tar
Cons
- Full use needs Kubernetes, file storage and Hatchet
- Still in beta: settings may change before version 1.0
- The authors give no speed measurements
How to set it up — step by step
- 1Check that Docker (the program that runs containers) is installed and running on your computer.
- 2Open Claude Code or Codex in your project folder.
- 3Send the agent the text from the block below.
- 4Tell the agent where to store snapshots and which storage keys to use.
- 5Check that the example worked: the sandbox wrote a file and read it back.
- 6To use Brickie in your own code, ask the agent to run: pnpm add @hatchet-dev/sandbox @hatchet-dev/typescript-sdk
Text for your agent
Copy this and send it to your agent — Claude Code, Codex, any of them:
Set up Brickie from https://github.com/hatchet-dev/brickie. Follow the quickstart in the docs: run everything locally on Docker together with Hatchet, and run the example where a sandbox writes a file and reads it back. Ask me where to store snapshots and which keys you need.
This is not a laptop-only tool: you need a Kubernetes cluster, file storage and the Hatchet service. For development on your own computer, the README says Docker is enough.
Open on GitHub▌ More finds