mattpocock/sandcastle

▲ 31 stars today★ 8,829⑂ 946

Orchestrate sandboxed coding agents in TypeScript with sandcastle.run()

About mattpocock/sandcastle

mattpocock/sandcastle is an open-source project on GitHub, mainly written in TypeScript. Orchestrate sandboxed coding agents in TypeScript with sandcastle.run() It currently holds 8,829 stars and 946 forks with 156 open issues, and was last pushed on 2026-11-04 (repository created 2026-03-17).

Project Overview

Git Homed tracks it on the Today's Trending board, currently at rank #99 with 31 new stars today.

GitHub Repository Details

Repository mattpocock/sandcastle · default branch main · size 5181 KB · watchers 24 · source: GitHub REST API and repository README

README

https://github.com/mattpocock/sandcastle/blob/HEAD/Sandcastle

What is Sandcastle?

A TypeScript library for orchestrating AI coding agents in isolated sandboxes:

1. You invoke agents with a single sandcastle.run(). 2. Sandcastle handles sandboxing the agent with a configurable branch strategy. 3. 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.

Development

npm install
npm run build    # Bundle with tsup
npm test         # Run tests with vitest
npm run typecheck # Type-check

License

MIT

GitHub Stars & Activity

8,829Stars
946Forks
156Open issues
TypeScriptLanguage

GitHub Popularity

GitHub stars8,829
Forks946
Open issues156
Primary languageTypeScript
LicenseMIT
Stars gained today31
Created2026-03-17
Last pushed2026-11-04

Trending History

Daily boardrank #99 · ▲ 31 stars

Related GitHub Projects

1

immich-app / immich

TypeScript★ 118,196⑂ 7,479▲ 104 stars
→
2

thedotmack / claude-mem

TypeScript★ 112,406⑂ 9,772▲ 1,165 stars
→
3

Fission-AI / OpenSpec

TypeScript★ 73,894⑂ 5,061▲ 117 stars
→
4

tashfeenahmed / freellmapi

TypeScript★ 47,307⑂ 6,462▲ 688 stars
→
5

pingdotgg / t3code

TypeScript★ 45,363⑂ 9,338▲ 3,173 stars
→
6

Crosstalk-Solutions / project-nomad

TypeScript★ 42,128⑂ 4,305▲ 204 stars
→
7

hieunc229 / mailflare

TypeScript★ 5,616⑂ 848▲ 74 stars
→
8

spotify / portal-ai-plugins

TypeScript★ 3,128⑂ 246▲ 227 stars
→

More Trending Repositories