How abhi986shek/job-search-agent works
Job Search and CV Agent is a local-first job-search and application assistant. The principal flow is profile intake, job discovery, matching and grouping, then user-reviewed CV tailoring and outreach; a separate assistant supports read-only exploration. The Streamlit frontend calls the FastAPI backend, whose routes delegate to services and persist state in SQLite. The README documents additional source integrations and user-facing capabilities. Some service and view files were not sampled, so their internal call paths are not inferred beyond documented relationships.
Main entry points: app.py Page navigation · api_client.py HTTP client · routes.py HTTP routes · db SQLite data access
Components 27
Streamlit interface
- Page navigation
frontend/app.py - Profile inputs
frontend/views/profile.py - Target roles
frontend/views/roles.py - Job search
frontend/views/search.py - Saved jobs
frontend/views/jobs.py - Matches and CVs
frontend/views/matches.py - Outreach
frontend/views/outreach.py - Assistant
frontend/views/assistant.py - HTTP client
frontend/api_client.py
Backend API
- FastAPI entry
job_agent/app.py - HTTP routes
job_agent/routes.py - Request schemas
job_agent/schemas.py
Profile and matching
- Profile intake
job_agent/services/profile_service.py - Job matching
job_agent/services/match_service.py - O*NET mapping
job_agent/onet.py
Job discovery
- Search orchestration
job_agent/services/search_service.py - Job source clients
job_agent/clients - PredictLeads client
job_agent/clients/predictleads.py
CV and outreach
- CV tailoring
job_agent/services/cv_service.py - CV rendering
job_agent/cv_render.py - Outreach workflow
job_agent/services/outreach_service.py - Mail and contacts
job_agent/clients
Shared runtime
- Chat agent
job_agent/agent.py - Bedrock LLM
job_agent/llm.py - Runtime settings
job_agent/config.py - SQLite data access
job_agent/db
Other components
- User
Connections 40
- User → Page navigation: uses
README.md - Page navigation → Profile inputs: navigates
frontend/app.py - Page navigation → Target roles: navigates
frontend/app.py - Page navigation → Job search: navigates
frontend/app.py - Page navigation → Saved jobs: navigates
frontend/app.py - Page navigation → Matches and CVs: navigates
frontend/app.py - Page navigation → Outreach: navigates
frontend/app.py - Page navigation → Assistant: navigates
frontend/app.py - Profile inputs → HTTP client: requests
README.md - Target roles → HTTP client: requests
README.md - Job search → HTTP client: requests
README.md - Saved jobs → HTTP client: requests
README.md - Matches and CVs → HTTP client: requests
README.md - Outreach → HTTP client: requests
README.md - Assistant → HTTP client: requests
README.md - HTTP client → FastAPI entry: HTTP calls
README.md - FastAPI entry → HTTP routes: mounts
job_agent/app.py - FastAPI entry → SQLite data access: initializes
job_agent/app.py - FastAPI entry → Outreach workflow: checks replies
job_agent/app.py - HTTP routes → Search orchestration: delegates
job_agent/routes.py - HTTP routes → Profile intake: delegates
job_agent/routes.py - HTTP routes → Job matching: delegates
job_agent/routes.py - HTTP routes → CV tailoring: delegates
job_agent/routes.py - HTTP routes → Outreach workflow: delegates
job_agent/routes.py - Search orchestration → Job source clients: queries
job_agent/services/search_service.py - Search orchestration → PredictLeads client: queries
job_agent/services/search_service.py - Search orchestration → O*NET mapping: suggests codes
job_agent/services/search_service.py - Search orchestration → SQLite data access: stores results
job_agent/services/search_service.py - Profile intake → SQLite data access: reads and saves
job_agent/services/profile_service.py - Profile intake → Bedrock LLM: builds profile
job_agent/services/profile_service.py - Profile intake → O*NET mapping: maps roles
job_agent/services/profile_service.py - Job matching → SQLite data access: reads and saves
- CV tailoring → SQLite data access: reads and saves
- CV tailoring → CV rendering: renders CV
- Outreach workflow → Mail and contacts: sends and checks
job_agent/services/outreach_service.py - Outreach workflow → SQLite data access: manages threads
job_agent/services/outreach_service.py - Outreach workflow → Bedrock LLM: drafts messages
job_agent/services/outreach_service.py - Chat agent → Bedrock LLM: uses model
- Chat agent → SQLite data access: reads history
- Runtime settings → Bedrock LLM: configures
job_agent/llm.py