Skip to content

Installation

  • Python: 3.9 or later
  • Node.js: 18 or later (for TypeScript SDK)
Terminal window
pip install synapserun

The Python package includes the synapse CLI:

Terminal window
synapse --help
synapse sandbox create
synapse sandbox list
synapse template list

Set your API key as an environment variable:

Terminal window
export SYNAPSE_API_KEY="cell_sk_live_..."

Or pass it directly:

from synapse import Cell
cell = Cell(api_key="cell_sk_live_...")

For self-hosted deployments, point the SDK at your gateway:

Terminal window
export SYNAPSE_API_URL="http://your-server:8001"
Terminal window
python -c "from synapse import Cell; print('Synapse SDK ready')"