This is a demo of a LiveKit Voice Pipeline Agent using Cartesia and GPT-4o-mini.
The example includes a custom Next.js frontend and Python agent.
https://cartesia-assistant.vercel.app/
- Node.js
- Python 3.9-3.12
- LiveKit Cloud account (or OSS LiveKit server)
- Cartesia API key (for speech synthesis)
- OpenAI API key (for LLM)
- Deepgram API key (for speech-to-text)
Copy .env.example
to .env.local
and set the environment variables. Then run:
cd frontend
npm install
npm run dev
Copy .env.example
to .env
and set the environment variables. Then run:
cd agent
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
python main.py dev