AI Voice Agent
Real-time AI voice agent for document review built with LiveKit and LLMs
Overview
An AI-powered voice agent that lets users interact with documents through natural spoken conversation. Built on LiveKit for real-time audio streaming, the agent listens, understands, and responds β turning document review into a hands-free, conversational experience.
Real-time AI voice agent for document review β docrevfrontend.vercel.app
ποΈ How It Works
- User speaks β audio is captured and streamed in real time via LiveKit
- Speech-to-text β the agent transcribes the audio using a live STT pipeline
- LLM reasoning β the transcript is passed to an LLM with document context for intelligent responses
- Text-to-speech β the response is synthesized and streamed back to the user
- Document grounding β the agent keeps track of the document being reviewed and answers questions about its content
π οΈ Tech Stack
| Component | Technology |
|---|---|
| Real-time audio | LiveKit (WebRTC) |
| Agent framework | LiveKit Agents SDK |
| LLM | Claude / OpenAI |
| Speech-to-text | Deepgram / Whisper |
| Text-to-speech | ElevenLabs / Cartesia |
| Frontend | Next.js, deployed on Vercel |
| Backend | Python (FastAPI) |
β¨ Key Features
- Low-latency audio β sub-second voice response powered by LiveKitβs WebRTC infrastructure
- Document-aware Q&A β upload a document and ask questions about it verbally
- Interruption handling β agent detects when the user starts speaking and stops gracefully
- Session state β conversation history maintained across the session for coherent follow-ups
π Live demo: docrevfrontend.vercel.app