Created & Authored by: Karan Shelar
๐ Project Docs: ย Challenges ย |ย Next Steps ย |ย Coding Round Design ย |ย Technical Flow ย |ย Collaborators ย |ย All Docs โ
InterviewAI is not just a "mock interview" tool; it is an Advanced Intelligent Simulation Entity. While traditional platforms rely on static question banks, InterviewAI uses a Dynamic Agentic Loop to synthesize the reality of the 2025/2026 job market.
We don't just ask questions; we simulate Human Personalities:
- Adinath (The Primal Sage): Simulates the "Foundation First" interviewer. He is cold, direct, and explores the recursive depth of your technical architecture. He tests the "How" and the "Why."
- Veda (The Eternal Wisdom): Simulates the "Clarity Specialist." She is observant, testing your vision, cultural alignment, and your ability to communicate complex ideas under pressure.
What makes this project unique in the industry is its Three-Tier Intelligence Architecture, designed to solve the "Knowledge Gap" in AI:
- The Curated Core: Local access to 402 expert-verified company profiles across 12 domains for zero-latency, reliable data.
- The Agentic Discovery Loop (LangGraph): An autonomous multi-agent team that researches public companies in real-time.
- Dynamic Domain Intelligence: Automatically prevents "Role Forcing" (e.g., won't force LeetCode questions on a legal or clinical role).
- Geographic Guardrails: Prevents acronym collisions (e.g., identifying MOC Cancer Care India vs Moffitt USA) by localized search auditing.
- Generic Article Purge: Python-level domain blocklist strips SEO junk (datacamp, guru99, intellipaat, etc.) before the AI ever sees the data.
- Stealth Mode & Synthetic Fallback: A world-first feature that Reverse-Engineers company DNA from a Job Description. If a company is in "Stealth Mode" (non-public), the AI synthesizes a high-fidelity interview based on industry-standard benchmarking.
- Domain-Aware Round Engine (v2.3): Each of the 12 career domains gets its own interview structure โ Finance gets Case Study rounds, Healthcare gets Situational/Clinical rounds, Creative gets Portfolio Review. No more forcing tech candidates' rounds onto Accounting or Legal applicants.
- Crowdsourced Self-Learning Memory (v2.4): The system now learns from its users. The Stealth Registry implements a "Witness vs Expert" consensus logic. It builds high-fidelity profiles for private startups by aggregating data from persistent "Strugglers" (Structural Roadmap) and Top-Performers (Success Criteria).
The system now provides transparency on how it "trusts" the discovered intelligence:
| Score | Status | Description | Reliability |
|---|---|---|---|
| 0 - 20 | Synthetic | No public info found. AI "guesstimates" based strictly on the Industry & JD. | |
| 85 | Verified | Sufficient public sources found. Identity is verified. | โ High |
| 100 - 160 | Elite Certified | Extreme certainty. Matched Location, Industry, and found Direct Interview Questions. | ๐ Production Grade |
graph TD
User((User)) -->|"Uploads Resume/JD"| UI["React Dashboard"]
UI -->|Trigger| Backend["FastAPI Core"]
subgraph "The Intelligence Brain"
Backend --> Gatekeeper{Entry Gate}
Gatekeeper -->|Found| DB["Curated 402 DB"]
Gatekeeper -->|"Not Found"| Agents["LangGraph Research Team"]
Agents --> Router["Router (Location Guard)"]
Router --> Researcher["DuckDuckGo Researcher"]
Researcher --> Auditor["Auditor Agent - The Bouncer"]
Auditor --> Architect["Architect (Llama-3 Profile Builder)"]
Architect --> Critic["Gemini Quality Validator"]
Critic -->|Approved| Memory[("(discoveries.json)")]
Memory --> Context["Simulation Context"]
DB --> Context
end
Context -->|Seed| Simulation["Gemini 2.0 Simulation"]
Simulation -->|"Voice/Video"| User
Simulation -->|Feedback| Persistence[("Neon Cloud PostgreSQL")]
- FastAPI application setup with CORS
- PostgreSQL database integration (Neon Cloud)
- SQLAlchemy ORM models
- Alembic migration system (Production Sync Ready)
- Gemini 2.0 Flash API integration
- PDF resume parsing (PyPDF)
- Session management system
- RESTful API endpoints
- React + Vite setup
- Component architecture
- State management with hooks
- Axios API integration
- Web Speech API integration
- Camera/microphone controls
- Multi-persona AI interviewers (Adinath & Veda)
- Context-aware question generation
- Company Intelligence System (Advanced)
- Tier 1: Curated database for 383 unique companies
- Tier 2: Agentic Discovery Memory (
discoveries.json) - Tier 3: Crowdsourced Stealth Registry (
stealth_registry.json) - Self-Learning Layer - FAANG, AI Specialists, Indian Tech, Finance, Consulting, and Global Domains
- Company-specific interview styles and cultural values
- Round-specific focus areas and common topics
- Tier 4: AI fallback for unknown companies
- Fine-Tuned Intelligence (Llama-3-8B)
- Custom LoRA adapters trained on 383-company dataset
- Hybrid Duo Logic: Llama-3 (Architect) + Gemini 2.0 (Communicator)
- Agentic Discovery System (LangGraph v2.2)
- Multi-agent Router-Researcher-Auditor-Architect-Critic workflow
- Dynamic Domain Logic: Prevents 'Role Forcing' on non-tech industries.
- Geographic Guarding: Dedicated router to prevent name collisions across countries.
- The Auditor (The Bouncer): Filters out noise/irrelevant data and verifies identity against JD
- Evergreen Perpetual Freshness: Dynamic temporal anchoring for search queries.
- Stealth Mode Support: Reverse-engineers JDs for private companies.
- Discovery Memory: Persistent learning layer with Consensus Vetting.
- Company-specific simulations
- Difficulty levels (Junior, Mid, Senior)
- Panel interview mode
- Resume-based personalization
- Multi-Round Marathon (Technical -> Behavioral -> Managerial -> Final)
- Executive Scorecard & Analytics (Option C)
- STAR Method Analysis (Situation, Task, Action, Result)
- Vibe Assessment (Confidence, Technical Depth, Assertiveness)
- Cumulative Performance Reports
- Industry-level glassmorphism design
- Animated mesh gradients
- Floating particle effects
- 3D card transforms
- Professional meeting interface
- Compact toolbar design
- Premium button hierarchy
- Shimmer effects and micro-interactions
- Responsive design
- Camera blur fix and state management
- Basic implementation (CURRENT)
- Round-specific evaluation criteria
- Technical depth assessment
- Coding problem integration (optional)
- Behavioral question bank
- STAR method evaluation
- Cultural fit assessment
- Salary negotiation simulation
- Work-life balance discussions
- System design problem generation
- Scalability discussion prompts
- Trade-off analysis evaluation
- Architecture diagram support (future)
- Leadership scenario questions
- Conflict resolution scenarios
- Team management assessment
- Strategic thinking evaluation
- Vision and long-term goals
- Company culture alignment
- Executive presence evaluation
- Offer negotiation simulation
- Healthcare & Medical: Clinical scenarios, patient interaction
- Business & Management: Case studies, market analysis
- Finance & Accounting: Financial modeling, risk assessment
- Creative & Design: Portfolio review, design thinking
- Sales & Marketing: Pitch simulation, objection handling
- Education & Training: Teaching methodology, curriculum design
- Legal: Case analysis, ethical scenarios
- Hospitality & Tourism: Customer service scenarios
- Basic resume parsing
- Resume analysis endpoint
- ATS Score Display in UI
- Gap Analysis Visualization
- Resume Improvement Suggestions UI
- Keyword Matching against JD
- Resume Rewriting Assistant
- Multi-round score aggregation
- Performance trends over time
- Strengths/weaknesses dashboard
- Comparison with industry benchmarks
- Detailed transcript analysis
- Voice tone analysis (pitch, pace, clarity)
- Confidence score tracking
- Basic vibe analysis in evaluation
- Hesitation pattern detection
- Filler word counting (um, uh, like)
- Speaking pace analysis
- Assertiveness scoring
- Body language feedback (if camera enabled)
- 7-Day Learning Roadmap generation
- Failed Topics Identification
- Resource Recommendations (courses, articles, videos)
- Practice Problem Sets
- Retry Interview after learning period
- Personalized study plans
- Progress tracking
- Skill gap analysis
- Mock interview scheduling
- Peer comparison (anonymized)
- User registration/login
- JWT authentication
- User profiles
- Interview history
- Progress tracking
- Subscription management
- Free Tier: 1 interview/2 weeks, basic feedback
- Pro Tier (โน199): Unlimited interviews, JD-tailored questions
- Elite Tier (โน499): Panel mode, 7-day roadmap, vibe analysis
- UPI QR Code Payment - Direct UPI payment (no gateway fees)
- Payment verification system
- Manual subscription activation after payment screenshot
- User selects Pro/Elite tier
- System displays UPI QR Code with amount
- User pays via any UPI app (Google Pay, PhonePe, Paytm)
- User uploads payment screenshot
- Admin verifies payment (manual/automated OCR)
- Subscription activated instantly
- No payment gateway fees - 100% of payment received
- AWS EC2 - FastAPI backend hosting
- AWS Elastic IP - Static IP for backend
- AWS Security Groups - Firewall configuration
- Nginx - Reverse proxy setup
- Gunicorn - WSGI server for FastAPI
- Environment variable management
- SSL/TLS certificates (Let's Encrypt - Free)
- Auto-restart on failure (systemd)
- Current: PostgreSQL (pgAdmin4 - Local development)
- Production: Supabase PostgreSQL (Free tier - 500MB)
- Database migration from local to Supabase
- Connection pooling setup
- Backup strategy (Supabase auto-backup)
- Environment-based DB switching
- Vercel deployment (Free tier)
- GitHub integration for auto-deploy
- Environment variable setup (API URL)
- Custom domain (free .vercel.app subdomain)
- CDN configuration (included)
- Performance optimization
- Analytics setup (Vercel Analytics - Free)
- GitHub - Source control & version management
- GitHub Actions - CI/CD pipeline (Free)
- Automated testing on PR
- Auto-deploy to Vercel on main branch push
- Backend deployment automation
- Database migration scripts
- Monitoring (AWS CloudWatch Free tier)
- Error tracking (Sentry Free tier)
- Voice cloning for more realistic interviewers
- Video avatar generation
- Real-time facial expression analysis
- Multi-language support
- Industry-specific jargon training
- Peer mock interviews
- Mentor review system
- Group interview simulations
- Interview recording playback
- Shareable interview reports
- LinkedIn integration
- Calendar integration (Google/Outlook)
- Slack notifications
- Email reports
- Public API for third-party integrations
- โ Real-time voice recognition for natural conversation
- โ Dynamic AI responses adapting to your answers
- โ Industry-standard UI with professional glassmorphism
- โ Live video feed with camera controls
- โ Minimum 5 questions before evaluation
- โ Multi-persona AI interviewers (Adinath & Veda)
- โ
Company Intelligence System (v2.0)
- โ Curated database for 383 companies (20+ per major domain)
- โ Engineering & Tech: Google, Amazon, Microsoft, Nvidia, Tesla, OpenAI (134 total)
- โ Healthcare & Medical: Pfizer, Mayo Clinic, Johnson & Johnson, Pfizer (22 total)
- โ Finance & Accounting: Goldman Sachs, JPMorgan, Stripe, Coinbase (22 total)
- โ Legal: Kirkland & Ellis, DLA Piper, Latham & Watkins, Clio (22 total)
- โ Construction & Trades: AECOM, Caterpillar, Larsen & Toubro, Vinci (23 total)
- โ Creative & Design: Pixar, DreamWorks, Adobe, Vimeo, SoundCloud (21 total)
- โ Education & Training: Coursera, Udacity, Khan Academy, Duolingo (21 total)
- โ Science & Research: NASA, CERN, Max Planck, Bell Labs, ISRO (22 total)
- โ Social Services: UNICEF, Bill & Melinda Gates Foundation, Red Cross (23 total)
- โ Hospitality & Tourism: Airbnb, Marriott, Expedia, Hilton (21 total)
- โ Business & Management: McKinsey, BCG, Deloitte, Accenture (23 total)
- โ Sales & Marketing: Ogilvy, McCann, Leo Burnett, Dentsu (20 total)
- โ Agentic Intelligence: Multi-agent orchestration for real-time web research with Evergreen Perpetual Freshness.
- โ Stealth Startup Support: AI can "reverse-engineer" company DNA from any Job Description (JD)
- โ Synthetic Logic: Automatic industry-standard fallback if no web data is found
- โ
Permanent Memory: Dynamic profile saving to
discoveries.json
- โ Company-specific simulations (Google, Amazon, etc.)
- โ Adaptive difficulty levels (Junior, Mid-level, Senior)
- โ Panel interview mode with multiple AI personas
- โ Context-aware questioning based on resume and JD
- โ ATS Score calculation (0-100)
- โ Gap analysis vs job descriptions
- โ Strengths & weaknesses identification
- โ Actionable improvement tips
โ ๏ธ UI display pending
- โ No sugarcoating - Direct, professional feedback
- โ Behavioral vibe analysis (confidence, hesitation, assertiveness)
- โ Multi-dimensional scoring
- โ Comprehensive feedback after 5+ questions
- โ Secure JWT-based authentication system
- โ Protected API endpoints and user-specific sessions
- โ SHA-256 + Bcrypt double-hashing for maximum password security
- โ Glassmorphism effects with advanced blur
- โ Animated mesh gradients
- โ 3D card transforms with magnetic hover
- โ Shimmering borders and gradient animations
- โ Professional meeting interface (Zoom/Meet inspired)
- โ Compact 64px toolbar
- โ Shimmer effects on primary buttons
- Python 3.11+
- Node.js 18+
- PostgreSQL 14+
- Gemini API Key (Get one here)
git clone https://github.com/yourusername/interview-prep.git
cd interview-prepcd backend
# Create virtual environment
python -m venv venv
# Activate virtual environment
# Windows:
.\venv\Scripts\activate
# Mac/Linux:
source venv/bin/activate
# Install dependencies
pip install -r requirements.txt
# Create .env file
echo "GEMINI_API_KEY=your_api_key_here" > .env
echo "DATABASE_URL=postgresql://neondb_owner:[pass]@[endpoint].neon.tech/neondb?sslmode=require" >> .env
# Run database migrations (Syncs with Neon Cloud)
alembic upgrade head
# Start the backend server
python main.pyBackend will run on http://127.0.0.1:8000
cd frontend
# Install dependencies
npm install
# Start development server
npm run devFrontend will run on http://localhost:5173
- FastAPI - Modern, fast web framework
- SQLAlchemy - SQL toolkit and ORM
- Alembic - Database migration tool
- PostgreSQL - Robust relational database
- PyPDF - PDF text extraction
- Google Gemini 2.0 Flash - Advanced AI model
- React 18.3 - UI library
- Vite - Next-generation frontend tooling
- Axios - HTTP client
- Vanilla CSS - Custom styling with glassmorphism
- Web Speech API - Voice recognition
- GitHub - Source control & CI/CD
- Vercel - Frontend deployment
- Neon - Serverless PostgreSQL Database (Cloud)
- UPI QR Code - Direct payment (Zero fees)
- Let's Encrypt - SSL certificates (Free)
interview-prep/
โโโ backend/
โ โโโ alembic/ # Database migrations
โ โโโ services/
โ โ โโโ gemini_service.py # AI service layer
โ โ โโโ company_intelligence.py # Company intelligence service (NEW)
โ โโโ data/
โ โ โโโ company_profiles.json # Curated company database (NEW)
โ โโโ models.py # SQLAlchemy models
โ โโโ schemas.py # Pydantic schemas
โ โโโ database.py # Database configuration
โ โโโ round_config.py # Multi-round configuration
โ โโโ main.py # FastAPI application
โ โโโ test_company_intel.py # Company intelligence test script (NEW)
โ โโโ requirements.txt # Python dependencies
โโโ frontend/
โ โโโ src/
โ โ โโโ pages/
โ โ โ โโโ Dashboard.jsx # Main dashboard component
โ โ โ โโโ LandingPage.jsx # Landing page
โ โ โ โโโ Login.jsx # Login/Signup
โ โ โโโ App.css # Setup screen styles
โ โ โโโ Meeting.css # Interview screen styles
โ โ โโโ InterviewerCards.css # Card component styles
โ โโโ index.html # HTML entry point
โ โโโ package.json # Node dependencies
โโโ README.md # This file
http://127.0.0.1:8000
Health check endpoint
Response:
{
"status": "ok",
"version": "1.0.1"
}Start a new interview session
Request Body:
{
"role_category": "Engineering & Tech",
"sub_role": "Full Stack Developer",
"difficulty_level": 1,
"target_company": "Google",
"is_panel": false,
"interviewer_name": "Adinath"
}Response:
{
"id": 1,
"first_question": "Good evening! I am Adinath, simulating a Technical interview..."
}Start interview with resume analysis
Form Data:
file: PDF filerole_category: stringsub_role: stringdifficulty_level: integer (1-3)target_company: string (optional)interviewer_name: string
Response:
{
"id": 1,
"first_question": "...",
"resume_analysis": {
"ats_score": 85,
"strengths": ["Strong technical background", "..."],
"weaknesses": ["Missing cloud certifications", "..."],
"tips": ["Add more quantifiable achievements", "..."]
}
}Submit an answer and get next question or evaluation
Request Body:
{
"interview_id": 1,
"answer": "I have 3 years of experience in full-stack development..."
}Response (Questions 1-4):
{
"evaluation": null,
"next_question": "That's interesting. Can you elaborate on...",
"terminated": false,
"questions_asked": 2
}Response (After 5+ questions):
{
"evaluation": {
"score": 7.5,
"feedback": "Strong technical knowledge but needs more confidence...",
"vibe_analysis": {
"confidence_score": 7,
"hesitation_level": "Medium",
"assertiveness": "Could be more decisive in answers"
},
"can_proceed": true
},
"next_question": null,
"terminated": true,
"questions_asked": 5
}- Navigate to the setup screen
- Choose your interviewer (Adinath or Veda)
- Select your role category (12 categories available)
- Pick a sub-role (specific to your category)
- Set difficulty level (1=Junior, 2=Mid, 3=Senior)
- Optional: Upload resume (PDF) for personalized questions
- Optional: Add target company and job description
- Optional: Enable panel mode for multi-interviewer experience
- Click "ENTER MEETING ROOM"
- Microphone: Auto-enabled for voice input
- Camera: Disabled by default - AI will ask you to enable it
- Voice Recognition: Speak naturally, AI transcribes in real-time
- Submit Response: Click when you've finished your answer
- Leave: Exit the interview at any time
- View your comprehensive evaluation
- See your score out of 10
- Read detailed feedback on your performance
- Get behavioral analysis of your communication style
- Review the complete transcript (future feature)
Create a .env file in the backend directory:
# Required (ONLY PAID SERVICE)
GEMINI_API_KEY=your_gemini_api_key_here
# Database - Development (Local PostgreSQL)
DATABASE_URL=postgresql://user:password@localhost:5432/interviewai
# Database - Production (Supabase - will switch during deployment)
# DATABASE_URL=postgresql://postgres:[password]@db.[project-ref].supabase.co:5432/postgres
# Optional (for future features)
SECRET_KEY=your_secret_key_for_jwt
DEBUG=True
# UPI Payment (FREE - Your UPI ID)
UPI_ID=yourname@paytm
UPI_NAME=Your NameNote: Currently using local PostgreSQL (pgAdmin4). Will migrate to Supabase during deployment phase.
- Gemini API: ~โน0.10 per interview
- Backend: โน0 (Local development)
- Database: โน0 (PostgreSQL via pgAdmin4)
- Frontend: โน0 (Local development)
- Total: ~โน50-100/month for Gemini API
- Gemini API: ~โน0.10 per interview (~โน100-500/month)
- AWS EC2: โน0 (Free tier 12 months), then ~โน500/month (t2.micro)
- Supabase DB: โน0 (Free tier - 500MB, 2GB bandwidth)
- Vercel: โน0 (Free tier)
- SSL Certificates: โน0 (Let's Encrypt)
- GitHub: โน0 (Free for public repos)
- Payment Processing: โน0 (Direct UPI)
- Total Year 1: ~โน100-500/month (Gemini only)
- Total Year 2+: ~โน600-1000/month (Gemini + AWS)
- Free Tier: โน0 (1 interview/2 weeks)
- Pro Tier: โน199/month (Unlimited interviews)
- Elite Tier: โน499/month (All features)
- Break-even: ~3-5 Pro users or 2 Elite users per month
โ ๏ธ Single round only (Technical/Screening)โ ๏ธ No interview history trackingโ ๏ธ Resume analysis not displayed in UIโ ๏ธ No deployment (local only)โ ๏ธ No payment integrationโ ๏ธ No learning roadmap generation
- None currently reported โ
Explore the deeper technical reasoning and project history:
- ๐ Activity Log & Collaborators - Track all major implementations and fixes.
- ๐ง Technical Challenges & Solutions - Deep dive into how we solved complex Agentic problems.
- ๐บ๏ธ Future Roadmap - See where the platform is headed next.
Contributions are welcome! Please follow these steps:
- Fork the repository
- Create a feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Google Gemini Team for the powerful AI model
- FastAPI for the excellent web framework
- React Team for the robust UI library
- Inspired by industry-leading platforms like Zoom, Google Meet, and Linear
For questions or support, please open an issue on GitHub.