Skip to main content

Secure Code Execution in Isolated Containers

Fermion Sandbox sandbox runs inside a fully isolated Linux container with its own filesystem, process space, and network layer: ensuring total separation from the host system. Developers can launch, execute, and destroy sandboxes on demand. You can run anything from Node.js scripts to full web servers, with real-time streaming of stdout and stderr through WebSockets. Fermion manages provisioning, teardown, and optional persistence automatically, allowing developers to focus on writing and executing code rather than managing infrastructure. Whether you’re building an AI code assistant, a browser-based IDE, or a real-time code evaluation platform, Fermion Sandbox makes it seamless and safe.

Quick Code Preview

import { Sandbox } from '@fermion-app/sandbox'

const sandbox = new Sandbox({ apiKey: 'your-api-key' })
await sandbox.create({ shouldBackupFilesystem: false })

const result = await sandbox.runCommand({
	cmd: 'node',
	args: ['--version']
})
console.log(result.stdout) // v20.x.x

await sandbox.disconnect()

Explore More