Abdul-Rehman-99/Browser-Voice_Agent-Backend
1
Browser Voice Agent Backend
Real-time voice AI backend with STT (Whisper/Groq), agent (Llama 3.3 / OpenAI Agents SDK), and TTS (Edge-TTS).
WebSocket Endpoint
wss://<host>/ws/voiceMessage Protocol
Text frames (JSON control messages):
Binary frames: Raw audio chunks (bidirectional).
Environment Variables
Local Development
uv sync
uv run uvicorn app.main:app --reloadDeploy
Build and run with Docker:
docker build -t browser-voice-agent-backend .
docker run -p 7860:7860 -e GROQ_API_KEY=your_key browser-voice-agent-backend