Start with 45 free minutes of callsTry for free

Voice agent API and SDKs

Do everything the console does from your code or your AI assistant.

Speko is a voice agent platform with an API for everything the console does. It has official SDKs for TypeScript and Python, a public OpenAPI spec, signed webhooks, and a hosted MCP server.

import { Speko } from '@spekoai/sdk';

const speko = new Speko({ apiKey: process.env.SPEKO_API_KEY! });

// Call a number with a saved agent
const call = await speko.voice.dial({
  to: '+12015551234',
  agentId: 'agent_123',
});

console.log(call.sessionId, call.status);

npm install @spekoai/sdk. From the phone agents guide in the Speko docs.

Which SDKs Does Speko Offer?

TypeScript SDK
  • @spekoai/sdk and spekoai are the official TypeScript and Python SDKs. The CLI signs in, builds and operates agents from a terminal.

npm

  • @spekoai/sdk
  • @spekoai/client
  • @spekoai/cli
  • @spekoai/ai-sdk-provider
  • @spekoai/adapter-livekit

PyPI

  • spekoai

Does Speko Have a REST API and an OpenAPI Spec?

Webhooks
  • Yes. A REST API covers agents, phone numbers, sessions, calls and SMS. The OpenAPI spec is published at docs.speko.ai/openapi.json.
  • Speko signs workspace webhooks and keeps a delivery log.

How Do Tools and MCP Work With Speko?

MCP quickstart
  • Custom tools are signed HTTP calls the agent makes to your systems during a call.
  • The hosted MCP server at mcp.speko.ai lets an AI assistant create agents, place calls and read transcripts on your account.

What Are the Limits of the API?

  • Speko is in public preview, with no contractual uptime SLA.
  • You can buy US and Canadian Speko numbers only, after business verification. You can bring a number from any carrier over SIP.

Notes

  • Every fact is from the Speko page linked beside its section, checked .

Questions

You get $5 in credit when you sign up. Calls then cost $0.09 per minute, plus carriage on Speko numbers.

Related