A simple voice agent demo powered by CAMB AI's TTS, Deepgram STT, and OpenAI GPT.
Backend (using uv):
cd backend
uv syncFrontend:
cd frontend
npm installCopy .env.example to backend/.env and fill in your API keys:
cp .env.example backend/.envRequired API keys:
CAMB_API_KEY- CAMB AI API key for TTSDEEPGRAM_API_KEY- Deepgram API key for STTOPENAI_API_KEY- OpenAI API key for GPTDAILY_API_KEY- Daily.co API key for WebRTC
Development (two terminals):
Terminal 1 - Backend:
cd backend
uv run python server.pyTerminal 2 - Frontend:
cd frontend
npm run devThen open http://localhost:5173
Production:
Build the frontend and serve from backend:
cd frontend
npm run build
cd ../backend
uv run python server.pyThen open http://localhost:7860