# vanrajsinh650/autobot architecture

> Architecture diagram of the GitHub repository vanrajsinh650/autobot, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-28). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/vanrajsinh650/autobot
- Repository: https://github.com/vanrajsinh650/autobot

## Overview

AutoBot is a job-discovery, resume-matching, and application-automation system. Its principal workflow starts with a user-configured search, discovers LinkedIn opportunities, filters and scores them against a candidate profile, routes qualifying jobs to an application path, and tracks results. Supporting branches include ATS board discovery, candidate-profile ingestion and semantic retrieval, and the web cockpit. Several connections are supported by the README or source-index references; unsampled implementation details are not assumed.

Main entry points: [`src/browser/live_search.py`](https://github.com/vanrajsinh650/autobot/blob/main/src/browser/live_search.py) (LinkedIn search), [`src/web/routes.py`](https://github.com/vanrajsinh650/autobot/blob/main/src/web/routes.py) (Web API), [`src/storage/db.py`](https://github.com/vanrajsinh650/autobot/blob/main/src/storage/db.py) (SQLite records), [`src/agent/graph.py`](https://github.com/vanrajsinh650/autobot/blob/main/src/agent/graph.py) (Workflow graph)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_interface["User Interface"]
  node_dashboard["Web dashboard<br/>[app.js]"]
  node_api["Web API<br/>[routes.py]"]
  node_server["HTTP server<br/>[server.py]"]
end

subgraph group_control["Run Orchestration"]
  node_main["Application entry<br/>[main.py]"]
  node_agent["Workflow graph<br/>[graph.py]"]
  node_agent_nodes["Workflow steps"]
end

subgraph group_discovery["Job Discovery"]
  node_live_search["LinkedIn search<br/>[live_search.py]"]
  node_browser_manager["Browser manager<br/>[manager.py]"]
  node_popup["Popup handling<br/>[popup_handler.py]"]
  node_apply_extractor["Apply-link extraction"]
  node_career_resolver["Career URL resolution"]
  node_board_registry["ATS board registry<br/>[registry.py]"]
  node_board_adapters["ATS adapters"]
  node_job_models["Normalized jobs<br/>[models.py]"]
end

subgraph group_candidate["Candidate Intelligence"]
  node_resume_ingestion["Profile ingestion<br/>[pipeline.py]"]
  node_resume_parser["Resume parser<br/>[resume_parser.py]"]
  node_embedder["Profile embedder<br/>[embedder.py]"]
  node_retriever["Semantic retrieval<br/>[retriever.py]"]
  node_keyword_expansion["Search expansion"]
  node_evaluator["Fit evaluator<br/>[evaluator.py]"]
  node_eligibility["Eligibility gates<br/>[eligibility.py]"]
  node_scorer["Match scoring<br/>[scorer.py]"]
end

subgraph group_apply["Application And Records"]
  node_portal_applicator["Portal application"]
  node_easy_apply["Easy Apply actuator"]
  node_db[("SQLite records<br/>[db.py]")]
end

node_user(("Job seeker"))
node_vector_db[("Qdrant")]
node_external_ats["External ATS"]

node_user -->|"configures run"| node_dashboard
node_dashboard -->|"submits search"| node_api
node_main -->|"starts server"| node_server
node_server -->|"registers routes"| node_api
node_api -->|"invokes workflow"| node_agent
node_api -->|"starts ingestion"| node_resume_ingestion
node_api -->|"starts applications"| node_portal_applicator
node_agent -->|"dispatches steps"| node_agent_nodes
node_agent -->|"uses retrieval"| node_retriever
node_agent -->|"records workflow"| node_db
node_live_search -->|"controls browser"| node_browser_manager
node_live_search -->|"dismisses overlays"| node_popup
node_live_search -->|"extracts apply links"| node_apply_extractor
node_live_search -->|"resolves careers URLs"| node_career_resolver
node_live_search -->|"expands queries"| node_keyword_expansion
node_live_search -->|"evaluates jobs"| node_evaluator
node_live_search -->|"stores discoveries"| node_db
node_browser_manager -.->|"automates browser"| node_external_ats
node_board_registry -->|"selects adapters"| node_board_adapters
node_board_registry -->|"resolves board URLs"| node_career_resolver
node_board_adapters -->|"normalizes jobs"| node_job_models
node_resume_ingestion -->|"parses resume"| node_resume_parser
node_resume_ingestion -->|"indexes chunks"| node_embedder
node_embedder -->|"writes vectors"| node_vector_db
node_retriever -->|"queries vectors"| node_vector_db
node_retriever -->|"creates query vectors"| node_embedder
node_evaluator -->|"checks eligibility"| node_eligibility
node_evaluator -->|"computes score"| node_scorer
node_evaluator -->|"stores evaluation"| node_db
node_portal_applicator -->|"fills application"| node_external_ats
node_easy_apply -.->|"records outcome"| node_db
node_portal_applicator -.->|"records outcome"| node_db

click node_dashboard "https://github.com/vanrajsinh650/autobot/blob/main/src/web/static/app.js"
click node_api "https://github.com/vanrajsinh650/autobot/blob/main/src/web/routes.py"
click node_server "https://github.com/vanrajsinh650/autobot/blob/main/src/web/server.py"
click node_main "https://github.com/vanrajsinh650/autobot/blob/main/main.py"
click node_agent "https://github.com/vanrajsinh650/autobot/blob/main/src/agent/graph.py"
click node_agent_nodes "https://github.com/vanrajsinh650/autobot/tree/main/src/agent/nodes"
click node_live_search "https://github.com/vanrajsinh650/autobot/blob/main/src/browser/live_search.py"
click node_browser_manager "https://github.com/vanrajsinh650/autobot/blob/main/src/browser/manager.py"
click node_popup "https://github.com/vanrajsinh650/autobot/blob/main/src/browser/popup_handler.py"
click node_apply_extractor "https://github.com/vanrajsinh650/autobot/blob/main/src/browser/linkedin_apply_extractor.py"
click node_career_resolver "https://github.com/vanrajsinh650/autobot/blob/main/src/browser/company_careers_resolver.py"
click node_board_registry "https://github.com/vanrajsinh650/autobot/blob/main/src/discovery/registry.py"
click node_board_adapters "https://github.com/vanrajsinh650/autobot/tree/main/src/discovery/adapters"
click node_job_models "https://github.com/vanrajsinh650/autobot/blob/main/src/discovery/models.py"
click node_resume_ingestion "https://github.com/vanrajsinh650/autobot/blob/main/src/ingestion/pipeline.py"
click node_resume_parser "https://github.com/vanrajsinh650/autobot/blob/main/src/ingestion/resume_parser.py"
click node_embedder "https://github.com/vanrajsinh650/autobot/blob/main/src/ingestion/embedder.py"
click node_retriever "https://github.com/vanrajsinh650/autobot/blob/main/src/memory/retriever.py"
click node_keyword_expansion "https://github.com/vanrajsinh650/autobot/blob/main/src/matching/keyword_expansion.py"
click node_evaluator "https://github.com/vanrajsinh650/autobot/blob/main/src/matching/evaluator.py"
click node_eligibility "https://github.com/vanrajsinh650/autobot/blob/main/src/matching/eligibility.py"
click node_scorer "https://github.com/vanrajsinh650/autobot/blob/main/src/matching/scorer.py"
click node_portal_applicator "https://github.com/vanrajsinh650/autobot/blob/main/src/browser/portal_applicator.py"
click node_easy_apply "https://github.com/vanrajsinh650/autobot/blob/main/src/browser/easy_apply_actuator.py"
click node_db "https://github.com/vanrajsinh650/autobot/blob/main/src/storage/db.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_dashboard,node_api,node_server toneBlue
class node_main,node_agent,node_agent_nodes,node_vector_db toneAmber
class node_live_search,node_browser_manager,node_popup,node_apply_extractor,node_career_resolver,node_board_registry,node_board_adapters,node_job_models toneMint
class node_resume_ingestion,node_resume_parser,node_embedder,node_retriever,node_keyword_expansion,node_evaluator,node_eligibility,node_scorer toneRose
class node_portal_applicator,node_easy_apply,node_db,node_user,node_external_ats toneIndigo
```

## Components

### User Interface

- [Web dashboard](https://github.com/vanrajsinh650/autobot/blob/main/src/web/static/app.js): `src/web/static/app.js`
- [Web API](https://github.com/vanrajsinh650/autobot/blob/main/src/web/routes.py): `src/web/routes.py`
- [HTTP server](https://github.com/vanrajsinh650/autobot/blob/main/src/web/server.py): `src/web/server.py`

### Run Orchestration

- [Application entry](https://github.com/vanrajsinh650/autobot/blob/main/main.py): `main.py`
- [Workflow graph](https://github.com/vanrajsinh650/autobot/blob/main/src/agent/graph.py): `src/agent/graph.py`
- [Workflow steps](https://github.com/vanrajsinh650/autobot/tree/main/src/agent/nodes): `src/agent/nodes`

### Job Discovery

- [LinkedIn search](https://github.com/vanrajsinh650/autobot/blob/main/src/browser/live_search.py): `src/browser/live_search.py`
- [Browser manager](https://github.com/vanrajsinh650/autobot/blob/main/src/browser/manager.py): `src/browser/manager.py`
- [Popup handling](https://github.com/vanrajsinh650/autobot/blob/main/src/browser/popup_handler.py): `src/browser/popup_handler.py`
- [Apply-link extraction](https://github.com/vanrajsinh650/autobot/blob/main/src/browser/linkedin_apply_extractor.py): `src/browser/linkedin_apply_extractor.py`
- [Career URL resolution](https://github.com/vanrajsinh650/autobot/blob/main/src/browser/company_careers_resolver.py): `src/browser/company_careers_resolver.py`
- [ATS board registry](https://github.com/vanrajsinh650/autobot/blob/main/src/discovery/registry.py): `src/discovery/registry.py`
- [ATS adapters](https://github.com/vanrajsinh650/autobot/tree/main/src/discovery/adapters): `src/discovery/adapters`
- [Normalized jobs](https://github.com/vanrajsinh650/autobot/blob/main/src/discovery/models.py): `src/discovery/models.py`

### Candidate Intelligence

- [Profile ingestion](https://github.com/vanrajsinh650/autobot/blob/main/src/ingestion/pipeline.py): `src/ingestion/pipeline.py`
- [Resume parser](https://github.com/vanrajsinh650/autobot/blob/main/src/ingestion/resume_parser.py): `src/ingestion/resume_parser.py`
- [Profile embedder](https://github.com/vanrajsinh650/autobot/blob/main/src/ingestion/embedder.py): `src/ingestion/embedder.py`
- [Semantic retrieval](https://github.com/vanrajsinh650/autobot/blob/main/src/memory/retriever.py): `src/memory/retriever.py`
- [Search expansion](https://github.com/vanrajsinh650/autobot/blob/main/src/matching/keyword_expansion.py): `src/matching/keyword_expansion.py`
- [Fit evaluator](https://github.com/vanrajsinh650/autobot/blob/main/src/matching/evaluator.py): `src/matching/evaluator.py`
- [Eligibility gates](https://github.com/vanrajsinh650/autobot/blob/main/src/matching/eligibility.py): `src/matching/eligibility.py`
- [Match scoring](https://github.com/vanrajsinh650/autobot/blob/main/src/matching/scorer.py): `src/matching/scorer.py`

### Application And Records

- [Portal application](https://github.com/vanrajsinh650/autobot/blob/main/src/browser/portal_applicator.py): `src/browser/portal_applicator.py`
- [Easy Apply actuator](https://github.com/vanrajsinh650/autobot/blob/main/src/browser/easy_apply_actuator.py): `src/browser/easy_apply_actuator.py`
- [SQLite records](https://github.com/vanrajsinh650/autobot/blob/main/src/storage/db.py): `src/storage/db.py`

### Other components

- **Job seeker**
- **Qdrant**
- **External ATS**

## Connections

- Job seeker → Web dashboard: configures run (evidence: `README.md`)
- Web dashboard → Web API: submits search (evidence: `README.md`)
- Application entry → HTTP server: starts server (evidence: `main.py`)
- HTTP server → Web API: registers routes (evidence: `src/web/server.py`)
- Web API → Workflow graph: invokes workflow (evidence: `src/web/routes.py`)
- Web API → Profile ingestion: starts ingestion (evidence: `src/web/routes.py`)
- Web API → Portal application: starts applications (evidence: `src/web/routes.py`)
- Workflow graph → Workflow steps: dispatches steps (evidence: `src/agent/graph.py`)
- Workflow graph → Semantic retrieval: uses retrieval (evidence: `src/agent/graph.py`)
- Workflow graph → SQLite records: records workflow (evidence: `src/agent/graph.py`)
- LinkedIn search → Browser manager: controls browser (evidence: `src/browser/live_search.py`)
- LinkedIn search → Popup handling: dismisses overlays (evidence: `src/browser/live_search.py`)
- LinkedIn search → Apply-link extraction: extracts apply links (evidence: `src/browser/live_search.py`)
- LinkedIn search → Career URL resolution: resolves careers URLs (evidence: `src/browser/live_search.py`)
- LinkedIn search → Search expansion: expands queries (evidence: `src/browser/live_search.py`)
- LinkedIn search → Fit evaluator: evaluates jobs (evidence: `src/browser/live_search.py`)
- LinkedIn search → SQLite records: stores discoveries (evidence: `src/browser/live_search.py`)
- Browser manager → External ATS: automates browser
- ATS board registry → ATS adapters: selects adapters (evidence: `src/discovery/registry.py`)
- ATS board registry → Career URL resolution: resolves board URLs (evidence: `src/discovery/registry.py`)
- ATS adapters → Normalized jobs: normalizes jobs (evidence: `src/discovery/adapters/base.py`)
- Profile ingestion → Resume parser: parses resume (evidence: `src/ingestion/pipeline.py`)
- Profile ingestion → Profile embedder: indexes chunks (evidence: `src/ingestion/pipeline.py`)
- Profile embedder → Qdrant: writes vectors
- Semantic retrieval → Qdrant: queries vectors (evidence: `src/memory/retriever.py`)
- Semantic retrieval → Profile embedder: creates query vectors (evidence: `src/memory/retriever.py`)
- Fit evaluator → Eligibility gates: checks eligibility (evidence: `src/matching/evaluator.py`)
- Fit evaluator → Match scoring: computes score (evidence: `src/matching/evaluator.py`)
- Fit evaluator → SQLite records: stores evaluation (evidence: `src/matching/evaluator.py`)
- Portal application → External ATS: fills application (evidence: `README.md`)
- Easy Apply actuator → SQLite records: records outcome
- Portal application → SQLite records: records outcome
