GROTTE SDK that give agents cloud environments
Project description
GROTTE Python SDK
EU-sovereign code execution sandboxes for AI agents and developer workflows. Built by Parallactic AI SAS.
Install
pip install grotte
Quick start
from grotte import Sandbox
sbx = Sandbox.create("base")
result = sbx.commands.run("echo Hello GROTTE")
print(result.stdout) # Hello GROTTE
sbx.kill()
Async variant:
from grotte import AsyncSandbox
sbx = await AsyncSandbox.create("base")
result = await sbx.commands.run("echo Hello GROTTE")
print(result.stdout)
await sbx.kill()
Authentication
Set your API key as an environment variable:
export GROTTE_API_KEY=grt_your_key_here
Get your API key at app.grotte.parallactic.fr.
API
Sandbox
sbx = Sandbox.create(template="base", timeout=60)
# Run a command
result = sbx.commands.run("ls -la")
result.stdout # str
result.stderr # str
result.exit_code # int
# File operations
sbx.files.write("/tmp/hello.txt", "hi")
content = sbx.files.read("/tmp/hello.txt")
files = sbx.files.list("/tmp")
sbx.kill()
Templates
Available sandbox environments:
| Template | Description |
|---|---|
base |
Ubuntu 22.04 + bash |
python-3.12 |
Python 3.12 environment |
node-22 |
Node.js 22 environment |
Configuration
sbx = Sandbox.create(
template="base",
timeout=60, # max sandbox lifetime, seconds
api_key="grt_…", # override env var
)
Links
- Dashboard: app.grotte.parallactic.fr
- API: api.grotte.parallactic.fr
- Docs: parallactic.fr/docs
- Contact: jesiel@parallactic.fr
License
MIT · Based on E2B SDK by FoundryLabs, Inc.
See NOTICE for full attribution and a summary of significant changes.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file grotte-0.1.1.tar.gz.
File metadata
- Download URL: grotte-0.1.1.tar.gz
- Upload date:
- Size: 157.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.4.0 CPython/3.12.3 Linux/6.17.0-23-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
77ef26e7d1e8502cf8eb5b8ad281d2867a8c686672833d972ea2487990fc894d
|
|
| MD5 |
de0453efd4805faa12bdd8882b13c5ba
|
|
| BLAKE2b-256 |
9e89c7b946c6de257b4e8fd8d604b69ab16802cd2d31ad73917c291f1aaeac4d
|
File details
Details for the file grotte-0.1.1-py3-none-any.whl.
File metadata
- Download URL: grotte-0.1.1-py3-none-any.whl
- Upload date:
- Size: 300.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.4.0 CPython/3.12.3 Linux/6.17.0-23-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b3dd010db50d11b1b72608bcb904d5a8cee51092a8e28becdc335787bceb147b
|
|
| MD5 |
5d3ed45c3747939b311feb1410442b4f
|
|
| BLAKE2b-256 |
1f1d637f3b1e2d177dd7dcb41ac902dd430b3e45a8b66b11774e16fc92054d88
|