Drop-in E2B Replacement
Change one import line. Your LangChain, CrewAI, and OpenAI agents work instantly.
Full API compatibility with e2b_code_interpreter.
Drop-in E2B Replacement
Change one import line. Your LangChain, CrewAI, and OpenAI agents work instantly.
Full API compatibility with e2b_code_interpreter.
205× Faster
Wasm-native isolation eliminates Docker cold starts. Sub-millisecond execution where E2B takes 200ms+.
Sovereign by Default
Every execution produces a SHA-256 receipt chain. Your code never leaves your infrastructure. EU/CA data residency.
Self-Hosted
Run on your own hardware. No vendor lock-in. Single Rust binary. No Kubernetes required.
pip install synapserunfrom synapse import Cell
cell = Cell()result = cell.run("print('Hello from Synapse!')")print(result.stdout) # Hello from Synapse!print(result.receipt) # SHA-256 execution receiptcell.kill()Or in TypeScript:
import { Cell } from '@runsynapse/sdk';
const cell = await Cell.create({ apiKey: process.env.SYNAPSE_API_KEY });const result = await cell.run("print('Hello from Synapse!')");console.log(result.stdout); // Hello from Synapse!await cell.kill();