Converse Logo
Developers

Server SDKs

Use the supported TypeScript or Python client from your backend. Secret keys stay server-side.

One supported contract per language

Node.js uses @converse/sdk. Python uses converse-ai. The retired duplicate server packages and polling agent runners were removed because they advertised endpoints the platform does not expose.

Node.js / TypeScript

bash
npm install @converse/sdk
typescript
import { ConverseClient } from '@converse/sdk';

const converse = new ConverseClient({
  apiKey: process.env.CONVERSE_API_KEY!,
});

const call = await converse.calls.create({
  agent_id: 'agent_xxx',
  to: '+919876543210',
  metadata: { task: 'appointment_confirmation' },
});

await converse.calls.end(call.id);

Python

bash
pip install converse-ai
python
from converse import AsyncConverseClient

async with AsyncConverseClient(api_key="sk_live_...") as converse:
    call = await converse.calls.create(
        agent_id="agent_xxx",
        to="+919876543210",
        metadata={"task": "appointment_confirmation"},
    )
    await converse.calls.end(call["id"])

Custom tools

Register authenticated HTTP or MCP tools in the dashboard. The canonical agent worker executes them with capability grants, timeouts, audit records, and outbound-request protection; no long-lived polling SDK is required.