Capsule

Capsule

Isolated, resource-controlled code execution via Wasm sandboxes.

Visit Capsule

About Capsule

Capsule is an open-source runtime that executes untrusted code in secure, isolated environments using WebAssembly (Wasm) sandboxes. It is designed for developers who need to safely run Python or TypeScript/JavaScript code blocks with strict resource controls, such as CPU, memory, and allowed network/filesystem access. Capsule provides automatic retries, task lifecycle tracking, and lets you run tasks both via CLI and programmatically, making it ideal for building robust automation, data pipelines, and sandboxed extensions.

Resources

Product Website

Visit Capsule's official website for product details and getting started.

Visit website →

Documentation

Comprehensive guide and API reference for Capsule's features and usage.

View docs →

GitHub Discussions

Community forum for asking questions, sharing use cases, and discussing features.

Join discussions →

Example Projects

Explore sample projects utilizing Capsule for various applications.

See examples →