Favicon of Gondolin

Gondolin

A local AI agent sandbox runs Linux micro-VMs on macOS and Linux, with programmable network and file access and credentials kept outside the guest.

Screenshot of Gondolin website

Gondolin is a local sandbox for developers whose AI agents execute generated code. It separates that code from the host while letting developers control access to files, network destinations and API credentials.

  • Isolated execution: Run agent tasks in disposable Linux micro-VMs, with command execution and access to running sessions through a CLI or TypeScript SDK.
  • Network policies: Restrict outgoing HTTP and TLS requests to allowed destinations and apply custom request or response rules in JavaScript.
  • Credential protection: Let sandboxed code use placeholder tokens while the host supplies real secrets only for permitted destinations.
  • Filesystem control: Define mounted files and custom filesystem behavior in JavaScript, or use custom guest images for workloads that need specific software.
  • Resumable workloads: Save disk checkpoints and resume them, expose guest HTTP services on the host, or access the guest through SSH.

Gondolin runs on macOS and Linux, with QEMU as the default VM backend. It's open source under Apache 2.0. A Pi extension runs Pi tools inside a micro-VM with the project mounted for access; a Browser Use example runs Chromium in the guest.

Compute runs locally, while permitted calls to external APIs leave the machine. Network and filesystem policies determine what the guest can reach, and outgoing SSH access is optional and limited to allowed destinations.

Similar to Gondolin