Skip to content

godspeed-003/customer-support-agent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Customer Support Agent

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.

Features

  • Dual mode support (voice and text)
  • Order ID and email validation
  • Automated grievance ticket generation
  • Context-aware conversation flow
  • Support for follow-up questions

Usage

Running the Agent

python customer_support_agent.py console  # For text mode
python customer_support_agent.py          # For voice mode

Test Credentials

Conversation Flow

  1. Credential Collection

    • Order ID verification
    • Email verification
    • Both must be valid to proceed
  2. Issue Description

    • Collects issue details
    • Automatically generates title and description if needed
  3. Grievance Registration

    • Creates unique grievance ID
    • Validates against refund policy
    • Provides confirmation summary
  4. Follow-up Support

    • Handles post-registration queries
    • Provides grievance summaries
    • Allows additional assistance requests

Dependencies

  • LiveKit Agents framework
  • Deepgram STT (voice mode)
  • Cartesia TTS (voice mode)
  • Google Gemini LLM
  • Silero VAD

Configuration

The agent supports two modes:

Text Mode

  • Minimal configuration using only LLM
  • No voice-related plugins
  • Suitable for console interactions

Voice Mode

  • Full configuration with STT/TTS
  • Voice activity detection
  • Turn detection for natural conversations

Error Handling

  • Invalid credentials prompt for re-entry
  • Context preservation between turns
  • Graceful conversation recovery

About

A AI Agent with Voice and Text Modes built with Livekit Agents Framework.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages