Journal · LOCAL AI & PUBLIC BUDGETSDario Antonioli · 5 min

I paid my waste tax. How does my town spend it?

The budget is public. Reading it is another sport. So I did what any reasonable person would do: an app.

Client: me, a citizen · Futuriga project

9 October 2026 · Futuriga project

01 — The problem01 / 08

The budget is public. Reading it is another story.

I open it and discover that transparency can come with plenty of pages and very little wish to introduce itself.

02 — The solution02 / 08

I ask the question. The PDF answers, with its source.

Every answer points back to the document and the page it comes from. The model explains; sums and percentages are calculated by the code, and can be checked.

I asked the model for precision. The outrage I handle myself.

03 — The items03 / 08

Before counting, you need a name.

The budget has its own categories: missions and programmes say what the money is for, the chart of accounts what is bought. On top I put labels people understand: Maintenance, Consultancy, Green spaces, Utilities.

A model proposes the label and how sure it is. Below a certain threshold, I decide. A cost can sit in two views, never twice in the same total.

04 — Recurrences04 / 08

When a payment comes back, it’s a signal.

If the same service is paid to an outside supplier every month, maybe it’s worth thinking long term: a multi-year contract, an in-house team. It’s a question to ask the town, not an answer.

05 — On the market05 / 08

The data is there. The answer isn’t.

Municipal budgets are published and partly reorganised already. What’s missing is the answer to my question, with the source next to it.

  • Fondazione Openpolis · municipal budgets

    OpenBilanci

    Municipal budgets, taken from the State Accounting Office database, to browse and download. Source

  • State Accounting Office · database

    OpenBDAP

    Public finance data, with comparisons between towns such as current spending per resident. Source

  • Bank of Italy · receipts and payments

    SIOPE

    Receipts and payments of public bodies, with reports per body and comparisons over time. Source

The difference Not another portal: one question at a time, items with a name, recurrences in sight, and every answer leads back to the act it comes from.

Sources checked on 23 October 2026.

06 — Tailored06 / 08

One town at a time. One question at a time.

Budgeted, committed or paid? A consultancy: subject, duration, fee, act. A high figure is a question to look into, not proof of waste.

07 — Production07 / 08

The real work is on the documents.

Everything on my computer: from the scanned page to a spending item with a name, an estimate and its source.

All local. A local model and rizzo-pii support attention to the AI Act: on their own they don’t certify compliance.

08 — The prompt08 / 08

The prompt to rebuild it.

I wrote it with Claude, starting from how I built my version. Every line matches a screen in this article.

Build “How my town spends”, an app that runs on my computer and answers questions about a town’s budget from its public documents, with the source next to every answer.

Who uses it
- A curious citizen with no accounting background.

Documents
- I upload the PDFs: budget, final accounts, list of appointments, payments.
- OCR for scanned pages; extract the tables with amount, year, stage (budgeted, committed, paid), mission, programme, chart-of-accounts item, supplier and page.
- Before indexing, rizzo-pii replaces personal data with placeholders.
- Index the passages in a local vector database.

Classification
- For each row a model proposes a readable label (Maintenance, Consultancy, Green spaces, Utilities, Social services, Waste…) with a confidence score, keeping the official codes.
- Below 70% confidence the row goes to a list for manual review.
- No cost counted twice in the same total.

Recurrences
- Group payments by supplier and service; flag those repeated almost every month, with the average amount.
- The signal is a question to look into, not a judgement.

Questions and reports
- Semantic search; every answer cites document and page.
- Sums, estimates and percentages are calculated by the code, not by the model.
- The report states the total used and how many documents it analysed.

Constraints
- All local: model, database and documents stay on the computer.
- For testing, only a made-up dataset. Texts in Italian.

Before writing any code, ask me about anything that isn’t clear and propose a step-by-step plan. Then build one step at a time and let me check each step.

ClosingFuturiga · Journal

Public should mean readable.

An item with a name, a payment that comes back, a figure to understand: every summary should offer a way back to the act it comes from.

← Back to the Journal