Skip to content

deepgram-starters/flask-voice-agent

Flask Voice Agent

Flask WebSocket proxy for Deepgram's Voice Agent API

Quick Start

Click the button below to fork the repo:

Fork on GitHub

Local Development

Makefile (Recommended)

make init
cp sample.env .env  # Add your DEEPGRAM_API_KEY
make start

Open http://localhost:8080 in your browser.

Python & pnpm

git clone --recurse-submodules https://github.com/deepgram-starters/flask-voice-agent.git
cd flask-voice-agent
python3 -m venv venv
./venv/bin/pip install -r requirements.txt
cd frontend && corepack pnpm install && cd ..
cp sample.env .env  # Add your DEEPGRAM_API_KEY

Start both servers in separate terminals:

# Terminal 1 - Backend (port 8081)
./venv/bin/python app.py

# Terminal 2 - Frontend (port 8080)
cd frontend && corepack pnpm run dev -- --port 8080 --no-open

Open http://localhost:8080 in your browser.

License

MIT - See LICENSE

About

Flask WebSocket proxy for Deepgram's Voice Agent API

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors