My village subsidy assistant

Side project · Since November 2026 · In progress

An assistant that answers questions about local subsidies in the language you ask them in, and cites the Dutch sources for every answer. Unofficial, independent project. Not run, endorsed or reviewed by any village organization, municipality or province.

At a glance

What it is
A multilingual retrieval-augmented generation (RAG) assistant for questions about subsidies and local schemes.
My role
Owner and decision maker. Claude Code writes the code; I wrote none of it by hand.
Status
In progress. It runs on my laptop, I am its only user, and it is not public.
Tested in
Dutch, English and Ukrainian. No native speaker has reviewed the Dutch or Ukrainian tests yet.
Built with
Claude Code; Claude Sonnet for answers and Claude Haiku for a safety screen; Python and SQLite.

Why I am building it

My goal is to use AI to help people deal with local and provincial government, and subsidies are the first case. Schemes for homes, youth employment and the wellbeing of older people are spread over municipal pages, provincial rules and fund websites, mostly in Dutch.

It is also how I am learning to architect a production RAG system: by building one, with Claude as mentor and builder.

How it works

It searches the Dutch source texts first and answers from what it finds, with numbered citations. When the sources do not support an answer, it is built to say so and point you to a person.

Each question passes a safety screen with Claude Haiku before any search, and each answer gets a check of its citations and figures. Every source page is recorded with where and when it was fetched, and spending limits are checked before every paid model call.

Built like a production system

It serves one person for now, but it is engineered the way I would want a production system engineered:

  • Phases with gates. The work runs in phases, from framing through corpus, evaluation and productionizing to human validation. Each phase ends at a gate that needs evidence, or a written reason for moving on, and closes only when its open questions are resolved or given a new date.
  • A corpus you can rebuild. The crawler itself enforces which sites may be read, robots rules, AI opt-outs and a delay per site. Every snapshot is stored with a hash, and one command rebuilds the whole corpus, offline if needed, with identical results.
  • Choices made by experiment. Chunking and the embedding model were chosen by experiment, and every change to search has to pass a rule fixed before the run. A reranker was tried that way, did not pass, and search stayed as it was. The technology is boring on purpose: SQLite, unless a measurement says otherwise.
  • Evaluation as a loop. One command prints the evaluation report: retrieval, grounding, language, declining when it should, cost and speed. Quality is reported per language, so a good Dutch score never stands in for the others.
  • Checks that fail loudly. A scheduled run of free checks compares every result with an accepted baseline. Anything worse fails the run, a check that cannot run counts as a failure too, and the baseline only moves by a reviewed decision.
  • Sources that change safely. A refresh compares every source with the stored copy, sorts the changes and stages them. Nothing live changes until I review the content changes and promote the stage.
  • A local service with guards. It starts with one command and listens on the laptop only. Spending limits per month and per day are checked before every paid call, questions have a length limit, and every answer carries a notice that it is unofficial and made with AI.
  • A gate before anything public. A release checklist decides when it may go public, and any quality claim that rests on the AI judge or on simulated questions stays worded as unmeasured until independent people have checked it.

Still to do before this phase closes: a runbook, load and abuse tests, and an accessibility check.

How I work on it

Claude Code writes the code. My part is deciding what to build, what to measure and when to stop, and the main choices are written down as decision records, with the options we did not take.

Early on I noticed that the research had missed an existing bike-helmet reimbursement and then repeated “no route exists” as fact. Since then, a claim that something does not exist needs the official lists checked and dated first.

An AI judge scores the answers in testing. It agreed with my 30 blind labels much less often than with itself, and there was no second person to settle it, so its scores are marked as not validated against independent people.

Where it stands

It is not finished and not public: it runs on my laptop, and I am its only user. My test questions were written with the same family of AI models that answers them, so the results probably flatter it. Showing that it works for real residents needs other people.

Let’s talk

If you are hiring a mobile leader, I would love to hear about it.

My role at Sportlink is ending and I am available immediately.