qayyumu
commited on
Commit
ยท
14d57a5
1
Parent(s):
15416b7
updated readme
Browse files- .gitignore +3 -2
- README.md +215 -3
.gitignore
CHANGED
|
@@ -6,6 +6,7 @@ yarn-debug.log*
|
|
| 6 |
yarn-error.log*
|
| 7 |
pnpm-debug.log*
|
| 8 |
lerna-debug.log*
|
|
|
|
| 9 |
|
| 10 |
.env
|
| 11 |
node_modules
|
|
@@ -17,7 +18,7 @@ dist-ssr
|
|
| 17 |
.vscode/*
|
| 18 |
*.pyc
|
| 19 |
*.wav
|
| 20 |
-
|
| 21 |
!.vscode/extensions.json
|
| 22 |
.idea
|
| 23 |
.DS_Store
|
|
@@ -26,4 +27,4 @@ dist-ssr
|
|
| 26 |
*.njsproj
|
| 27 |
*.sln
|
| 28 |
*.sw?
|
| 29 |
-
|
|
|
|
| 6 |
yarn-error.log*
|
| 7 |
pnpm-debug.log*
|
| 8 |
lerna-debug.log*
|
| 9 |
+
recordings/*
|
| 10 |
|
| 11 |
.env
|
| 12 |
node_modules
|
|
|
|
| 18 |
.vscode/*
|
| 19 |
*.pyc
|
| 20 |
*.wav
|
| 21 |
+
generated_questions.md
|
| 22 |
!.vscode/extensions.json
|
| 23 |
.idea
|
| 24 |
.DS_Store
|
|
|
|
| 27 |
*.njsproj
|
| 28 |
*.sln
|
| 29 |
*.sw?
|
| 30 |
+
|
README.md
CHANGED
|
@@ -1,11 +1,223 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
emoji:
|
| 4 |
colorFrom: yellow
|
| 5 |
colorTo: purple
|
| 6 |
sdk: docker
|
| 7 |
pinned: false
|
| 8 |
license: apache-2.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
---
|
| 10 |
|
| 11 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
title: Agentic Interview System - AI-Powered Voice Interview & Candidate Scoring
|
| 3 |
+
emoji: ๐๏ธ
|
| 4 |
colorFrom: yellow
|
| 5 |
colorTo: purple
|
| 6 |
sdk: docker
|
| 7 |
pinned: false
|
| 8 |
license: apache-2.0
|
| 9 |
+
tags:
|
| 10 |
+
- mcp-in-action-track-enterprise
|
| 11 |
+
- gradio
|
| 12 |
+
- crewai
|
| 13 |
+
- agentic-ai
|
| 14 |
+
- mcp tool to estimate sentiment
|
| 15 |
+
- enterprise
|
| 16 |
+
- hiring
|
| 17 |
+
- voice-interview
|
| 18 |
---
|
| 19 |
|
| 20 |
+
# ๐๏ธ Agentic Interview System
|
| 21 |
+
## AI-Powered Voice Interview & Candidate Scoring Platform
|
| 22 |
+
|
| 23 |
+
**๐ MCP's 1st Birthday Hackathon Submission | Track: Enterprise Applications**
|
| 24 |
+
|
| 25 |
+
[](https://huggingface.co/UQ)
|
| 26 |
+
[](https://www.youtube.com/@UsmanQayyum/videos)
|
| 27 |
+
[](https://x.com/usmanqayyum)
|
| 28 |
+
|
| 29 |
+
---
|
| 30 |
+
|
| 31 |
+
## ๐ Overview
|
| 32 |
+
|
| 33 |
+
**Agentic Interview System** is an enterprise-grade AI-powered interview platform that automates the entire hiring workflowโfrom question generation to candidate evaluation. Built with **Gradio**, **CrewAI**, **FASTRTC** **Gemini 2.5 Flash**, ** Tool Calling** and **MCP (Model Context Protocol) Tool**, this system leverages intelligent multi-agent collaboration to conduct realistic voice interviews and provide comprehensive candidate assessments.
|
| 34 |
+
|
| 35 |
+
### ๐ฏ Key Features
|
| 36 |
+
|
| 37 |
+
- **๐ Smart Question Generation**: AI analyzes CV and Job Description to create tailored technical + behavioral questions
|
| 38 |
+
- **๐ค Live Voice Interviews**: Real-time voice conversation with AI interviewer using FastRTC
|
| 39 |
+
- **๐ค Multi-Agent Evaluation**: Specialized AI agents evaluate technical skills, behavioral fit, and sentiment
|
| 40 |
+
- **๐ Comprehensive Scorecards**: Detailed feedback with competency scores, strengths/weaknesses, and hire recommendations
|
| 41 |
+
- **๐ MCP Integration**: Uses MCP server for sentiment analysis during candidate evaluation
|
| 42 |
+
- **๐ Web Research**: Serper tool enables agents to fetch current best practices for interview questions
|
| 43 |
+
|
| 44 |
+
---
|
| 45 |
+
|
| 46 |
+
## ๐๏ธ Architecture & Technology Stack
|
| 47 |
+
|
| 48 |
+
### Core Technologies
|
| 49 |
+
|
| 50 |
+
| Component | Technology | Purpose |
|
| 51 |
+
|-----------|-----------|---------|
|
| 52 |
+
| **UI Framework** | Gradio | Modern, interactive web interface |
|
| 53 |
+
| **Multi-Agent System** | CrewAI | Orchestrates specialized interview agents |
|
| 54 |
+
| **LLM** | Gemini 2.5 Flash | Powers question generation and evaluation |
|
| 55 |
+
| **Voice Communication** | FastRTC | Real-time audio streaming for interviews |
|
| 56 |
+
| **MCP Integration** | MCP Client/SSE | Connects to sentiment analysis MCP server **MCP Server**: `uq-sentimentanalysismcpserver.hf.space` |
|
| 57 |
+
| **Web Research** | Serper Dev Tool | Enables agents to fetch current interview best practices |
|
| 58 |
+
| **PDF Processing** | PyPDF | Extracts text from CV and Job Description PDFs |
|
| 59 |
+
|
| 60 |
+
|
| 61 |
+
### Agent Architecture
|
| 62 |
+
|
| 63 |
+
#### Question Generation Crew
|
| 64 |
+
1. **Technical Interviewer Agent**: Generates role-specific technical questions
|
| 65 |
+
2. **Personality & Culture Fit Specialist**: Creates behavioral questions using Serper tool for best practices
|
| 66 |
+
3. **Interview Director**: Compiles final interview plan with system instructions
|
| 67 |
+
|
| 68 |
+
#### Evaluation Crew
|
| 69 |
+
1. **Technical Skills Evaluator**: Scores technical competency (0-10) for each technical question
|
| 70 |
+
2. **Behavioral & Culture Fit Evaluator**: Assesses soft skills using MCP sentiment analysis tool
|
| 71 |
+
3. **Evaluation Director**: Synthesizes evaluations into comprehensive scorecard
|
| 72 |
+
|
| 73 |
+
---
|
| 74 |
+
|
| 75 |
+
## ๐ How It Works
|
| 76 |
+
|
| 77 |
+
### Step 1: Upload Documents
|
| 78 |
+
Upload the candidate's CV/Resume and Job Description (PDF format). The system extracts text and prepares for analysis.
|
| 79 |
+
|
| 80 |
+
### Step 2: Generate Questions
|
| 81 |
+
AI agents analyze both documents:
|
| 82 |
+
- **Technical Agent** identifies required skills and generates technical questions
|
| 83 |
+
- **Personality Agent** researches current best practices and creates behavioral questions
|
| 84 |
+
- **Director Agent** compiles a balanced interview plan
|
| 85 |
+
|
| 86 |
+
### Step 3: Conduct Voice Interview
|
| 87 |
+
- Start the live voice interview session
|
| 88 |
+
- AI interviewer (Alex) conducts the conversation naturally
|
| 89 |
+
- Questions are asked one at a time with active listening
|
| 90 |
+
- Real-time audio streaming via FastRTC
|
| 91 |
+
|
| 92 |
+
### Step 4: Agentic Evaluation
|
| 93 |
+
After the interview:
|
| 94 |
+
- **Technical Evaluator** scores technical responses
|
| 95 |
+
- **Behavioral Evaluator** assesses soft skills and uses MCP for sentiment analysis
|
| 96 |
+
- **Evaluation Director** generates comprehensive scorecard with:
|
| 97 |
+
- Individual question scores
|
| 98 |
+
- Overall technical/behavioral averages
|
| 99 |
+
- Strengths and areas for improvement
|
| 100 |
+
- Final hiring recommendation (Strong Hire/Hire/No Hire)
|
| 101 |
+
|
| 102 |
+
---
|
| 103 |
+
|
| 104 |
+
## ๐ผ Enterprise Value Proposition
|
| 105 |
+
|
| 106 |
+
### For HR Teams & Talent Acquisition
|
| 107 |
+
|
| 108 |
+
โ
**Automates Early-Stage Screening**: Reduces manual interview scheduling and coordination
|
| 109 |
+
โ
**Standardizes Evaluation**: Consistent, unbiased assessment across all candidates
|
| 110 |
+
โ
**Reduces Manual Workload**: AI handles question generation, interview conduction, and evaluation
|
| 111 |
+
โ
**Cuts Time-to-Hire**: Faster screening process enables quicker hiring decisions
|
| 112 |
+
โ
**Scalable Pipeline**: Handle multiple interviews simultaneously without additional resources
|
| 113 |
+
โ
**Data-Driven Decisions**: Objective scoring and detailed feedback for informed hiring
|
| 114 |
+
|
| 115 |
+
### For Candidates
|
| 116 |
+
|
| 117 |
+
โ
**Realistic Practice**: AI-driven mock interviews simulate real interview experience
|
| 118 |
+
โ
**Role-Specific Questions**: Practice with questions tailored to the actual job
|
| 119 |
+
โ
**Actionable Feedback**: Receive detailed scores and improvement areas
|
| 120 |
+
โ
**24/7 Availability**: Practice interviews anytime, anywhere
|
| 121 |
+
|
| 122 |
+
---
|
| 123 |
+
|
| 124 |
+
## ๐ฏ Use Cases
|
| 125 |
+
|
| 126 |
+
- **HR Departments**: Streamline recruitment workflows
|
| 127 |
+
- **Talent Acquisition Teams**: Scale interview processes
|
| 128 |
+
- **Startups**: Build recruitment tools with AI capabilities
|
| 129 |
+
- **Candidates**: Practice and prepare for interviews
|
| 130 |
+
- **Organizations**: Adopt AI-driven hiring automation
|
| 131 |
+
|
| 132 |
+
---
|
| 133 |
+
|
| 134 |
+
## ๐ ๏ธ Installation & Setup
|
| 135 |
+
|
| 136 |
+
### Prerequisites
|
| 137 |
+
|
| 138 |
+
- Python 3.8+
|
| 139 |
+
- Docker (for containerized deployment)
|
| 140 |
+
- API Keys (Already set as secret in HF Spaces):
|
| 141 |
+
- Google Gemini API key
|
| 142 |
+
- Serper API key (for web research)
|
| 143 |
+
- Huggingface Token
|
| 144 |
+
|
| 145 |
+
### Local Development
|
| 146 |
+
|
| 147 |
+
```bash
|
| 148 |
+
# Clone the repository
|
| 149 |
+
git clone <repository-url>
|
| 150 |
+
cd AgenticInterviewHackathon
|
| 151 |
+
|
| 152 |
+
# Install dependencies
|
| 153 |
+
pip install -r requirements.txt
|
| 154 |
+
|
| 155 |
+
# Set up environment variables
|
| 156 |
+
export GEMINI_API_KEY="your-gemini-api-key"
|
| 157 |
+
export SERPER_API_KEY="your-serper-api-key"
|
| 158 |
+
export HF_Token="your-serper-api-key"
|
| 159 |
+
|
| 160 |
+
# Run the application
|
| 161 |
+
python app.py
|
| 162 |
+
```
|
| 163 |
+
|
| 164 |
+
### Docker Deployment
|
| 165 |
+
|
| 166 |
+
```bash
|
| 167 |
+
# Build the Docker image
|
| 168 |
+
docker build -t agentic-interview .
|
| 169 |
+
|
| 170 |
+
# Run the container
|
| 171 |
+
docker run -p 7860:7860 \
|
| 172 |
+
-e GEMINI_API_KEY="your-key" \
|
| 173 |
+
-e SERPER_API_KEY="your-key" \
|
| 174 |
+
-e HF_Token="your-key" \
|
| 175 |
+
agentic-interview
|
| 176 |
+
```
|
| 177 |
+
|
| 178 |
+
---
|
| 179 |
+
|
| 180 |
+
## ๐ธ Demo & Resources
|
| 181 |
+
|
| 182 |
+
- **๐ Live Demo**: [Hugging Face Space](https://huggingface.co/UQ)
|
| 183 |
+
- **๐น Demo Video**: [YouTube Channel](https://www.youtube.com/@UsmanQayyum/videos)
|
| 184 |
+
- **๐ฆ Social Media Post**: [Twitter/X](https://x.com/usmanqayyum)
|
| 185 |
+
|
| 186 |
+
---
|
| 187 |
+
|
| 188 |
+
## ๐ Hackathon Submission Details
|
| 189 |
+
|
| 190 |
+
**Event**: MCP's 1st Birthday Hackathon
|
| 191 |
+
**Track**: MCP in Action - Enterprise Applications
|
| 192 |
+
**Tag**: `mcp-in-action-track-enterprise`
|
| 193 |
+
**Submission Date**: 29 November 2025
|
| 194 |
+
|
| 195 |
+
|
| 196 |
+
## ๐ License
|
| 197 |
+
|
| 198 |
+
Apache 2.0 License - See LICENSE file for details
|
| 199 |
+
---
|
| 200 |
+
|
| 201 |
+
## ๐ Acknowledgments
|
| 202 |
+
|
| 203 |
+
- **Gradio Team** for the amazing Gradio framework
|
| 204 |
+
- **Anthropic** for MCP protocol and hackathon organization
|
| 205 |
+
- **CrewAI** for the powerful multi-agent framework
|
| 206 |
+
- **Google** for Gemini 2.5 Flash API
|
| 207 |
+
- **HuggingFace** for hosting and infrastructure
|
| 208 |
+
|
| 209 |
+
---
|
| 210 |
+
|
| 211 |
+
## ๐ฎ Future Enhancements
|
| 212 |
+
|
| 213 |
+
- [ ] Interview Link Generation to can be forwarded automatically to interviewee
|
| 214 |
+
- [ ] Video interview capabilities
|
| 215 |
+
- [ ] Integration with ATS (Applicant Tracking Systems)
|
| 216 |
+
- [ ] Advanced analytics dashboard
|
| 217 |
+
- [ ] Customizable evaluation rubrics
|
| 218 |
+
- [ ] Team collaboration features
|
| 219 |
+
|
| 220 |
+
---
|
| 221 |
+
|
| 222 |
+
**Built with โค๏ธ for the MCP's 1st Birthday Hackathon**
|
| 223 |
+
|