sankardhanushkodi/call_center_summary_agent
0
Call Center Summary Agent
A multi-agent LangGraph pipeline that transcribes, summarizes, and quality-scores call center recordings with a Streamlit frontend.
Pipeline
Upload audio / paste transcript
↓
[Intake Agent] — validates format, extracts metadata
↓
[Transcription Agent] — OpenAI Whisper API → text
↓
[Summarization Agent] — summary, key points, action items, sentiment
↓
[Quality Agent] — 5-dimension rubric score (0–100)
↓
[Routing Agent] — complete / flag for review / escalate / retryAgents
Quality Rubric
Routing thresholds: ≥70 → Complete · ≥50 → Flag for Review · <50 → Escalate/Retry
Deploy to Hugging Face Spaces
- Create a new Space → Docker SDK at huggingface.co/new-space
- Push the repo:
git init
git add .
git commit -m "Initial commit"
git remote add hf https://huggingface.co/spaces/<your-username>/call-center-agent
git push hf main- Add your API key under Settings → Repository Secrets:
HF Spaces will build the Docker image automatically and expose the app on port 7860.
Local Docker build
docker build -t call-center-agent .
docker run -p 7860:7860 \
-e OPENAI_API_KEY=sk-... \
-e LLM_MODEL=gpt-4o-mini \
call-center-agent
# → open http://localhost:7860Local development
bash setup.sh # creates .venv, installs deps, copies .env
# edit .env — add OPENAI_API_KEY
source .venv/bin/activate
streamlit run app.pyDisclaimer
Transcriptions and AI-generated summaries are for informational purposes only. Always verify quality scores with human review before using them for agent evaluation.
