Skip to content
Scalekit Docs
Talk to an EngineerDashboard

Python SDK

Install and initialize the Scalekit Python SDK for AgentKit.

Install the Python SDK, create a ScalekitClient, then use the sidebar for AgentKit clients.

  • Connected accounts (scalekit_client.actions) — connect end-user accounts and execute tools
  • Tool calling — raw tool definitions for custom adapters
  • MCP server, Frameworks, Request modifiers, Custom OAuth — advanced surfaces
  • Error handling — typed exceptions for API failures

Requires Python 3.8 or later. The public SDK on PyPI does not support Python 3.5–3.7. If you run a legacy Python environment, contact support to discuss alternatives.

Terminal window
pip install scalekit-sdk-python
import os
from scalekit import ScalekitClient
scalekit_client = ScalekitClient(
env_url=os.environ["SCALEKIT_ENVIRONMENT_URL"],
client_id=os.environ["SCALEKIT_CLIENT_ID"],
client_secret=os.environ["SCALEKIT_CLIENT_SECRET"],
)
actions = scalekit_client.actions