A modular multi-agent customer support system that classifies incoming user queries and routes them to the most relevant agent, with an LLM-based fallback dispatcher for handling ambiguous or unseen requests.
The system follows a router → agent → response pipeline:
- User submits a query
- A classifier/router identifies the intent
- The query is forwarded to a specialized agent
- If no clear intent is found, an LLM fallback handles the request
This design allows scalable, maintainable, and intelligent customer support automation.
Each agent is responsible for a specific category of queries:
- Handles contact-related queries
- Examples: support email, phone number, office hours
- Handles database or data-backed queries
- Fetches customer-related information from stored data
- Handles uncategorized or general queries
- Acts as a soft fallback before LLM escalation
Agents are loosely coupled, making it easy to add or replace functionality.
- Classifies user intent based on keywords / logic
- Routes queries to the appropriate agent
- Uses LLM fallback when intent confidence is low
- Python
- Multi-Agent Architecture
- LLM (fallback reasoning)
- Streamlit (UI)
pip install -r requirements.txt
python app.py