Quickstart

Get up and running with Synapse Cell in under 2 minutes. Zero dependencies, zero Docker config.

1. Install the SDK

bash
pip install synapserun
bash
npm install @runsynapse/sdk

2. Create a Sandbox & Execute Code

python
from synapse.cell import Cell

# Create a persistent sandbox
cell = Cell(api_key="sk_live_...")

# Execute Python — state persists between calls
cell.run("x = 42")
result = cell.run("print(x * 10)")
print(result.stdout)  # "420"

# Clean up
cell.kill()
typescript
import { Cell } from '@runsynapse/sdk';

const cell = await Cell.create({ apiKey: 'sk_live_...' });

await cell.run('x = 42');
const result = await cell.run('print(x * 10)');
console.log(result.stdout); // "420"

await cell.kill();

3. What You Get

Sub-millisecond execution
0.9ms P50 on transpiled path
Cryptographic receipts
SHA-256 chain for every execution
Persistent state
Variables survive between calls
50% cheaper than E2B
$0.05/exec vs $0.10/exec