Case study · AI engineering · Live
OfferScout: a production AI agent I built end to end
A Claude agent that searches about 800,000 live job postings, reads them against a person's real career history, and tailors a resume without inventing a word. I built every layer, from the agent and its two MCP servers to the evals, a GPU embedding pipeline and the servers it runs on. I use it in my own job search, and it about doubled my interview rate.
- Role
- Sole engineer, design to deploy
- When
- 2026
- Status
- Live at jobs.johnjackson.me
- Stack
- Claude API · MCP · TypeScript · Python · PyTorch · SQLite · Next.js
- 100%fit precision in the agent eval, with 0 unsupported claims
- −36%cost per task, from a bug an eval found
- 24MCP tools, published on npm
- ~800klive job postings, crawled and embedded on my own hardware
Skills map
What AI teams hire for, and where it runs here.
I counted what 8,224 open AI engineering postings ask for, using OfferScout's own index. 10 of the 13 most requested skills run in OfferScout today. Each box links to how.
- Python71%→ Embedding pipeline
- Agents60%→ Agent loop
- LLM apps58%→ Full-stack app
- Evals48%→ Eval harness
- RAG and retrieval37%→ Embedding pipeline · being built
- Prompt design32%→ Full-stack app
- Tracing30%Next
- TypeScript23%→ Full-stack app
- Embeddings23%→ Embedding pipeline
- Guardrails22%→ Guardrails
- Tool calling18%→ Agent loop
- Fine-tuning16%Next
- MCP16%→ MCP servers
- Running
- Being built
- Next
Share of 8,224 open AI engineering postings that mention each skill, each job counted once. From OfferScout's own index, Nov 2026.
10 of the 13 skills are running in OfferScout.
Demo
Ask in plain words. The agent does the work.
A real session shape in Claude Code, and what each step does under the hood.
- 1
get_inventoryThe user's whole career record loads first. Every claim after this has to cite it.
- 2
search_jobsThe public index of ~800k postings, filtered by remote, country and date. Titles only, to save tokens.
- 3
get_job × 5It reads postings before judging fit, within a budget of 12 per message.
- 4
the answerEach match cites a real accomplishment. Code checks the citation before the card is shown.
- 5
tailor_resumeOfferScout's own prompt and validators run, with Claude Code as the model. Drafts wait for review in the web app.
- > Find remote React Native roles posted this week that I'd be a strong fit for.
- offerscout · get_inventory
- offerscout · search_jobs react native · remote US · 7 days
- offerscout · get_job × 5
- Five strong fits this week. The best match leans on what you've shipped:Senior React Native Engineer · RemoteReact NativeDesign systemsTypeScriptKotlin
- > Tailor my resume for that one.
- offerscout · tailor_resume
- Done. Each change is tied to something in your career bank, and every one waits for your review before anything is saved.
System architecture
Six layers, from the question to the GPU.
It knows the job market, it knows your career, and it saves nothing without you. Here is every part that makes that true, and where each one runs.
- User's machine
- My server
- Either, same code
- Claude
Numbered parts link to their deep dive.
1The agent loop
An agent that researches before it answers.
- Agents
- Tool calling
- Prompt caching
- Context management
- Claude API
Each message starts a loop on the Claude SDK's tool runner, streamed to the browser. Claude picks from 9 typed tools: search the index, read postings, count skills across the market, shortlist with evidence, offer to tailor, and propose changes to the user's records.
Budgets live in the tools, not the prompt. Each message gets 24 turns, 8 searches, 12 reads and 5 shortlists. When one runs out the tool says so in plain words, and the model works with what it has. A runaway loop is impossible, not just unlikely.
Context is managed on purpose. The rules and the user's whole inventory sit in a cached system prompt. Postings read in earlier messages are cut to 1,500 characters in the history, since the agent can read them again.
- cost per task, on Claude Haiku 5.5
- $0.0018
- model turns per task
- 2.7
- runaway loops or errors in 27 eval runs
- 0
- Claude starts with the rules and your whole inventory in a cached system prompt.
- You → Claude“React Native roles that fit me”
- Claude → Toolssearch_jobs(react native, remote, 7d)search 1 of 8
- Tools → Claude25 results, titles only
- Claude → Toolsget_job × 5reads 5 of 12
- Tools → Claude5 postings, 6,000 chars each
- Claude → Code checksshortlist_job(job, evidence: [lv-checkout])picks 1 of 5
- Code checks → Claude✓ evidence is a real accomplishment
- Claude → Youjob cards, each with its evidence
2MCP and tool design
24 tools, designed for a model to use safely.
- MCP
- Tool design
- Tool calling
- Zod schemas
- TypeScript
OfferScout runs inside Claude Code through an MCP server I wrote and published on npm. It gives Claude everything the web app can do: search the job index, read and edit the user's career records, tailor and check resumes, and track applications, on the user's machine and their own Claude plan.
Exposing tools is easy. Making them safe for a model is the work. Every tool says whether it only reads or can destroy data, writes must quote the user's own words, and every change goes through the same code as the web app.
The hardest part was the AI features. Tailoring should run my prompt, tool schema and validators, not whatever the assistant decides. So I wrote a replay protocol: each model call becomes a brief that Claude Code answers with ai_answer, and the feature re-runs deterministically to the next call.
- tools in offerscout-mcp, on npm: 14 read-only, 10 that write
- 24
- realistic questions right in the MCP eval (Sonnet)
- 12 / 12
- model spend on my server: it holds no API key
- $0
Every tool, and what it's allowed to touch.
- read-only14
- writes8
- destructive2
search_jobsread-onlyKeywords, remote / hybrid / on-site, country, place, recency. Returns ids, titles and links, no descriptions.get_jobread-onlyOne posting in full. The model is told to read it before judging fit.job_market_statsread-onlyHow many open jobs mention each skill or title, under the same filters.
get_inventoryread-onlyProfile, jobs, accomplishments with their facts, approved wordings. The IDs every other tool takes.list_applicationsread-onlyEvery saved application with status, dates and a link.get_applicationread-onlyThe resume sent, the posting, notes, status history and answers.list_job_marksread-onlyJobs dismissed or applied to, so they're never suggested again.
add_accomplishmentwritesTakes user_said, the user's own words. Code refuses any number or claim not in them.change_inventorydestructiveUp to 10 edits or removals, each checked. A wording a sent resume used is hidden, not deleted.update_application_statuswritesApplied, interviewed, offer: after the user says so.mark_jobwritesDismiss a job from the index, or bring it back.app_requestdestructiveAnything else the app can do, through its own routes and checks. The AI routes are excluded.
tailor_resumewritesPicks bullets and wordings for one job; rewrites are saved as suggestions.revise_resumewritesChanges in plain words, like “fit it on one page”.check_resumeread-onlyRequirements covered or missing, and issues. Saves nothing.ideal_candidateread-onlyThe ideal hire for the posting, and how the inventory covers it.draft_gap_bulletread-onlyTurns the user's answer about a missing requirement into one bullet.answer_questionwritesDrafts an answer to an application form's question.review_duplicatesread-onlyFinds suggested wordings that only repeat approved ones.import_resumeread-onlyReads an existing resume into OfferScout's shape, exactly as written.save_importwritesSaves it; the profile is validated first, so nothing is half-saved.
ai_answerwritesClaude's answer to a brief. The feature checks it, then finishes, asks again or says what to fix.ai_briefread-onlyLong briefs arrive in 60,000-character parts.resume_linkread-onlyOpens a draft in the web app, each change ready to approve.
Every tool declares MCP's readOnlyHint / destructiveHint, so a client can run reads freely and ask before writes. Starter prompts ship as MCP prompts: slash commands in Claude Code.
Designed for a model to use, not just exposed to one.
- 01Annotated for the clientEvery tool declares readOnlyHint or destructiveHint, so Claude Code can run reads without asking and confirm writes.
- 02Grounded writesWrite tools take user_said, the user's own words from the chat. Code refuses any number or claim that isn't in them.
- 03Same checks as the appTools call the web app's own routes, one at a time on the database, and re-read the file first so they never overwrite a newer save.
- 04Errors a model can act on“Refused: …” or “No import ‘x’. Run import_resume first.” come back as tool results, not protocol failures, so the model fixes and retries.
- 05Sized for contextSearch returns titles, not descriptions. Long briefs arrive in 60,000-character parts. Results are trimmed to what helps decide.
- 06Hand off, don't overreachNo resume text is written over MCP. resume_link sends the user to the web app to approve each change.
Swap the model, keep the system.
The AI features are mine: prompts, tool schemas, validators. Over MCP, Claude Code supplies the thinking and my code keeps control of everything else.
- each model call becomes a brief over MCP
- Claude Code answers it:
ai_answer - the feature re-runs with the answer, deterministic, to the next call
- Claude Code → Local MCP servertailor_resume(job)
- Local MCP server → AI featurePOST /api/tailor · replay key
- Loop, once per model call:
- AI feature → Local MCP serverneeds model call #n
- Local MCP server → Claude Codebrief: system · messages · tools
- Claude Code → Local MCP serverai_answer(run, tool_input)
- Local MCP server → AI featurere-run with answers 1…n
- AI featureChecks run on the answer. Refused: rolled back, and the error says what to fix.
- AI feature → Local MCP serverdone: plan + suggestions
- Local MCP server → Claude Coderesume_link
- Claude Code → Web appuser opens it, approves each change
A private server for your data, a public one for the market.
- Transport
- stdio, on the user's computer
- Tools
- 24, all listed above
- Model
- Claude Code / Desktop, on the user's plan
- Data
- the user's own resume.db folder
- Ships as
- npm offerscout-mcp, one command
- Transport
- Streamable HTTP, /api/mcp
- Tools
- 3 read-only: search_jobs, get_job, job_market_stats
- State
- stateless, so it scales and keeps nothing
- Limits
- 60 requests/min per IP · 20 KB bodies
- Clients
- claude.ai, any MCP app, and the local server itself
3Guardrails
The model never writes the resume. Code does.
- Guardrails
- Structured outputs
- Human in the loop
- Zod validation
Prompts ask for honesty; code enforces it. The model's job is to rank and select. It returns inventory IDs and suggested rewrites, a deterministic assembler builds the resume by looking each ID up, and a Zod schema validates the result before anything renders.
Every draft is checked first. A number that isn't in that accomplishment's facts throws the draft out, and so does a rewrite that only reshuffles an existing one. Nothing reaches a resume until the user approves it, and every line traces back to the entry it came from.
- unsupported claims in 27 eval runs
- 0
- saves without the user's approval
- 0
- checks between the model and a resume
- 5
- 1Posting + inventoryevery accomplishment with its factsonly approved wordings
- 2Claude selectsscores each accomplishment 0–3returns IDs + suggested rewrites
- 3Code checkssee what it throws out ↓
- 4You approveUse this · Edit · Rejectdrafts stay “suggested” until then
- 5AssemblerIDs → resume JSON by lookupZod schema → PDF
What the checks throw out
- Unknown or unapproved IDerror, never rendered
- A number not in that accomplishment's factsdraft thrown out
- 80%+ the same words as an existing wordingdropped as cosmetic
- Evidence that isn't a real accomplishmenttool call refused
- Scored below 2 for this postingcut, unless it is the role's best
- Claude draftsGrew mobile revenue 40%
- Code checks “40%” isn't in this accomplishment's facts
- You approveRebuilt the mobile checkout flow
4Evals
Evals decide what ships, and what gets cut.
- Evals
- Experiment design
- Cost optimization
- Regression testing
The agent eval runs the real loop, tools and limits against a real model, with fixed fixtures instead of live data, and scores every run by rules. It reports quality next to tokens and cost, so a change has to earn its place on both.
Three results from it shaped the product: a fix that cut cost by a third at the same quality, a recall gap that started the embedding pipeline, and a retrieval idea I measured and removed.
- cost per task, at the same quality
- −36%
- shortlisted jobs that really fit
- 39 / 39
- eval suites: agent, MCP, tailor
- 3
- 100%fit precision39 of 39 shortlists fit
- 93%fit recall39 of 42 fitting jobs found
- 0unsupported claimsin 27 runs
- 0saves without approvalevery write is a card
- 01Fixed and keptThe eval found
Haiku cited a wording's ID as evidence instead of its accomplishment's. The guardrail refused it 39 times, and the model spent a turn retrying each time.
I changedA wording ID names exactly one accomplishment, so
shortlist_jobnow accepts it and maps it. The check stays strict.Result - 02Started the next buildThe eval found
Asked to “read every job”, the agent searched mobile titles and never found a web frontend role that fit. That's the 7% recall it misses.
DiagnosisKeyword search only finds what the model thinks to search for. The fix is retrieval by meaning, where the text can't fit in a prompt: the job index.
ResultA GPU embedding pipeline over every open posting, now running (5). This case is its acceptance test.
- 03Tried and droppedHypothesis
RAG over the user's inventory would be cheaper: a short index, the 6 best matches per posting by BM25, and a search tool for the rest.
Why it lostSame quality. But the whole inventory sits in the system prompt, cached at a tenth of the input price. Retrieved text arrives in tool results at full price.
ResultInput tokens−7%Cost+17%RAG vs. the cached prompt. A ~3,000-token inventory is too small for retrieval to pay. Removed.
Two more suites. An MCP eval sends 12 realistic questions to Claude Code headless with only the job tools attached, and checks tool choice, filters, paging, reading before judging, and that every link came from a tool reply: 12 / 12 on Sonnet. A tailor eval re-runs the tailor on postings I really applied to and diffs it against what I sent.
5Embeddings, retrieval and tailoring
Find by meaning. Say it in their words.
- Python
- PyTorch
- Embeddings
- Semantic search
- Vector search
- RAG
Postings and resumes describe the same work in different words. A keyword search for “React Native” misses “cross-platform mobile apps in TypeScript”, and a resume that says “accessibility” misses a posting that wants “accessible interfaces”. So OfferScout works in two directions.
Words to meaning: find. A Python service embeds every open posting, as the crawler finds it, with bge-small-en-v1.5 on a GTX 1050 Ti, so a search lands on what a job is about. It's incremental: each pass compares the crawler's content hash with the one each vector was made from, skips what hasn't changed, and reads the live index read-only through SQLite WAL.
Meaning to words: say. Once a job fits, the tailor rewrites each relevant accomplishment so it leads with what that posting cares about, in its terms. Code checks that no fact moved, and the user approves the wording.
Next: semantic search in the agent, accepted when the eval's recall case passes, and the same vectors for accomplishments so a career can be matched to postings directly.
- postings embedded so far; the first full pass over all ~800k is running
- 278k
- on the GPU, against 8/s on 6 CPU cores
- 38/s
- approved wordings of one of my accomplishments, same facts
- 34
- Find · embeddingsWords → meaning. A posting or an accomplishment becomes a point; near means the same kind of work, whatever it's called.
- Say · tailoringMeaning → words. The same facts, written in this posting's terms. Code checks that no fact moved.
One fact, 34 approved wordings. Each is tagged with the posting terms it was written for. The number 250 can appear because it's in the facts; a number that isn't would be thrown out.
- accessibility
- accessible interfaces
- performance
Delivered accessible mobile interfaces by fixing 250 WCAG 2.1 AA accessibility issues, rebuilding and standardizing core React Native components in TypeScript and improving rendering performance across iOS and Android.
- performance
- React Native
- TypeScript
Improved cross-platform rendering performance by rebuilding and standardizing core React Native components in TypeScript, fixing 250 WCAG 2.1 AA accessibility issues across iOS and Android.
- accessibility
- visual consistency
- components
Fixed 250 WCAG 2.1 AA accessibility issues while rebuilding and standardizing core design-system components in TypeScript for visual consistency across iOS and Android.
The nearest open postings to each search, with cosine similarity. Postings marked “meaning only” share no word with the search in their title: a keyword search on the title would never have found them.
“make sure people with disabilities can use our app”
- 0.71Support Specialist with a connection to AACAssistiveWaremeaning only
- 0.70UX Writer for a company with a social missionAssistiveWaremeaning only
- 0.68Digital Accessibility SpecialistHyphenmeaning only
- 0.68Product Designer, AccessibilityOpenAImeaning only
- 0.68Interested in future opportunities? Level Accessmeaning only
- 0.67Talent Pool | People with Disabilities (PwD)Indie Campersshares words
“cross-platform mobile apps in TypeScript”
- 0.77[VKS] Mobile Software Engineer (React Native/TypeScript)Software Mindshares words
- 0.75Full-Stack Engineer (TypeScript, React)Paperpileshares words
- 0.75Senior Mobile App Developer - React NativeIBMCshares words
- 0.74Mobile App Developer (Flutter / React Native)Bolder Appsshares words
- 0.74Full Stack TypeScript DeveloperCrewfareshares words
- 0.74Developer Java _React/TypscriptTECDATA ENGINEERINGmeaning only
“Fixed 250 WCAG 2.1 AA accessibility issues by rebuilding core React Native components in TypeScript”
- 0.71React Native DeveloperWing Assistantshares words
- 0.71Senior React Native Engineer, HFCTinyshares words
- 0.71EXPERT FULL STACK DEVELOPER | JAVA + ANGULAR + REACT NATIVETECDATA ENGINEERINGshares words
- 0.70Full-Stack Engineer (TypeScript, React)Paperpileshares words
- 0.70Mid React Native DeveloperEncorashares words
- 0.70React Native DeveloperPanacea Logicsshares words
6Data pipeline and production
Live in production, on infrastructure I run.
- Data pipelines
- Deployment
- Linux
- Security
- SQLite
A crawler reads company job boards on Greenhouse, Lever, Ashby, Workable and SmartRecruiters, plus job feeds. It rechecks each board every 48 hours and closes jobs that disappear. I found the boards by mining Common Crawl's URL indexes.
It all runs on an Ubuntu VM in my home lab, with the GPU passed through, as systemd services behind a Cloudflare Tunnel with no open ports. Rate limits, body caps and the localhost-only admin are tested through the public URL.
- open postings indexed
- ~800k
- job sources, each board rechecked every 48 h
- 6
- systemd services, reboot-tested
- 4
job-board-webNext.js, bound to 127.0.0.1, never crawlsjob-board-crawlernice 19 · idle I/O · the only writerjob-board-embedderPython on the GPU · read-only readerjob-board-backup.timer03:30 daily · two rotating copies
Lesson from production: the crawler first ran inside the web server, pinned the single vCPU and caused Cloudflare 502s. I split it into its own low-priority service; the website now only reads.
- Greenhouse160k
- Himalayas123k
- Lever68k
- Ashby48k
- Workable46k
- SmartRecruiters7k
- Rate limits per IPsearch 60/min · AI 30/min · PDF 10/min · MCP 60/min, with Retry-After
- Body capsevery route reads capped: 413 even when Content-Length lies
- Adminanswers only the server itself, reached over an SSH tunnel
- PDFsheadless Chrome kept sandboxed with an AppArmor profile
- Deploystests, typecheck, lint, then build on the VM; failed builds restore the last one
- Migrationsadditive only; the index is backed up before a new one runs
Engineering judgment
Calls I made, and why.
Most of the work in an AI product is deciding what not to hand to the model.
Shipped
It's live. Try it with one command.
claude mcp add --scope user offerscout -- npx -y offerscout-mcp@latest --folder ~/Documents/OfferScoutOr paste this into Claude Code and let it set itself up:
Set me up with OfferScout (jobs.johnjackson.me)Open the web app on the same folder to review each tailored resume change by change, and browse the job board.
Open jobs.johnjackson.me
Product design
The product decisions behind it.
I owned OfferScout as a product, not just a codebase: who it's for, what hurts, what to build, what to cut, and how to know it works.
Job seekers are stuck choosing between slow and sloppy.
Every posting asks for the same experience in different words. Rewriting a resume for each one is slow, so it's tempting to send one generic version everywhere.
They produce buzzword bullets fast, but they also invent numbers and skills. A claim you can't back up in an interview is worse than no claim.
The same job on several boards, recruiters posting for unnamed clients, “remote” that means another country, and roles filled weeks ago.
Who it's for: someone applying to many roles who wants every resume tailored and every claim true. The first user was me, in my own search, which kept the feedback loop honest.
From a posting to an offer, as one pipeline.
Find what fits by meaning, then bridge the gap back to the posting's words, without inventing anything.
- 01FindSearch by meaning
Jobs that fit what you've done, whatever the posting calls it.
Agent · job boardKeyword today; by meaning next - 02MatchSee where you stand
6–12 requirements the posting screens for, each covered, partly covered or a gap.
How you match - 03BridgeClose the gaps
For a gap, it asks one question: “At Levi's, did you write any server-side code?” Your answer becomes a new accomplishment.
Draft bullet - 04TailorSay it in their words
Keeps the accomplishments that score 2–3 for this posting and leads each with what it cares about.
Tailor with AI - 05ReviewApprove every change
Use this, edit or reject, in one list, with a live preview of page count and breaks.
Apply screen - 06TrackApply and follow up
The exact PDF sent, the posting, and one-click status: applied, reviewed, interviewed, offer.
Applications
It gets better with every application. Gap answers become accomplishments, approved wordings are kept for the next posting, and each wording shows how it performed: “used 3× · 1 interview”.
A personal inventory: your career as facts, not as a document.
A resume is one rendering of a career. OfferScout stores the career itself: each accomplishment as facts, with many approved ways to say it. Tailoring becomes choosing and rewording, never inventing, and the inventory gets richer with every application.
- 34 approvedwordings, each tagged with posting terms
- SuggestedAI drafts, waiting for you
- Rejectedkept out, restorable
- Facts are the source of truthEvery wording of an accomplishment must stay within its facts. Numbers can only come from there.
- Many wordings, one factEach is tagged with the posting terms it was written for, so the next similar posting can reuse it.
- AI suggests, you approveAI wordings arrive as suggested. Only approved ones can reach a resume. Rejected ones can be restored.
- No driftText written for one application stays with it. The base inventory only changes when you save to it on purpose.
- Every resume is a recordEach application keeps the exact resume sent, the posting, and its outcome.
- It's yoursOne SQLite file in a folder you choose. Nothing about you is stored on my server.
Two kinds of slop, and what OfferScout does about each.
Trust is the product. Every item here is shipped, except the one marked next.
- Invented numbers“Grew revenue 40%” when you never said 40%.A number not in the accomplishment's facts throws the draft out.
- Skills you don't haveA cover letter about Go you've never written.Claims must point to a real accomplishment. Asked about Go and Kubernetes it doesn't have, the agent says so (eval-checked).
- Synonym-swap rewrites“Led” becomes “spearheaded”, and you review it anyway.A draft 80%+ the same words as an existing one is dropped, so review time goes to real changes.
- Quiet driftEach tailored version strays a little further from what happened.Text written for one application stays with it. The base inventory changes only when you save to it.
- “Improved” importsThe tool rewrites your resume on the way in.Import copies it exactly as written, and shows you what it read before anything is saved.
- The same job on five boardsReposts flood every search.Each job is listed once, by company and title: the company board's own copy.
- Recruiters for unnamed clientsA screen before you reach the real employer.Middlemen are tagged with their evidence: a known staffing firm, or the posting's own words (“on behalf of a client”). Hide them with one switch, or overrule a call.
- “Remote” for somewhere elseRemote, but only in Romania.Remote is judged for your country. When only the text names a place, it says “maybe outside US”. A bug that read Georgia the country as a US state was fixed, and 2,659 jobs corrected.
- Dead listingsThe role filled weeks ago.A job that leaves a company board closes on its next check, 48 h at most. Whole-site feeds close what a full pass no longer sees.Next: hide jobs unseen for 14 days and show “last confirmed N days ago”.
- Jobs you already applied toThe same posting, again and again.Applied or dismissed, it's hidden everywhere: same company and title, on any source.
- An agent that invents jobsA plausible link to a posting that doesn't exist.Every link in an answer must come from a tool reply, and it says when nothing was found (MCP eval).
What I chose, what it cost, and how I softened it.
One outcome that matters, and the guardrails that protect it.
About doubled in my own search, applying with OfferScout instead of by hand.
- 0unsupported claims in the agent eval
- 0changes saved without the user's approval
- ~$0.003model cost per tailored application, on Haiku
- Each wordingtracks its own uses and interviews
- Agent in Claude Code over MCP, on npm
- Job board over ~800k postings
- Tailoring, gap questions and review
- Applications with the exact PDF sent
- Search by meaning in the agent and the board
- Hide stale jobs, show “last confirmed N days ago”
- Listing in Claude's connector and plugin directories
- Hosted for many users: accounts, Postgres, a separate crawler
- Word (DOCX) export
Why it's here
How I'd work as an AI engineer on your team
- Build the whole loop. Prompts, tools, guardrails, data pipelines and deployment, not just the model call.
- Measure before claiming. Evals on every change, including the ones that say an idea didn't pay off.
- Put code where trust matters. Let the model choose; let deterministic code and the user decide what's true.
- Run it for real. A live product with rate limits, cost per task, a GPU pipeline, and my own job search depending on it.