All projects

ai-product/live

Patronus

An AI career assistant that keeps a confirmed record of the work you shipped and writes your resumes and job-fit checks from it.

Live at patronus.cv. The free plan works today; paid plans have not opened yet.

Patronus: overview card
automated tests passing in the suite (August 2026)
~2,550automated tests passing in the suite (August 2026)

What it is

Almost nobody keeps a record of their own work. So when review week, a promotion case or a job search arrives, you have two days to reconstruct eight months, and you write what you can remember, which is mostly the last three weeks.

Patronus keeps the record as you go. You tell it what you shipped in one rough sentence, on the web or through a Telegram bot, and it comes back as a structured win that only enters your record when you confirm it. Everything it writes after that (tailored resumes, job-fit checks, notes to recruiters) is built from those confirmed wins, every line links back to one, and it cannot print a number that isn't in your log.

How it works

  1. 1

    Log a win

    You type a note in the web chat or send it to the Telegram bot. One model call routes the message to an action from a closed list, and the draft comes back structured with your numbers untouched.

  2. 2

    Confirm it

    Nothing enters the record until you tap Confirm. That writes the evidence and the link to its claim in a single database transaction, and un-confirming reverses both.

  3. 3

    Retrieve what's shareable

    Wins live in Postgres with pgvector embeddings. Any retrieval that feeds a resume, cover letter or application answer filters on sensitivity = 'shareable' in the query itself, so confidential work never reaches a model.

  4. 4

    Generate behind a guard

    Every model call goes through one wrapper, generateStructured, which handles validation, retries, cost logging and a numeric guard. Any figure in the output that isn't in the source is stripped, and a claim that can't be grounded resolves to 'needs confirmation'.

  5. 5

    Run background work

    Scheduled work such as the nightly job watch runs on a Postgres job queue. A handler that would touch N users enqueues N child jobs instead, and unique dedupe keys make a double-fired cron a no-op. Vercel Hobby allows one cron a day, so a GitHub Actions workflow ticks the queue every 10 minutes.

Decisions and trade-offs

Confidentiality is a query, not a prompt

The easy way to keep confidential wins out of a resume is to ask the model to skip them. I filter them out in the database query instead, and the tests assert the filter rather than the model's output.

Fail closed on truth

Zero fabricated numbers is the pass condition, not a low rate. A claim that can't be positively grounded becomes 'needs confirmation', and errors and timeouts resolve downward, never up to 'grounded'.

Deleting an agent instead of fixing it

The old resume agent wrapped a tool-calling loop around the resume pipeline, threw away the model's own output, duplicated four pipeline steps as tools and fell back to the same pipeline call on failure. It was buying nothing, so I deleted it rather than migrating it.

Moving vectors into Postgres

Search started on Qdrant Cloud. When the free cluster was suspended every search failed, so I moved the vectors to pgvector behind the same client interface, with a contract test that holds the two to the same answers.