# n8n-sandbox-runner

n8n-sandbox-runner is a self-hosted ai app. Docker-in-Docker runner for the n8n code sandbox that executes AI-generated code from the n8n Assistant and n8n Agents in isolated, throwaway containers. It is open source and self-hosted, installable on Unraid.

Canonical page: https://ourlocalhost.com/app/7108/n8n-sandbox-runner

## Description

Docker-in-Docker runner for the n8n code sandbox that executes AI-generated code from the n8n Assistant and n8n Agents in isolated, throwaway containers. It registers with the n8n-sandbox-api over mutual TLS and retries until the API is reachable, so container start order does not matter. Requires a privileged container and a running n8n-sandbox-api deployment; treat this container as root on the host. No ports are published.

## Platform availability

Available on 1 of 9 platforms: Unraid.

## Health score

64/100 (Good), based on 3 of 4 factors.
- Maintained: 100 (last commit 2 days ago)
- Popular: 30 (29 GitHub stars)
- Easy to install: 35 (1 install platform, install notes, Docker image)

## Links

- Unraid: https://ca.unraid.net/apps/app_ddb73c8f45d13762
- GitHub: https://github.com/n8n-io/n8n-sandbox-service

## Common questions

### How does a sandbox runner connect to the central sandbox service?

A runner registers with the central API. The API then places sandboxes and proxies requests to the registered runners.

### Is there a TypeScript client for the REST API?

The README lists a TypeScript SDK for calling the API.

### What license applies to the n8n sandbox service code?

The source is under the Sustainable Use License. Files and directories with .ee in the name are under the n8n Enterprise License.

## Alternatives

- Activepieces: Activepieces is a self-hosted, open-source no-code workflow automation platform.
- Apache Airflow: Airflow is a platform to programmaticaly author, schedule and monitor data pipelines.
- Automa: Automa is a browser extension for automating repetitive web tasks by connecting visual blocks into workflows.
- Automatisch: Automatisch is a business automation tool that lets you connect different services like Twitter, Slack, and more to automate your business…
- Cronicle: Cronicle is a self-hosted, multi-server task scheduler and runner with a web interface that executes scheduled, repeating, and on-demand jo…
- Flowise: Open source low-code tool for developers to build customized LLM orchestration flow and AI agents.
- Google Opal: Build, edit and share mini-AI apps using natural language.
- Huginn: Huginn is a self-hosted automation platform for building custom agents that monitor online sources, react to events, and take actions on yo…
- IFTTT: Automates over 1000 apps and devices with non-coding integrations and partnerships with 900+ brands, creating a billion Applets monthly.
- Kestra: Kestra is an open-source, event-driven, language-agnostic orchestration platform that lets teams schedule and manage data, AI, and infrastr…
- Make.com: Design, build, and automate workflows and tasks with a visual, no-code platform.
- Node-RED: Node-RED is a low-code programming tool for building event-driven applications by wiring together hardware devices, APIs, and online servic…

---
Source: Our Local Host (https://ourlocalhost.com/app/7108/n8n-sandbox-runner), the self-hosted and open-source app directory.
