# mattpocock/sandcastle

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

Repository: https://github.com/mattpocock/sandcastle
Canonical: https://ross.abutalabs.com/products/sandcastle
Language: TypeScript
License: MIT
License Family: permissive
Last push: 2026-06-29T20:16:27+00:00

## Health v2 (maintenance only)
Score: 74/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 90, release rhythm 90, longevity 12
- inputs: {"age_days": 169, "days_push": 65, "days_rel": 65, "gap_med": 0.5, "n_releases_24m": 43}
- flags: young
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 7674, forks 796 (observed 2026-08-28T04:10:02.245528+00:00)

## What it is
A TypeScript library for orchestrating AI coding agents (like Claude Code) inside isolated sandboxes via a single sandcastle.run() call. It handles sandboxing with configurable branch strategies and merges agent commits back, with built-in providers for Docker, Podman, and Vercel.

## Use cases
- run multiple AI coding agents in parallel safely
- sandbox claude code agent execution in docker
- orchestrate AFK coding agents and merge their commits
- build review pipelines for AI-generated code
- run coding agents in isolated firecracker microvms
- create custom sandbox providers for agent execution

## When to choose
- you want to run AI coding agents with container isolation and automatic branch/merge workflows
- you need to parallelize many autonomous agent runs in TypeScript
- you want provider-agnostic sandboxing across Docker, Podman, or cloud microVMs

## When to avoid
- you need a general-purpose agent framework beyond coding tasks
- you don't use git or can't run containers or cloud sandboxes
- you want a GUI for managing agents rather than a code-first API

## Facets
- artifact type: library
- maturity: active
- function: agent-framework, llm-inference, container-runtime, developer-tools
- domain: developer-tools
- platform: cross-platform
- tags: sandboxing, coding-agents, claude-code, git-branch-strategy, parallel-agents, provider-agnostic, ai-agents, automation, containers, nodejs, typescript, docker

## Member repositories
- mattpocock/sandcastle (main) score 74

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:02.245528+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:36:03.259502+00:00, confidence not recorded.
  - readme: https://github.com/mattpocock/sandcastle (fetched 2026-08-28T04:10:02.245528+00:00, sha c21c067362ab)
- Data as of 2026-08-30T08:39:29.467469+00:00.
