How kalyanmadhunala-labs/job-search-agent works
AI Job Search Agent accepts natural-language job searches through a REST API or CLI, then returns structured, ranked listings and career advice. Its LangGraph workflow parses intent, plans and executes web searches, extracts job listings and skills, matches and ranks listings against optional resume skills, and loops for more searches when results are insufficient. The graph also shows the resume parser, shared state, configuration, and external LLM and search integrations. Workflow relationships follow the README and graph wiring; sampled excerpts provide evidence for API, parser, and tool calls.
Main entry points: graph.py Agent Runner · nodes.py Plan Searches · search.py Tavily Search · demo.py CLI Demo
Components 18
User Interfaces
- CLI Demo
demo.py - REST API
src/api.py - Search Response
src/api.py
Agent Workflow
- Agent Runner
src/agents/graph.py - Agent State
src/agents/state.py - Parse Query
src/agents/nodes.py - Plan Searches
src/agents/nodes.py - Execute Searches
src/agents/nodes.py - Extract Jobs
src/agents/nodes.py
Personalized Analysis
- Extract Skills
src/agents/nodes.py - Rank Results
src/agents/nodes.py - Generate Summary
src/agents/nodes.py - Resume Parser
src/utils/resume_parser.py
Models and Services
- Configuration
src/config/settings.py - OpenAI LLM
- Tavily Search
src/tools/search.py
Other components
- Job Seeker
- Job Listing Websites
Connections 25
- Job Seeker → REST API: submits search
README.md - Job Seeker → CLI Demo: runs search
README.md - REST API → Agent Runner: runs agent
src/api.py - CLI Demo → Agent Runner: runs agent
demo.py - Agent Runner → Resume Parser: parses resume
src/agents/graph.py - Agent Runner → Agent State: initializes state
src/agents/graph.py - Agent Runner → Parse Query: starts workflow
src/agents/graph.py - Parse Query → Plan Searches: passes intent
README.md - Plan Searches → Execute Searches: passes queries
README.md - Execute Searches → Extract Jobs: passes results
README.md - Extract Jobs → Extract Skills: passes listings
README.md - Extract Skills → Rank Results: passes skills
README.md - Rank Results → Plan Searches: replans if needed
src/agents/graph.py - Rank Results → Generate Summary: continues when ready
src/agents/graph.py - Execute Searches → Tavily Search: calls search
src/agents/nodes.py - Tavily Search → Job Listing Websites: searches listings
README.md - Parse Query → OpenAI LLM: extracts intent
README.md - Plan Searches → OpenAI LLM: plans queries
README.md - Extract Jobs → OpenAI LLM: structures listings
README.md - Generate Summary → OpenAI LLM: generates advice
src/agents/nodes.py - Resume Parser → Rank Results: provides skills
src/agents/graph.py - Tavily Search → Configuration: reads credentials and domains
src/tools/search.py - OpenAI LLM → Configuration: uses model settings
- Agent Runner → Search Response: returns results
src/api.py - Search Response → Job Seeker: delivers recommendations
README.md