Skip to main content

Reference bot (Pipecat runner)

This matches the Pipecat example script examples/video-avatar/video-avatar-agenthuman-video-service.py: Deepgram STT, Google Gemini LLM, ElevenLabs TTS, and AgentHumanVideoService with the Pipecat create_transport runner (Daily or WebRTC). Install the extras used here (in addition to your transport/STT/TTS/LLM keys in .env):
Run with the Pipecat development runner so create_transport receives RunnerArguments from your CLI or Pipecat Cloud deployment.

Manual DailyTransport (no runner CLI)

If you construct DailyTransport yourself, reuse run_bot by passing a default RunnerArguments() for idle timeout and signal handling:
Define run_bot as in the reference example above (same file as main).

Bot with Cartesia TTS

Swap ElevenLabs for Cartesia — pipeline and AgentHumanVideoService stay the same.
Install pip install "pipecat-ai[cartesia]" (or include cartesia in your combined extras).

Portrait avatar (mobile layout)

Use a 3:4 aspect ratio for portrait video, suitable for mobile UIs.