# vamsitopnotch/agentic-ai-career-job-matching-assistant architecture

> Architecture diagram of the GitHub repository vamsitopnotch/agentic-ai-career-job-matching-assistant, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-16). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/vamsitopnotch/agentic-ai-career-job-matching-assistant
- Repository: https://github.com/vamsitopnotch/agentic-ai-career-job-matching-assistant

## Overview

This is a career and job-matching backend with a Chainlit interface. A candidate can submit a resume or profile, search and ingest job listings, then receive matching, skill-gap analysis, and recommendations; chat and individually exposed agents provide alternate access. The graph separates API entry points, profile and job processing, agent analysis, and persistence/search infrastructure. Several subsystems are represented from the source tree and SOURCE INDEX rather than inspected excerpts, so their internal links are omitted where ownership is uncertain.

Main entry points: [`backend/app/main.py`](https://github.com/vamsitopnotch/agentic-ai-career-job-matching-assistant/blob/main/backend/app/main.py) (API application), [`backend/app/agents/orchestrator.py`](https://github.com/vamsitopnotch/agentic-ai-career-job-matching-assistant/blob/main/backend/app/agents/orchestrator.py) (Workflow orchestrator), [`backend/app/api/profile_routes.py`](https://github.com/vamsitopnotch/agentic-ai-career-job-matching-assistant/blob/main/backend/app/api/profile_routes.py) (Profile routes), [`backend/app/api/job_routes.py`](https://github.com/vamsitopnotch/agentic-ai-career-job-matching-assistant/blob/main/backend/app/api/job_routes.py) (Job routes)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_api["API and interaction"]
  node_api_app["API application<br/>[main.py]"]
  node_profile_routes["Profile routes<br/>[profile_routes.py]"]
  node_job_routes["Job routes<br/>[job_routes.py]"]
  node_agent_routes["Agent routes<br/>[agent_routes.py]"]
  node_workflow_routes["Workflow routes<br/>[workflow_routes.py]"]
  node_chat_routes["Chat routes<br/>[chat_routes.py]"]
  node_chainlit["Chainlit interface<br/>[app.py]"]
  node_chat_service["Chat service<br/>[chat_service.py]"]
end

subgraph group_profiles["Candidate and jobs"]
  node_resume_parser["Resume parser<br/>[resume_parser.py]"]
  node_profile_agent["Profile normalization<br/>[profile_agent.py]"]
  node_job_ingestion["Job ingestion<br/>[job_ingestion.py]"]
  node_job_search["Job search agent"]
  node_job_matcher["Job matching service<br/>[job_matcher.py]"]
end

subgraph group_analysis["Agent analysis"]
  node_orchestrator["Workflow orchestrator<br/>[orchestrator.py]"]
  node_matching_agent["Matching agent<br/>[matching_agent.py]"]
  node_gap_agent["Skill gap agent<br/>[skill_gap_agent.py]"]
  node_recommend_agent["Recommendation agent"]
  node_resume_improve["Resume improvement"]
  node_job_analysis["Job analysis client"]
end

subgraph group_data["Search and persistence"]
  node_job_repo[("Job repository<br/>[job_repository.py]")]
  node_database[("Database services<br/>[database.py]")]
  node_vector_search["Vector search"]
  node_vector_repo[("Vector repository")]
  node_embedding["Embedding service"]
end

node_candidate(("Candidate"))
node_serpapi["SerpAPI"]
node_agent_service["Job analysis service"]

node_candidate -->|"uploads resume"| node_profile_routes
node_candidate -->|"requests jobs"| node_job_routes
node_candidate -->|"chats with"| node_chat_routes
node_api_app -->|"routes requests"| node_profile_routes
node_api_app -->|"routes requests"| node_job_routes
node_api_app -->|"routes requests"| node_agent_routes
node_api_app -->|"routes requests"| node_workflow_routes
node_api_app -->|"routes requests"| node_chat_routes
node_profile_routes -->|"parses resumes"| node_resume_parser
node_profile_routes -->|"matches profile"| node_job_matcher
node_profile_routes -->|"uses profile agent"| node_profile_agent
node_job_routes -->|"searches jobs"| node_job_search
node_job_routes -->|"ingests jobs"| node_job_ingestion
node_job_routes -->|"matches jobs"| node_job_matcher
node_job_ingestion -->|"fetches listings"| node_serpapi
node_job_ingestion -->|"stores listings"| node_job_repo
node_job_search -->|"reads listings"| node_job_repo
node_job_search -->|"searches listings"| node_serpapi
node_job_matcher -->|"evaluates fit"| node_matching_agent
node_workflow_routes -->|"runs workflow"| node_orchestrator
node_agent_routes -->|"runs workflow"| node_orchestrator
node_orchestrator -->|"assesses matches"| node_matching_agent
node_orchestrator -->|"analyzes gaps"| node_gap_agent
node_orchestrator -->|"builds recommendations"| node_recommend_agent
node_orchestrator -->|"analyzes jobs"| node_job_analysis
node_job_analysis -->|"calls service"| node_agent_service
node_chat_routes -->|"handles messages"| node_chat_service
node_job_repo -->|"opens connections"| node_database
node_vector_search -->|"queries vectors"| node_vector_repo
node_vector_search -->|"creates embeddings"| node_embedding
node_vector_repo -->|"uses database"| node_database
node_chainlit -.->|"uses API"| node_api_app

click node_api_app "https://github.com/vamsitopnotch/agentic-ai-career-job-matching-assistant/blob/main/backend/app/main.py"
click node_profile_routes "https://github.com/vamsitopnotch/agentic-ai-career-job-matching-assistant/blob/main/backend/app/api/profile_routes.py"
click node_job_routes "https://github.com/vamsitopnotch/agentic-ai-career-job-matching-assistant/blob/main/backend/app/api/job_routes.py"
click node_agent_routes "https://github.com/vamsitopnotch/agentic-ai-career-job-matching-assistant/blob/main/backend/app/api/agent_routes.py"
click node_workflow_routes "https://github.com/vamsitopnotch/agentic-ai-career-job-matching-assistant/blob/main/backend/app/api/workflow_routes.py"
click node_chat_routes "https://github.com/vamsitopnotch/agentic-ai-career-job-matching-assistant/blob/main/backend/app/api/chat_routes.py"
click node_chainlit "https://github.com/vamsitopnotch/agentic-ai-career-job-matching-assistant/blob/main/chainlit/app.py"
click node_resume_parser "https://github.com/vamsitopnotch/agentic-ai-career-job-matching-assistant/blob/main/backend/app/services/resume_parser.py"
click node_profile_agent "https://github.com/vamsitopnotch/agentic-ai-career-job-matching-assistant/blob/main/backend/app/agents/profile_agent.py"
click node_job_ingestion "https://github.com/vamsitopnotch/agentic-ai-career-job-matching-assistant/blob/main/backend/app/services/job_ingestion.py"
click node_job_search "https://github.com/vamsitopnotch/agentic-ai-career-job-matching-assistant/blob/main/backend/app/agents/job_search_agent.py"
click node_job_matcher "https://github.com/vamsitopnotch/agentic-ai-career-job-matching-assistant/blob/main/backend/app/services/job_matcher.py"
click node_orchestrator "https://github.com/vamsitopnotch/agentic-ai-career-job-matching-assistant/blob/main/backend/app/agents/orchestrator.py"
click node_matching_agent "https://github.com/vamsitopnotch/agentic-ai-career-job-matching-assistant/blob/main/backend/app/agents/matching_agent.py"
click node_gap_agent "https://github.com/vamsitopnotch/agentic-ai-career-job-matching-assistant/blob/main/backend/app/agents/skill_gap_agent.py"
click node_recommend_agent "https://github.com/vamsitopnotch/agentic-ai-career-job-matching-assistant/blob/main/backend/app/agents/recommendation_agent.py"
click node_resume_improve "https://github.com/vamsitopnotch/agentic-ai-career-job-matching-assistant/blob/main/backend/app/agents/resume_improvement_agent.py"
click node_job_analysis "https://github.com/vamsitopnotch/agentic-ai-career-job-matching-assistant/blob/main/backend/app/agents/job_analysis_client.py"
click node_job_repo "https://github.com/vamsitopnotch/agentic-ai-career-job-matching-assistant/blob/main/backend/app/repositories/job_repository.py"
click node_database "https://github.com/vamsitopnotch/agentic-ai-career-job-matching-assistant/blob/main/backend/app/core/database.py"
click node_vector_search "https://github.com/vamsitopnotch/agentic-ai-career-job-matching-assistant/blob/main/backend/app/services/vector_search_service.py"
click node_vector_repo "https://github.com/vamsitopnotch/agentic-ai-career-job-matching-assistant/blob/main/backend/app/repositories/vector_repository.py"
click node_embedding "https://github.com/vamsitopnotch/agentic-ai-career-job-matching-assistant/blob/main/backend/app/services/embedding_service.py"
click node_chat_service "https://github.com/vamsitopnotch/agentic-ai-career-job-matching-assistant/blob/main/backend/app/services/chat_service.py"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_api_app,node_profile_routes,node_job_routes,node_agent_routes,node_workflow_routes,node_chat_routes,node_chainlit,node_chat_service toneBlue
class node_resume_parser,node_profile_agent,node_job_ingestion,node_job_search,node_job_matcher toneAmber
class node_orchestrator,node_matching_agent,node_gap_agent,node_recommend_agent,node_resume_improve,node_job_analysis,node_serpapi toneMint
class node_job_repo,node_database,node_vector_search,node_vector_repo,node_embedding toneRose
class node_candidate,node_agent_service toneIndigo
```

## Components

### API and interaction

- [API application](https://github.com/vamsitopnotch/agentic-ai-career-job-matching-assistant/blob/main/backend/app/main.py): `backend/app/main.py`
- [Profile routes](https://github.com/vamsitopnotch/agentic-ai-career-job-matching-assistant/blob/main/backend/app/api/profile_routes.py): `backend/app/api/profile_routes.py`
- [Job routes](https://github.com/vamsitopnotch/agentic-ai-career-job-matching-assistant/blob/main/backend/app/api/job_routes.py): `backend/app/api/job_routes.py`
- [Agent routes](https://github.com/vamsitopnotch/agentic-ai-career-job-matching-assistant/blob/main/backend/app/api/agent_routes.py): `backend/app/api/agent_routes.py`
- [Workflow routes](https://github.com/vamsitopnotch/agentic-ai-career-job-matching-assistant/blob/main/backend/app/api/workflow_routes.py): `backend/app/api/workflow_routes.py`
- [Chat routes](https://github.com/vamsitopnotch/agentic-ai-career-job-matching-assistant/blob/main/backend/app/api/chat_routes.py): `backend/app/api/chat_routes.py`
- [Chainlit interface](https://github.com/vamsitopnotch/agentic-ai-career-job-matching-assistant/blob/main/chainlit/app.py): `chainlit/app.py`
- [Chat service](https://github.com/vamsitopnotch/agentic-ai-career-job-matching-assistant/blob/main/backend/app/services/chat_service.py): `backend/app/services/chat_service.py`

### Candidate and jobs

- [Resume parser](https://github.com/vamsitopnotch/agentic-ai-career-job-matching-assistant/blob/main/backend/app/services/resume_parser.py): `backend/app/services/resume_parser.py`
- [Profile normalization](https://github.com/vamsitopnotch/agentic-ai-career-job-matching-assistant/blob/main/backend/app/agents/profile_agent.py): `backend/app/agents/profile_agent.py`
- [Job ingestion](https://github.com/vamsitopnotch/agentic-ai-career-job-matching-assistant/blob/main/backend/app/services/job_ingestion.py): `backend/app/services/job_ingestion.py`
- [Job search agent](https://github.com/vamsitopnotch/agentic-ai-career-job-matching-assistant/blob/main/backend/app/agents/job_search_agent.py): `backend/app/agents/job_search_agent.py`
- [Job matching service](https://github.com/vamsitopnotch/agentic-ai-career-job-matching-assistant/blob/main/backend/app/services/job_matcher.py): `backend/app/services/job_matcher.py`

### Agent analysis

- [Workflow orchestrator](https://github.com/vamsitopnotch/agentic-ai-career-job-matching-assistant/blob/main/backend/app/agents/orchestrator.py): `backend/app/agents/orchestrator.py`
- [Matching agent](https://github.com/vamsitopnotch/agentic-ai-career-job-matching-assistant/blob/main/backend/app/agents/matching_agent.py): `backend/app/agents/matching_agent.py`
- [Skill gap agent](https://github.com/vamsitopnotch/agentic-ai-career-job-matching-assistant/blob/main/backend/app/agents/skill_gap_agent.py): `backend/app/agents/skill_gap_agent.py`
- [Recommendation agent](https://github.com/vamsitopnotch/agentic-ai-career-job-matching-assistant/blob/main/backend/app/agents/recommendation_agent.py): `backend/app/agents/recommendation_agent.py`
- [Resume improvement](https://github.com/vamsitopnotch/agentic-ai-career-job-matching-assistant/blob/main/backend/app/agents/resume_improvement_agent.py): `backend/app/agents/resume_improvement_agent.py`
- [Job analysis client](https://github.com/vamsitopnotch/agentic-ai-career-job-matching-assistant/blob/main/backend/app/agents/job_analysis_client.py): `backend/app/agents/job_analysis_client.py`

### Search and persistence

- [Job repository](https://github.com/vamsitopnotch/agentic-ai-career-job-matching-assistant/blob/main/backend/app/repositories/job_repository.py): `backend/app/repositories/job_repository.py`
- [Database services](https://github.com/vamsitopnotch/agentic-ai-career-job-matching-assistant/blob/main/backend/app/core/database.py): `backend/app/core/database.py`
- [Vector search](https://github.com/vamsitopnotch/agentic-ai-career-job-matching-assistant/blob/main/backend/app/services/vector_search_service.py): `backend/app/services/vector_search_service.py`
- [Vector repository](https://github.com/vamsitopnotch/agentic-ai-career-job-matching-assistant/blob/main/backend/app/repositories/vector_repository.py): `backend/app/repositories/vector_repository.py`
- [Embedding service](https://github.com/vamsitopnotch/agentic-ai-career-job-matching-assistant/blob/main/backend/app/services/embedding_service.py): `backend/app/services/embedding_service.py`

### Other components

- **Candidate**
- **SerpAPI**
- **Job analysis service**

## Connections

- Candidate → Profile routes: uploads resume (evidence: `backend/app/api/profile_routes.py`)
- Candidate → Job routes: requests jobs (evidence: `backend/app/api/job_routes.py`)
- Candidate → Chat routes: chats with (evidence: `backend/app/api/chat_routes.py`)
- API application → Profile routes: routes requests (evidence: `backend/app/main.py`)
- API application → Job routes: routes requests (evidence: `backend/app/main.py`)
- API application → Agent routes: routes requests (evidence: `backend/app/main.py`)
- API application → Workflow routes: routes requests (evidence: `backend/app/main.py`)
- API application → Chat routes: routes requests (evidence: `backend/app/main.py`)
- Profile routes → Resume parser: parses resumes (evidence: `backend/app/api/profile_routes.py`)
- Profile routes → Job matching service: matches profile (evidence: `backend/app/api/profile_routes.py`)
- Profile routes → Profile normalization: uses profile agent (evidence: `backend/app/api/profile_routes.py`)
- Job routes → Job search agent: searches jobs (evidence: `backend/app/api/job_routes.py`)
- Job routes → Job ingestion: ingests jobs (evidence: `backend/app/api/job_routes.py`)
- Job routes → Job matching service: matches jobs (evidence: `backend/app/api/job_routes.py`)
- Job ingestion → SerpAPI: fetches listings (evidence: `backend/app/services/job_ingestion.py`)
- Job ingestion → Job repository: stores listings (evidence: `backend/app/services/job_ingestion.py`)
- Job search agent → Job repository: reads listings (evidence: `backend/app/agents/job_search_agent.py`)
- Job search agent → SerpAPI: searches listings (evidence: `backend/app/agents/job_search_agent.py`)
- Job matching service → Matching agent: evaluates fit (evidence: `backend/app/services/job_matcher.py`)
- Workflow routes → Workflow orchestrator: runs workflow (evidence: `backend/app/api/workflow_routes.py`)
- Agent routes → Workflow orchestrator: runs workflow (evidence: `backend/app/api/agent_routes.py`)
- Workflow orchestrator → Matching agent: assesses matches (evidence: `backend/app/agents/orchestrator.py`)
- Workflow orchestrator → Skill gap agent: analyzes gaps (evidence: `backend/app/agents/orchestrator.py`)
- Workflow orchestrator → Recommendation agent: builds recommendations (evidence: `backend/app/agents/orchestrator.py`)
- Workflow orchestrator → Job analysis client: analyzes jobs (evidence: `backend/app/agents/orchestrator.py`)
- Job analysis client → Job analysis service: calls service (evidence: `backend/app/agents/job_analysis_client.py`)
- Chat routes → Chat service: handles messages (evidence: `backend/app/api/chat_routes.py`)
- Job repository → Database services: opens connections (evidence: `backend/app/repositories/job_repository.py`)
- Vector search → Vector repository: queries vectors (evidence: `backend/app/services/vector_search_service.py`)
- Vector search → Embedding service: creates embeddings (evidence: `backend/app/services/vector_search_service.py`)
- Vector repository → Database services: uses database (evidence: `backend/app/repositories/vector_repository.py`)
- Chainlit interface → API application: uses API
