Introduction
Decibyl ships official SDKs for Python and TypeScript that wrap the Decibyl REST API and the workflow builder. Use them to create or edit agents, place outbound calls, and inspect runs from your own code.
- Python —
decibyl-sdkon PyPI - TypeScript —
@decibyl/sdkon npm
Both packages are generated from the same backend OpenAPI spec, so the method surface is equivalent — only the naming convention differs (snake_case in Python, camelCase in TypeScript).
Install
pip install decibyl-sdknpm install @decibyl/sdkAuthenticate
Generate an API key at /api-keys. See API Keys for details.
Both SDKs read the API key from the DECIBYL_API_KEY environment variable by default, and the base URL from DECIBYL_API_URL. You can also pass them explicitly.
from decibyl_sdk import DecibylClient
client = DecibylClient( base_url="https://app.decibyl.ai", api_key="YOUR_API_KEY",)import { DecibylClient } from "@decibyl/sdk";
const client = new DecibylClient({ baseUrl: "https://app.decibyl.ai", apiKey: "YOUR_API_KEY",});Quick tour
List the agents in your workspace:
workflows = client.list_workflows()for wf in workflows: print(wf.id, wf.name)const workflows = await client.listWorkflows();for (const wf of workflows) { console.log(wf.id, wf.name);}Next steps
- Build an agent — assemble nodes and edges, save as a draft
- Place an outbound call — trigger a call from an agent to a phone number
- Build agents from Claude Code — describe the agent you want and let your coding assistant write it with this SDK