How sumitlakhera/ai-job-agent works
AI Job Agent is a resume-to-job fit application. Candidates upload a PDF, review extracted skills, experience and projects, then search by role and location for ranked opportunities with match scores, skill gaps and explanations. The frontend calls Flask endpoints; the backend parses resumes and fetches and evaluates jobs. The README documents several capabilities whose internal wiring is not fully shown in the excerpts, so those relationships are attributed to the README. Job processing is concentrated in one service, so its distinct responsibilities share that source path.
Main entry points: job_service.py Job search and retrieval · App.js Resume and job UI · resume_service.py Resume insight extraction · job_routes.py Job endpoint
Components 17
Candidate interface
- Resume and job UI
frontend/src/App.js - Ranked opportunities
frontend/src/App.js
API entry points
- Resume endpoint
backend/routes/resume_routes.py - Job endpoint
backend/routes/job_routes.py - Flask app
backend/app.py
Resume processing
- PDF text extraction
backend/utils/pdf_parser.py - Resume insight extraction
backend/services/resume_service.py - Resume cache
backend/resume_cache.json
Job evaluation
- Job search and retrieval
backend/services/job_service.py - Job cache
backend/job_cache.json - Job skill extraction
backend/services/job_service.py - Skill and fit matching
backend/services/job_service.py - Fit explanations
backend/services/job_service.py - Application email drafts
backend/services/job_service.py
Other components
- Candidate
- Groq API
- SerpAPI
Connections 19
- Candidate → Resume and job UI: uploads and searches
README.md - Resume and job UI → Resume endpoint: posts PDF
frontend/src/App.js - Resume and job UI → Job endpoint: requests jobs
frontend/src/App.js - Flask app → Resume endpoint: registers route
backend/app.py - Flask app → Job endpoint: registers route
backend/app.py - Resume endpoint → Resume insight extraction: calls parser
backend/routes/resume_routes.py - Resume insight extraction → PDF text extraction: extracts text
backend/services/resume_service.py - Resume insight extraction → Groq API: requests structured data
backend/services/resume_service.py - Resume insight extraction → Resume cache: writes insights
backend/services/resume_service.py - Job endpoint → Job search and retrieval: fetches jobs
backend/routes/job_routes.py - Job search and retrieval → SerpAPI: fetches listings
backend/services/job_service.py - Job search and retrieval → Job cache: reads and writes cache
backend/services/job_service.py - Job search and retrieval → Job skill extraction: extracts requirements
README.md - Job search and retrieval → Skill and fit matching: compares resume skills
README.md - Skill and fit matching → Fit explanations: informs fit insights
README.md - Job search and retrieval → Groq API: generates insights
backend/services/job_service.py - Fit explanations → Application email drafts: supports tailored drafts
backend/services/job_service.py - Job endpoint → Ranked opportunities: returns ranked matches
README.md - Resume and job UI → Ranked opportunities: displays results
frontend/src/App.js