Skip to content

smallestai Python SDK

Build, deploy, and operate Smallest AI voice agents from Python.

pip install "smallestai>=5.4.0"
import os
from smallestai import SmallestAI

client = SmallestAI(api_key=os.environ["SMALLEST_API_KEY"])

agent_id = client.atoms.agents.create_agent(
    name="Front desk",
    workflow_type="single_prompt",
    first_message="Hi, thanks for calling. How can I help?",
).data

What's here

Two surfaces

  • client.atoms.* — voice agents (agents, calls, crew, phone numbers, versioning).
  • client.waves.* — speech (TTS, STT, voice cloning).

For the product + REST API reference, see docs.smallest.ai. This site is the Python-SDK companion: install, method names, guides, code.