Installation
Requirements
Section titled “Requirements”- Python: 3.9 or later
- Node.js: 18 or later (for TypeScript SDK)
Install
Section titled “Install”pip install synapserunuv add synapserunnpm install @runsynapse/sdkpnpm add @runsynapse/sdkCLI Tool
Section titled “CLI Tool”The Python package includes the synapse CLI:
synapse --helpsynapse sandbox createsynapse sandbox listsynapse template listAuthentication
Section titled “Authentication”Set your API key as an environment variable:
export SYNAPSE_API_KEY="cell_sk_live_..."Or pass it directly:
from synapse import Cellcell = Cell(api_key="cell_sk_live_...")import { Cell } from '@runsynapse/sdk';const cell = await Cell.create({ apiKey: 'cell_sk_live_...' });Self-Hosted Gateway
Section titled “Self-Hosted Gateway”For self-hosted deployments, point the SDK at your gateway:
export SYNAPSE_API_URL="http://your-server:8001"Verify Installation
Section titled “Verify Installation”python -c "from synapse import Cell; print('Synapse SDK ready')"