03 / AI Agents
RagResume
A nine-step pipeline that takes an activity bank of career bullets, a resume template and a job description, and produces a resume tuned for both the ATS screen and the hiring manager reading after it. I scoped, designed and built it alone, and used it on my own applications.
Company
Personal Project
Role
Sole PM, designer and builder
Tags
01 / Role & Scope
Scope
Sole product manager, designer and builder. It started as a tool for my own job search, but I scoped it as a product: the pipeline designed before it was built, and every architectural decision written down with its reasoning.
02 / Problem
Two Gates, Not One
A resume has to clear an automated screen and then a person, and those two readers want different things. The ATS wants keywords, parseable structure and the absence of knockout criteria. The hiring manager wants a career that reads like it leads to this role.
Optimising for one gate at the expense of the other is the common failure. The other common failure is worse: asked to align a resume to a posting, a model will fabricate the experience that closes the gap.
03 / Solution
The Pipeline
The core decomposition was to separate what the job description asks for from what the candidate has actually done, and then match between them. The job description gets analysed into two rubrics. The ATS rubric covers keywords, required skills and knockout criteria. The intent rubric covers what the hiring manager is really reading for: domain fluency, motivation, growth. They are genuinely different objectives, and modelling them separately produced better resumes than one blended pass.
Retrieval is hybrid rather than pure vector search: 55% semantic similarity on Gemini embeddings, 30% exact keyword and phrase overlap, 15% a job-title and domain context bonus. That mix beat cosine similarity alone by a wide margin. Pure embedding similarity kept surfacing activities that were thematically adjacent but wrong for the requirement.
Two decisions did more for match quality than anything on the query side. Enriching at index time, so AI skill extraction with synonym expansion runs once at ingest and "container orchestration" is indexed alongside Kubernetes and Docker. And deduplicating rubric items by vector similarity: the analyser naturally emits 20 to 30 overlapping requirements, and merging above 0.88 cosine cut that to a usable 8 to 15 without losing coverage.
The anti-hallucination work was structural, not a prompt instruction. Activities are stored as atomic Situation-Action-Impact entries, which gives retrieval clean units to match against instead of whole resume lines it might blend. A hard requirement and a transferable skill are handled differently, so HubSpot experience against a job asking for Salesforce is surfaced as transferable rather than claimed as Salesforce. And the human picks which activity answers each rubric item, which is the one judgement a model cannot make: it does not know which of your experiences you want to lead with.
Steps 1 to 3 are the inputs, which run in parallel: ingest an activity bank from CSV, JSON, PDF or DOCX; upload a resume template carrying contact info and section structure; upload the target job description.
Step 4, AI analysis, runs on Gemini 2.5 Flash and generates two rubrics: an ATS rubric of 8 to 15 keyword groups by skill category, and an intent rubric of 10 to 20 items based on hiring psychology.
Step 5 is hybrid similarity search, weighted 55 percent semantic using Gemini embeddings, 30 percent exact keyword matching, and 15 percent a domain-relevance context bonus.
Step 6 is the first human-in-the-loop stage: review the top matches for each rubric item, pick the activities that fit, and generate situation-task-impact bullets across eight parallel threads.
Step 7 assembles the ATS resume from the template and the generated bullets using Gemini 2.5 Pro. Step 8, the second human stage, rewrites the narrative to match hiring manager psychology.
Step 9 exports the finished resume as LaTeX or PDF.
04 / What It Unlocked
What I'd Keep
Four things from this are worth carrying into anything similar. The core decomposition of rubric against activity bank, which is the shape that made the output good. The dual rubric, which is a product insight rather than an implementation detail: the ATS and the hiring manager genuinely are different objectives and want different optimisation. Hybrid retrieval over pure vector search. And human-in-the-loop at match selection specifically, which of the review surfaces I built was the one that most earned its place.
The sharpest lesson was about order rather than architecture. An LLM pipeline needs an eval harness before its second prompt: a golden set of inputs to expected matches, plus assertions on the output. Without one there is no way to tell whether a prompt change made things better or worse, and prompt count grows with no instrument panel. Build that first, and keep the interface cheap to throw away until the engine underneath it is proven.
Next Project
04 / PMM Intelligence