All projects

AI APPLICATION / CASE STUDY

Job Hunter Agent

An AI job search assistant that reviews resumes, searches job boards, scores jobs with resume evidence, drafts cover letters and application answers, and tracks applications from saved to offer. On 40 labeled synthetic job posts, it extracted all 280 tested fields correctly and matched 35 of 40 apply/maybe/skip labels.

  1. React
  2. TypeScript
  3. Python
  4. FastAPI
  5. PostgreSQL
  6. pgvector
  7. LangGraph

MY ROLE

Application design and implementation

CONTEXT

Personal project · Public source code

STATUS

Read-only demo available

Read-only demo with fictional jobs, companies, statistics, and a synthetic resume. No model calls, real searches, uploads, or applications. Download the full app to run locally.

Project Overview

Job Hunter Agent is a local-first AI job search assistant built with Python, FastAPI, React, and LangGraph. It runs an ATS-style resume review, searches job boards, scores each posting against resume evidence, drafts cover letters and application answers, and tracks applications from saved to offer. Employer sponsorship history is available alongside those workflows.

The public website is a separate read-only demo with fictional jobs, companies, statistics, and a synthetic resume. Real searches, model connections, uploads, and drafting run in the downloaded local application. It never submits applications or contacts employers for the user.

Problem / Context

Reviewing job posts means repeatedly checking the same things: whether the role fits a resume, whether a hard requirement rules it out, where a company has sponsorship history, and which experience supports an application answer. Those decisions become difficult to trace when the job, resume version, and draft live in different places.

I built a workflow that keeps the source posting, search batch, resume evidence, match explanation, and application status connected. Missing evidence stays visible instead of becoming an invented qualification.

Key Features

  • Resume parsing, confirmation, versioning, and review, with experience chunks that can be cited in matches and drafts.
  • Public-page discovery and Greenhouse, Lever, and Ashby board integrations, with per-site results and explicit blocked or failed reads.
  • Cross-source deduplication, hard exclusions before model-based matching, and explainable apply/maybe/skip recommendations.
  • H-1B and PERM employer history from imported public datasets, shown separately from the job description's own sponsorship policy.
  • Cover letters and application answers with evidence references and items that need confirmation.
  • Application status history, search batches, statistics, and English and Chinese interfaces.

Tech Stack

  1. React
  2. TypeScript
  3. Python
  4. FastAPI
  5. PostgreSQL
  6. pgvector
  7. LangGraph

The local backend uses FastAPI, SQLAlchemy, Alembic, PostgreSQL, and pgvector. React and Vite provide the interface. Model adapters support API providers, Ollama, and locally installed Claude Code or Codex CLIs. The hosted demo consists only of static browser files on S3 and CloudFront.

Architecture

The search API calls create_run() to save a snapshot of the active resume, preferences, and selected sites. execute_run() runs the LangGraph workflow: discovery fans out by site, results are interleaved, process_lead() reads and deduplicates postings, and finalize() persists the batch results. A blocked site is recorded without discarding results from other sites.

Resume evidence retrieval combines pgvector cosine similarity and PostgreSQL full-text rankings using reciprocal rank fusion. If embedding retrieval is unavailable, the code can use full-text retrieval; if no chunks have been built, it falls back to the structured resume. It reports the retrieval method and any fallback note. Job, resume, batch, application-history, and draft records live in the local PostgreSQL database.

The materials graph retrieves evidence, generates a structured draft, then checks its references and numbers. verify_draft() removes nonexistent evidence IDs from citations and flags unsupported claims for confirmation. These checks help review a draft; they do not prove that every sentence is correct.

Technical Challenges

Job pages change, duplicate each other, or stop behind sign-in and verification screens. The pipeline normalizes URLs, remembers source identifiers, records access failures, and applies exclusions before spending model calls on matching. It does not bypass login or CAPTCHA screens.

Another challenge is making a persuasive draft without adding unsupported experience. Stable resume references, structured model output, and post-generation checks keep the evidence visible and leave unresolved personal details for the user.

Engineering Decisions / Trade-offs

  • Keep the full app local, with localhost host/origin checks and encrypted API-key storage using a locally configured secret.
  • Keep the public demo synthetic and read-only, so it needs no backend, database, account connection, or paid model calls.
  • Preserve per-site failures and retrieval fallbacks instead of presenting incomplete results as complete coverage.
  • Treat employer history as historical data, not a promise that a particular opening will sponsor.
  • Keep the user responsible for reviewing drafts, recording submissions, and applying. An application status records a user's action, not an automated submission receipt.

Screenshots

This capture shows the hosted demo's fictional job list and match explanations. The banner identifies the sample data and read-only mode.

Job Hunter Agent read-only demo with fictional jobs and matching scores

Results

The evaluation suite includes 40 labeled synthetic job posts. The reported Claude Sonnet run achieved 100% field-extraction accuracy across 280 checks, covering seven fields per post, and 87.5% agreement with labeled apply/maybe/skip decisions (35 of 40). These figures describe that synthetic dataset and model run, not live hiring outcomes.

Source CI passed 182 backend tests, frontend builds, and demo-export checks. Model-dependent tests use a fake provider; those test results are separate from the reported Sonnet evaluation.

The hosted demo was also checked for page refresh, detail navigation, mobile layout, and rejection of writes. It shares the Portfolio's existing S3 and CloudFront hosting and GitHub OIDC release workflow.

Implementation details: search graph, hybrid retrieval, draft verification, and evaluation runner.

NEXT CASE STUDY

Skill Installer

LET’S CONNECT

Let’s talk about what’s next.

Have a role or project in mind? I’d be happy to hear about it.

Get in touch