Skip to main content

01 — Discord Bot

A Discord bot with memory that remembers conversations per user.

Full source

definable/examples/interfaces/01_discord_bot.py

Voice Call Examples

Managed Mode (Twilio ConversationRelay)

The simplest voice agent — Twilio handles STT/TTS natively.

Full source

definable/examples/call/01_managed_voice_agent.py

Cascading Mode (Deepgram STT + Cartesia TTS)

Full control over STT and TTS providers.

Full source

definable/examples/call/02_cascading_pipeline.py

Realtime Mode (OpenAI Speech-to-Speech)

Lowest latency — audio flows directly to OpenAI’s Realtime API.

Full source

definable/examples/call/03_realtime_pipeline.py

Plivo + Cascading Pipeline

Using Plivo as the telephony provider with Deepgram STT and Cartesia TTS.

Full source

definable/examples/call/04_plivo_cascading.py

Slack Bot Examples

Minimal Slack Bot

A Slack bot using Socket Mode — the simplest way to get started.

Full source

definable/examples/slack/01_slack_bot.py

Slack Bot with Tools and Memory

A full-featured Slack agent with tools, memory, and completion reactions.

Full source

definable/examples/slack/03_slack_with_tools.py

Slack HTTP Events API

Production deployment using HTTP Events API with AgentRuntime.

Full source

definable/examples/slack/02_slack_webhook.py

02 — Multi-Interface with Identity Resolution

Run Telegram and Discord simultaneously with a shared identity resolver, so the same user is recognized across platforms.

Full source

definable/examples/interfaces/02_multi_interface.py

03 — Desktop Control via Telegram

Control a macOS desktop agent remotely through Telegram. Combines the Desktop interface with Telegram for remote desktop automation.

Full source

definable/examples/interfaces/03_desktop_control_via_telegram.py

04 — InterfaceGateway with Telegram

Use InterfaceGateway for centralized multi-channel coordination — shared hooks, per-interface status tracking, lifecycle events, and cross-platform identity linking.

Full source

definable/examples/interfaces/04_gateway_telegram.py