The Interview Trainer Agent is an intelligent, AI-powered application built using IBM Granite models via IBM watsonx.ai and LangFlow. It helps job seekers prepare for interviews by generating personalized, role-specific interview questions, model answers, and improvement tips based on their job role, experience level, and skills.
This project was developed as part of the Edunet Foundation Γ IBM SkillsBuild Internship Program.
- Conversational Chat Interface β Interact naturally to get interview questions
- Resume/Document Upload β Upload your resume (PDF/TXT/DOCX) for personalized preparation
- Role-Specific Questions β Tailored technical and behavioral questions for any job role
- Model Answers β Detailed model answers for every question generated
- Improvement Tips β Actionable tips to improve your interview performance
- Quick Prompts β One-click preparation for popular job roles
- Powered by IBM Granite β Enterprise-grade AI via IBM watsonx.ai
| Technology | Purpose |
|---|---|
IBM Granite (ibm/granite-4-h-small) |
Core AI model for question generation |
| IBM watsonx.ai | Model deployment and AI governance |
| IBM Cloud | Cloud infrastructure |
| LangFlow | Visual agent workflow orchestration |
| Streamlit | Frontend chat interface |
| Python | Backend application logic |
User Input (Chat / Resume Upload)
β
Streamlit Frontend (app.py)
β
LangFlow API (localhost:7860)
β
βββββββββββββββββββββββββββββββ
β LangFlow Agent Flow β
β ββββββββββββ βββββββββββ β
β βChat Inputβ β Prompt β β
β ββββββ¬ββββββ βTemplate β β
β β ββββββ¬βββββ β
β ββββββββ¬ββββββββ β
β βββββΌβββββ β
β β Agent β β
β βIBM β β
β βGranite β β
β βββββ¬βββββ β
β βββββΌβββββ β
β β Chat β β
β β Output β β
β ββββββββββ β
βββββββββββββββββββββββββββββββ
β
Interview Questions + Model Answers + Tips
- Python 3.10 or above
- pip or uv package manager
- IBM Cloud account (free/Lite tier)
- IBM watsonx.ai project with API key
git clone https://github.com/saibhargavi-rapolu/Interview-Trainer-Agent.git
cd Interview-Trainer-Agentpip install -r requirements.txtpip install uv
uv venv langflow
langflow\Scripts\activate # Windows
uv pip install langflow
uv run langflow runLangFlow will start at: http://localhost:7860
- Open LangFlow at
http://localhost:7860 - Create a new blank flow
- Add components: Chat Input β Prompt Template β Agent (IBM Granite) β Chat Output
- In the Agent component, enter your:
- IBM Cloud API Key
- watsonx Project ID
- Endpoint:
https://us-south.ml.cloud.ibm.com
- Select model:
ibm/granite-4-h-small
streamlit run app.pyOpen your browser at: http://localhost:8501
Update these values in app.py:
LANGFLOW_URL = "http://127.0.0.1:7860"
FLOW_ID = "your-langflow-flow-id"
LANGFLOW_API_KEY = "your-langflow-api-key"streamlit
requests
langflow
- Start LangFlow β Run
uv run langflow runin terminal - Start the app β Run
streamlit run app.pyin another terminal - Open browser β Go to
http://localhost:8501 - Chat or Upload β Type your job role or upload your resume
- Get Questions β Receive personalized interview questions and answers instantly
"I am applying for a Python Developer role with 1 year of experience."
"I am a Data Scientist with 3 years experience in ML and Python."
"I am a fresher applying for a Web Developer position."
The agent uses this optimized system prompt:
You are an expert Interview Trainer Agent powered by IBM Granite.
When a user provides their job role and experience level, respond with:
## Interview Preparation Guide
### Technical Questions (5 questions)
### Behavioral/HR Questions (3 questions)
### Improvement Tips (3 tips)
### Key Topics to Study
- Role-Specific Precision β Questions tailored to exact job title and experience
- RAG-Powered β Retrieves real interview patterns in real-time
- Dual Assessment β Covers both technical skills and behavioral/soft skills
- Model Answers β Not just questions, but how to answer them effectively
- Resume-Aware β Analyzes uploaded resume for personalized preparation
- IBM Enterprise-Grade β Powered by IBM Granite for reliable, governed AI
- Voice Interview Simulation β Practice speaking answers with AI feedback
- Company-Specific Preparation β Questions based on specific company patterns
- Real-Time Performance Analytics β Dashboard showing scores and improvement trends
- Multilingual Support β Interview prep in Hindi, Telugu, and other languages
**Click here to try the app : https://interview-trainer-ibm.streamlit.app **
Rapolu Sai Bhargavi Edunet Foundation Γ IBM SkillsBuild Internship
This project is licensed under the MIT License β see the LICENSE file for details.
- Edunet Foundation β For providing this internship opportunity
- IBM β For IBM Granite models and watsonx.ai platform
- LangFlow β For the visual agent workflow builder