How dilht/customersupportvoiceagent works
This is a LiveKit Python voice assistant starter, shown here as a member speaking with a financial-services assistant and receiving spoken answers or a recorded complaint. LiveKit starts and connects the session; the assistant uses configured language and speech services, searches company Markdown for factual answers, and can validate and record complaints in SQLite. The README also documents expressive speech, turn detection, noise cancellation, broad model-provider support, and observability. Those integrations are represented from documentation where source wiring was not shown; unsampled internals are not inferred.
Main entry points: agent.py Voice pipeline · complaints.py Complaint store · knowledge.py Chunk loading · company_knowledge Knowledge documents
Components 19
Voice runtime
- LiveKit session
- Session entry
src/agent.py - Voice pipeline
src/agent.py - Turn detector
src/agent.py - Noise cancellation
src/agent.py - Language model
src/agent.py - Speech models
src/agent.py - Session insights
Assistant behavior
- Assistant tools
src/agent.py
Company knowledge
- Knowledge search tool
src/agent.py - Knowledge documents
company_knowledge - Chunk loading
src/knowledge.py - Keyword search
src/knowledge.py
Complaint handling
- Complaint intake tool
src/agent.py - Complaint validation
src/complaints.py - Complaint routing
src/complaints.py - Complaint store
src/complaints.py - SQLite complaints
src/complaints.py
Other components
- Member
Connections 20
- Member → LiveKit session: speaks to
README.md - LiveKit session → Session entry: starts session
src/agent.py - Session entry → Voice pipeline: starts
src/agent.py - Session entry → LiveKit session: connects room
src/agent.py - Voice pipeline → Assistant tools: runs agent
src/agent.py - Voice pipeline → Turn detector: uses
README.md - Voice pipeline → Noise cancellation: enhances audio
src/agent.py - Voice pipeline → Language model: uses
src/agent.py - Voice pipeline → Speech models: uses
README.md - Voice pipeline → Session insights: reports insights
README.md - Assistant tools → Knowledge search tool: exposes
src/agent.py - Assistant tools → Complaint intake tool: exposes
src/agent.py - Knowledge search tool → Chunk loading: searches with
src/agent.py - Knowledge search tool → Keyword search: queries
src/agent.py - Chunk loading → Knowledge documents: loads Markdown
src/knowledge.py - Keyword search → Knowledge documents: matches chunks
src/knowledge.py - Complaint intake tool → Complaint validation: validates
src/agent.py - Complaint intake tool → Complaint store: saves complaint
src/agent.py - Complaint store → Complaint routing: routes category
src/complaints.py - Complaint store → SQLite complaints: writes and counts
src/complaints.py