AIAny
AI Agent2026
Icon for item

Sandcastle

Orchestrates LLM-powered coding agents in isolated sandboxes to automate code edits and review pipelines. Provider-agnostic (Docker, Podman, Vercel), supports branch strategies, session capture, reusable sandboxes and structured outputs.

Introduction

Most automation around code editing either runs an LLM on the host (risking mess and permissions) or builds bespoke CI jobs. Sandcastle takes a different approach: it treats each agent run as an orchestrated sandboxed workstream, making agent-driven code changes reproducible, auditable, and safe to run in parallel.

What Sets It Apart
  • Sandboxed-first orchestration: runs agents inside configurable isolated environments (bind-mount or fully isolated) so changes are produced in a contained workspace — this reduces accidental host-side corruption and makes runs reproducible.
  • Provider-agnostic plumbing: first-class support for Docker, Podman, and Vercel microVMs plus an API to add custom providers — so you can choose local containers for fast iteration or isolated VMs for CI and secrets separation.
  • Git-aware branch strategies and session capture: agents commit to temporary or named branches and Sandcastle can capture Claude Code sessions to enable resume and audit trails — this fits code-review workflows and automated PR generation.
  • Lightweight developer API: a single run() / createSandbox() surface lets you script one-shot or multi-run flows (implement → review, parallel planners), making it straightforward to embed into local developer tooling or CI.
Who It's For & Trade-offs

Great fit if you want to: integrate autonomous or semi-autonomous LLM agents into repo workflows, prototype agent-driven fixes or parallelize work across branches, or run reproducible review pipelines in CI. Works well for teams that can run containers or use Vercel microVMs. Look elsewhere if: you need a full-featured task manager, tight enterprise policy around hosted LLMs without local container/VM options, or prefer a GUI-first product — Sandcastle is an orchestration library (TypeScript) with CLI focus, not a SaaS portal.

How It Works (practical gist)

You write an agent prompt (inline or in a prompt file), pick an agent provider (e.g., claudeCode), and choose a sandbox provider. run() creates a worktree/sandbox according to the branch strategy, executes the agent in the sandbox, collects commits and logs, and (for isolated providers) merges or syncs changes back. Built-in features like prompt expansion (shell-block insertion), promptArgs substitution, structured output extraction, and lifecycle hooks make it flexible for pipelines while keeping the orchestration explicit and scriptable.

Information

  • Websitegithub.com
  • AuthorsMatt Pocock
  • Published date2026/03/17

More Items

Hugging Face

Evaluates coding agents on 141 executable tasks spanning frontend and application development, data analysis, and more. Each task includes a starting environment, reference solution, and verifier.

GitHub
AI Agent2026

Equips AI agents to create and manage Obsidian Markdown, Bases, and Canvas files, use Obsidian’s CLI, and sync vaults without the desktop app.

GitHub
AI Agent2026

Handles everyday tasks across real websites and apps, asking before actions that can have real-world consequences. Data and saved logins stay on the machine running it, and you choose the model.