How vinod-meghwar/multi-domain-support-triage-agent works
This is a local, deterministic support-ticket triage CLI. Its main workflow loads CSV tickets, classifies request and product area, retrieves support documentation, applies escalation rules or constructs a grounded reply, then writes structured CSV results and a run log. The README also documents three domain-specific support corpora. The source excerpts establish the CLI, agent, retriever, and I/O connections; the corpus files are present in the tree but were not sampled.
Main entry points: agent.py Triage agent · main.py CLI runner · docs Support corpus · utils.py Ticket and result I/O
Components 16
Ticket workflow
- CLI runner
main.py - Ticket CSV
Triage and retrieval
- Triage agent
agent.py - Request classification
agent.py - Product classification
agent.py - Escalation policy
agent.py - Grounded response
agent.py - TF-IDF retriever
retriever.py
Support knowledge
- Support corpus
docs - HackerRank guidance
docs/hackerrank_support.md - Claude guidance
docs/claude_help_center.md - Visa guidance
docs/visa_support.md
Results and logging
- Ticket and result I/O
utils.py - Triage CSV
- Run transcript
Other components
- Ticket submitter
Connections 18
- Ticket submitter → Ticket CSV: provides tickets
README.md - Ticket CSV → Ticket and result I/O: loads tickets
- CLI runner → Ticket and result I/O: loads and writes
main.py - CLI runner → TF-IDF retriever: creates
main.py - CLI runner → Triage agent: creates and invokes
main.py - Triage agent → Request classification: identifies type
agent.py - Triage agent → TF-IDF retriever: searches tickets
agent.py - Triage agent → Product classification: classifies area
agent.py - Triage agent → Escalation policy: checks sensitivity
agent.py - Triage agent → Grounded response: builds reply
agent.py - TF-IDF retriever → Support corpus: loads documents
retriever.py - Support corpus → HackerRank guidance: includes
- Support corpus → Claude guidance: includes
- Support corpus → Visa guidance: includes
- CLI runner → Triage CSV: writes results
main.py - Ticket and result I/O → Triage CSV: serializes rows
utils.py - CLI runner → Run transcript: logs run
main.py - Ticket and result I/O → Run transcript: configures logging
utils.py