# n8n-sandbox-api

n8n-sandbox-api is a self-hosted ai app. Code sandbox for the n8n Assistant and n8n Agents, self-hosted on Unraid. It is open source and self-hosted, installable on Unraid.

Canonical page: https://ourlocalhost.com/app/7107/n8n-sandbox-api

## Description

Code sandbox for the n8n Assistant and n8n Agents, self-hosted on Unraid. Only useful together with an existing n8n container: this is not n8n itself, it is the isolated environment n8n uses to run AI-generated code and work with files. n8n stays where it is; you only point it at this service. The sandbox is two containers and both are needed: n8n-sandbox-api (this one, the control plane n8n talks to) and n8n-sandbox-runner (privileged Docker-in-Docker that starts one throwaway container per sandbox). They talk to each other over mutual TLS. This container creates the certificates on its first start, so there is nothing to generate by hand.

## Platform availability

Available on 1 of 9 platforms: Unraid.

## Health score

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

## Links

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

## Common questions

### How does the central API coordinate sandbox execution?

Runners register with the central API. The API places sandboxes and proxies requests to them.

### How are commands and file operations performed inside a sandbox?

A small HTTP daemon inside each sandbox runs commands and handles files.

### What license applies to the source and .ee files?

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/7107/n8n-sandbox-api), the self-hosted and open-source app directory.
