Examples
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
10 min · Give your agent actions it can perform.
@function_tool · ToolRegistry · Tool execution · LLM function calling
15 min · Real-time sentiment analysis alongside your main agent.
BackgroundAgentNode · Multi-node architecture · Shared state · Silent processing
10 min · Configure how your agent handles user interruptions.
is_interruptible · Dynamic settings · Barge-in handling
15 min · Multilingual agent with language detection.
Language detection · Dynamic prompts · Multi-language support
Calling
10 min · End calls and transfer to human agents.
SDKAgentEndCallEvent · SDKAgentTransferConversationEvent · Cold/warm transfers · Hold music
15 min · Build an interactive voice response menu.
Menu navigation · DTMF handling · Department routing
Platform Features
15 min · Connect your agent to a knowledge base for accurate answers.
Knowledge base setup · RAG retrieval · Document upload
20 min · Run outbound calling campaigns at scale.
AtomsClient · Audience management · Campaign creation · Batch calling
Analytics
End-to-End Projects
30 min · Production-grade voice banking agent with real database queries, identity verification, and compliance logging.
BackgroundAgentNode · SQL execution · Multi-round tool chaining · KBA verification · Audit logging · Call transfers
20 min · Voice-based clinic receptionist that checks real Cal.com availability, negotiates time slots, and books appointments.
Cal.com API · Slot negotiation · @function_tool · Real calendar booking
20 min · State-machine-driven voice data collection with typed validation, backtracking, and native Jotform submission.
FormEngine · Step-by-step collection · Field validation · Jotform integration
Observability & Integrations
Mobile Apps
Running Examples
Each example follows the same pattern:

