Skip to main content
Build a voice agent using Deepgram for speech recognition, Google Gemini for conversation, and Cartesia for text-to-speech synthesis. Best for: Cost-effective applications with fast response times and expressive voices.

Prerequisites


Installation


Environment Variables


Pipeline Configuration


Service Details

Deepgram STT

Real-time speech recognition with interim results and language detection.

Google Gemini LLM

Streaming responses with function calling and multimodal input support. Features:
  • Streaming responses
  • Function calling
  • Multimodal inputs (text, images)
  • OpenAI-compatible context format

Cartesia TTS

Real-time voice synthesis with word-level timing and interruption handling.

Quick Start

Inbound Calls

Configure your Plivo number’s Answer URL to your ngrok URL.

Outbound Calls


Pipecat Overview

Architecture and setup

Deepgram Docs

STT configuration

Gemini Docs

LLM configuration

Cartesia Docs

TTS configuration