# owlguardco/job-hunter architecture

> Architecture diagram of the GitHub repository owlguardco/job-hunter, 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/owlguardco/job-hunter
- Repository: https://github.com/owlguardco/job-hunter

## Overview

Job Hunter is an AI-assisted career toolkit spanning job discovery through career growth. Users either follow the interactive terminal guide or use the browser UI; tools consume career and job context and produce advice or application materials. The main application path screens a role, prepares an application, supports interview rounds, and helps handle an offer. The local server assembles prompts from agent files and sends web requests to Anthropic. Several capability branches are documented in the README but their individual agent implementations were not sampled.

Main entry points: [`scripts/job-search.py`](https://github.com/owlguardco/job-hunter/blob/main/scripts/job-search.py) (Job Board Search), [`server.js`](https://github.com/owlguardco/job-hunter/blob/main/server.js) (Prompt Assembly), [`agents`](https://github.com/owlguardco/job-hunter/tree/main/agents) (Search and Role Screening), [`scripts/guide.js`](https://github.com/owlguardco/job-hunter/blob/main/scripts/guide.js) (Interactive Guide)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_entry["User Entry Points"]
  node_guide["Interactive Guide<br/>[guide.js]"]
  node_web["Browser UI<br/>[index.html]"]
  node_server["Local API Server<br/>[server.js]"]
  node_prompt["Prompt Assembly<br/>[server.js]"]
  node_inputs["Career Inputs"]
end

subgraph group_search["Job Search"]
  node_searchtools["Search and Role Screening"]
  node_jobsearch["Job Board Search<br/>[job-search.py]"]
  node_outputs["Job Shortlist"]
end

subgraph group_application["Application Prep"]
  node_applications["Application Tools"]
end

subgraph group_interview["Interview Prep"]
  node_interviewtools["Interview Tools"]
end

subgraph group_career["Offers and Career"]
  node_offertools["Offer Tools"]
  node_careertools["Career Tools"]
end

node_user(("Job Seeker"))
node_anthropic{{"Anthropic API"}}
node_boards{{"Job Boards"}}
node_gmail{{"Gmail"}}

node_user -->|"chooses stage"| node_guide
node_guide -->|"recommends tools"| node_searchtools
node_user -->|"uses browser"| node_web
node_web -->|"requests tools"| node_server
node_server -->|"builds prompt"| node_prompt
node_prompt -->|"loads agent prompts"| node_applications
node_prompt -->|"sends request"| node_anthropic
node_user -->|"provides context"| node_inputs
node_user -->|"runs search"| node_jobsearch
node_jobsearch -->|"reads criteria"| node_inputs
node_jobsearch -->|"searches listings"| node_boards
node_jobsearch -->|"writes shortlist"| node_outputs
node_searchtools -->|"screens roles"| node_applications
node_applications -->|"prepares candidates"| node_interviewtools
node_interviewtools -->|"supports offer stage"| node_offertools
node_user -->|"uses career tools"| node_careertools
node_searchtools -.->|"scans recruiter mail"| node_gmail
node_offertools -.->|"sends messages"| node_gmail

click node_guide "https://github.com/owlguardco/job-hunter/blob/main/scripts/guide.js"
click node_web "https://github.com/owlguardco/job-hunter/blob/main/web/index.html"
click node_server "https://github.com/owlguardco/job-hunter/blob/main/server.js"
click node_prompt "https://github.com/owlguardco/job-hunter/blob/main/server.js"
click node_inputs "https://github.com/owlguardco/job-hunter/tree/main/inputs"
click node_searchtools "https://github.com/owlguardco/job-hunter/tree/main/agents"
click node_jobsearch "https://github.com/owlguardco/job-hunter/blob/main/scripts/job-search.py"
click node_applications "https://github.com/owlguardco/job-hunter/tree/main/agents"
click node_outputs "https://github.com/owlguardco/job-hunter/tree/main/outputs"
click node_interviewtools "https://github.com/owlguardco/job-hunter/tree/main/agents"
click node_offertools "https://github.com/owlguardco/job-hunter/tree/main/agents"
click node_careertools "https://github.com/owlguardco/job-hunter/tree/main/agents"

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_guide,node_web,node_server,node_prompt,node_inputs toneBlue
class node_searchtools,node_jobsearch,node_outputs toneAmber
class node_applications,node_anthropic toneMint
class node_interviewtools toneRose
class node_offertools,node_careertools,node_user,node_boards,node_gmail toneIndigo
```

## Components

### User Entry Points

- [Interactive Guide](https://github.com/owlguardco/job-hunter/blob/main/scripts/guide.js): `scripts/guide.js`
- [Browser UI](https://github.com/owlguardco/job-hunter/blob/main/web/index.html): `web/index.html`
- [Local API Server](https://github.com/owlguardco/job-hunter/blob/main/server.js): `server.js`
- [Prompt Assembly](https://github.com/owlguardco/job-hunter/blob/main/server.js): `server.js`
- [Career Inputs](https://github.com/owlguardco/job-hunter/tree/main/inputs): `inputs`

### Job Search

- [Search and Role Screening](https://github.com/owlguardco/job-hunter/tree/main/agents): `agents`
- [Job Board Search](https://github.com/owlguardco/job-hunter/blob/main/scripts/job-search.py): `scripts/job-search.py`
- [Job Shortlist](https://github.com/owlguardco/job-hunter/tree/main/outputs): `outputs`

### Application Prep

- [Application Tools](https://github.com/owlguardco/job-hunter/tree/main/agents): `agents`

### Interview Prep

- [Interview Tools](https://github.com/owlguardco/job-hunter/tree/main/agents): `agents`

### Offers and Career

- [Offer Tools](https://github.com/owlguardco/job-hunter/tree/main/agents): `agents`
- [Career Tools](https://github.com/owlguardco/job-hunter/tree/main/agents): `agents`

### Other components

- **Job Seeker**
- **Anthropic API**
- **Job Boards**
- **Gmail**

## Connections

- Job Seeker → Interactive Guide: chooses stage (evidence: `scripts/guide.js`)
- Interactive Guide → Search and Role Screening: recommends tools (evidence: `scripts/guide.js`)
- Job Seeker → Browser UI: uses browser (evidence: `README.md`)
- Browser UI → Local API Server: requests tools (evidence: `server.js`)
- Local API Server → Prompt Assembly: builds prompt (evidence: `server.js`)
- Prompt Assembly → Application Tools: loads agent prompts (evidence: `server.js`)
- Prompt Assembly → Anthropic API: sends request (evidence: `server.js`)
- Job Seeker → Career Inputs: provides context (evidence: `README.md`)
- Job Seeker → Job Board Search: runs search (evidence: `scripts/job-search.py`)
- Job Board Search → Career Inputs: reads criteria (evidence: `scripts/job-search.py`)
- Job Board Search → Job Boards: searches listings (evidence: `scripts/job-search.py`)
- Job Board Search → Job Shortlist: writes shortlist (evidence: `scripts/job-search.py`)
- Search and Role Screening → Application Tools: screens roles (evidence: `README.md`)
- Application Tools → Interview Tools: prepares candidates (evidence: `README.md`)
- Interview Tools → Offer Tools: supports offer stage (evidence: `README.md`)
- Job Seeker → Career Tools: uses career tools (evidence: `README.md`)
- Search and Role Screening → Gmail: scans recruiter mail (evidence: `README.md`)
- Offer Tools → Gmail: sends messages (evidence: `README.md`)
