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.
-
Connections (
scalekit_client.connection) — create, list, get, and update environment-level connections -
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
Install
Section titled “Install”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.
pip install scalekit-sdk-pythonInitialize
Section titled “Initialize”import osfrom 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