A voice and text capable customer support agent built with LiveKit Agents framework. The agent handles customer grievances by collecting order information and generating support tickets.
- Dual mode support (voice and text)
- Order ID and email validation
- Automated grievance ticket generation
- Context-aware conversation flow
- Support for follow-up questions
python customer_support_agent.py console # For text mode
python customer_support_agent.py # For voice mode- Order ID: 123456789
- Email: abcd@gmail.com
-
Credential Collection
- Order ID verification
- Email verification
- Both must be valid to proceed
-
Issue Description
- Collects issue details
- Automatically generates title and description if needed
-
Grievance Registration
- Creates unique grievance ID
- Validates against refund policy
- Provides confirmation summary
-
Follow-up Support
- Handles post-registration queries
- Provides grievance summaries
- Allows additional assistance requests
- LiveKit Agents framework
- Deepgram STT (voice mode)
- Cartesia TTS (voice mode)
- Google Gemini LLM
- Silero VAD
The agent supports two modes:
- Minimal configuration using only LLM
- No voice-related plugins
- Suitable for console interactions
- Full configuration with STT/TTS
- Voice activity detection
- Turn detection for natural conversations
- Invalid credentials prompt for re-entry
- Context preservation between turns
- Graceful conversation recovery