Aller au contenu principal

Docs · Overview

GROTTE

EU-sovereign sandbox infrastructure for running AI-generated code in isolated cloud environments. Talk to it from JavaScript, TypeScript, or Python.

Install

JavaScript / TypeScript:

bash
npm install grotte

Python:

bash
pip install grotte

The CLI ships separately:

bash
npm install -g @grotte/cli

Get an API key

  1. Sign up at app.grotte.parallactic.fr.
  2. Issue a key from the Keys tab.
  3. Set GROTTE_API_KEY in your environment:
bash
export GROTTE_API_KEY="grt_..."

Run your first sandbox

JavaScript:

ts
import Sandbox from "grotte";
 
const sandbox = await Sandbox.create();
const result = await sandbox.commands.run("echo 'Hello from GROTTE!'");
console.log(result.stdout); // Hello from GROTTE!

Python:

py
from grotte import Sandbox
 
with Sandbox.create() as sandbox:
    result = sandbox.commands.run("echo 'Hello from GROTTE!'")
    print(result.stdout)  # Hello from GROTTE!

What's in the box

  • Sandboxes — isolated VMs with a filesystem, processes, and network egress you can toggle off. Pause to a snapshot, resume later.
  • Templates — start sandboxes from custom images. Build with grotte template create (guide) or via the dashboard.
  • Snapshots — freeze a sandbox's filesystem state into a reusable template.

Next steps