Examples

View as Markdown

Complete, runnable examples you can deploy in minutes. Each example includes full source code, setup instructions, and deployment guide.

All examples are available in the cookbook repository.


Getting Started


Agent Development


Calling


Platform Features


Analytics


End-to-End Projects


Observability & Integrations


Mobile Apps


Running Examples

Each example follows the same pattern:

$# Clone the cookbook
$git clone https://github.com/smallest-inc/cookbook
$cd cookbook/voice-agents/<example>
$
$# Install dependencies
$pip install -e .
$
$# Set environment variables
$export OPENAI_API_KEY="your-key"
$
$# Run locally
$python app.py
$
$# Test with CLI (in another terminal)
$smallestai agent chat

Deploying Examples

$# Login to Smallest AI
$smallestai auth login
$
$# Link to your agent
$smallestai agent init
$
$# Deploy
$smallestai agent deploy --entry-point app.py
$
$# Make live
$smallestai agent builds