Recipes

This page is an index of quickstarts, guides, and short recipes focused on particular use cases.

Basics

Voice agent with STT, LLM, TTS

Create an AI voice assistant with a pipeline of STT, LLM, and TTS models.
Basics

Speech-to-speech agent

Create a speech-to-speech agent using the OpenAI Realtime API.
Basics

Speech-to-text example

Realtime transcription from voice to text.
Functions

Chain of thought agent

Build an agent for chain-of-thought reasoning using the before_llm callback to clean the text before TTS.
Functions

RAG Delay

Three different approaches to handling the delay during RAG lookups in a voice-enabled AI assistant.
Functions

Moviefone

This agent uses function calling and the OpenAI API to search for movies and give you realtime information about showtimes.
FunctionsAudio

Meditation Helper

A voice interactive meditation assistant that creates long, personalized guided meditation sessions using AI.
Vision

Basic vision agent using VoicePipelineAgent

Create an AI voice assistant that can see your camera output.
Data Messages

LivePaint

A realtime drawing game where players compete to complete a drawing prompt while being judged by a realtime AI agent.
Telephony

Using Twilio Voice

Use TwiML to accept incoming calls and bridge Twilio conferencing to LiveKit via SIP.
Telephony

IVR Agent

Build a voice agent that can call external voice lines and respond to IVR flows using DTMF tones.
Telephony

Company Directory

Build a AI company directory agent. The agent can respond to DTMF tones and voice prompts, then redirect callers.
AudioTelephony

Enhanced noise cancellation

Enable enhanced background noise cancellation audio filters for your LiveKit cloud project.
AudioTelephony

HD voice with SIP

LiveKit SIP supports high fidelity calls by enabling HD Voice.

Was this page helpful?