SDKs
CALL-E provides server SDKs for trusted backend services, workers, and automation systems that create and monitor call tasks.
Packages
TypeScript package name:
Code
Python distribution name:
Code
Python imports the package as calle:
Code
Package status
The current stable server SDK packages are:
- TypeScript:
@call-e/calle@0.7.0 - Python:
calle-ai==0.7.0
These stable packages support both the request-scoped Calls API and the Goal Runs SDK surface described below.
Goal Runs
The Goal-based SDK surface keeps published contracts separate from the one-shot Calls API:
- TypeScript:
client.goals.list(...),get(...),run(...),getRun(...),waitForResult(...), andrunAndWait(...) - Python:
client.goals.list(...),get(...),run(...),get_run(...),wait_for_result(...), andrun_and_wait(...)
Run requests contain Goal identity, one phone number, per-Run variables, and an
idempotency key. They do not accept request-scoped task text, prompts,
input_schema, or result_schema; those fields are owned by the published
RunSpec. See the Goal Runs guide for the API contract and SDK
examples.
Source code
The TypeScript SDK is maintained in a public repository. The Python package is available from PyPI, but its source repository is not currently public.
| Runtime | Package | Repository |
|---|---|---|
| TypeScript | @call-e/calle | CALLE-AI/server-sdk-typescript |
| Python | calle-ai | Not currently public |
The TypeScript repository includes public source code, examples, and security guidance:
Local examples
The TypeScript SDK repository includes runnable examples for the server-side one-shot call task flow.
TypeScript:
Code
Calls API
The SDKs expose context as a reserved input for future SDK-side workflow data. The current SDKs do not send context to the API.
Examples use phone placeholders such as <E164_PHONE> and <RECIPIENT_1_E164_PHONE>. Replace them with phone numbers you own or are authorized to call.
The SDKs accept structured result schemas as plain JSON objects. Use field description values to explain how CALL-E should interpret enum values, and use type, required, enum, and additionalProperties for hard validation. See the Calls guide for structured result design patterns and examples.
TypeScript:
Code
Python:
Code
Availability
Install the stable server SDK package for your runtime:
Code
Use pinned versions when your deployment process requires exact package reproducibility:
Code
Supported scope
This release does not include:
- Python async client support
- Project-level webhook management
- Client-initiated cancellation of in-flight calls
- Recurring or scheduled calls
- Zod result schema helpers
- Pydantic result schema helpers