mattpocock/sandcastle
mattpocock/sandcastle has 8,951 GitHub stars and 965 forks. GitHot measured +25 stars in 24 hours and +161 in 7 days. Last checked 2026-11-09 13:43 UTC. Last push 2026-11-06.
Orchestrate sandboxed coding agents in TypeScript with sandcastle.run()
Measured star growth
- in 24h
- +25
- in 7 days
- +161
- in 15 days
- Collecting history
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
Original
What is Sandcastle?
A TypeScript library for orchestrating AI coding agents in isolated sandboxes:
- You invoke agents with a single
sandcastle.run(). - Sandcastle handles sandboxing the agent with a configurable branch strategy.
- The commits made on the branches get merged back.
Sandcastle is provider-agnostic. It ships with native sandboxes that use your OS's own process sandbox (Bubblewrap on Linux and WSL2, Seatbelt on macOS), image-based providers for Docker and Podman, and cloud providers for Daytona, E2B, Fly.io Sprites, Modal and Vercel, and you can create your own. Great for parallelizing multiple AFK agents, creating review pipelines, or even just orchestrating your own agents.
Documentation
The docs live in docs/guide, one page per major term, with every term defined in the Glossary, and are published at aihero.dev/sandcastle.
- Getting started: prerequisites and a quick start
- Core: Core concepts
- Sandboxes: Sandbox providers
- Branching: Branch strategies
- Agents: Agent providers, Agent sessions
- Execution: Iterations, Structured output
- Prompts: Prompts
- Hooks: Hooks
- Init: Init
- Display: Run logs
- Reference:
run()andcreateSandbox(), CLI commands, Glossary
Development
npm install
npm run build # Bundle with tsup
npm test # Run tests with vitest
npm run typecheck # Type-check
License
MIT
Explore related projects
codecrafters-io/build-your-own-x
Master programming by recreating your favorite technologies from scratch.
561,267 starspublic-apis/public-apis
A collective list of free APIs
497,524 starsmorluto/rea
Reverse engineer anything with agents, from app behavior down to native binaries.
445,983 starsopenclaw/openclaw
The AI that really does things. Any OS. Any Platform. The lobster way. 🦞
394,230 stars