Montferland's home-built chatbot answers residents 24/7
The Dutch municipality of Montferland built its own retrieval-augmented chatbot, Mai, to replace its staffed livechat as it prepares for a shortage of staff.
Gemeente MontferlandNetherlandsLocal and regional governmentIn production since Oct 2024
- Scenario
- Government services information chatbot
- Business function
- Customer service
- Kind of solution
- Conversational assistant
- Who built it
- Built in-house (VNG)
- Where it runs
- Hybrid
- Human oversight
- Acts under watch
- Organization
- Public sector
- AI types
- Generative AI, Conversational AI
tl;drMai answers residents 24/7, and fewer frequent questions now reach Montferland's service desk.See the results
Gemeente Montferland, a Dutch municipality, runs Mai, a chatbot that it built and operates itself, to answer residents’ general questions on its website at any hour4. Mai replaced the municipality’s staffed livechat in October 20245, 7.
Mai uses retrieval-augmented generation (RAG): it finds passages in the municipality’s own website, by-laws and documents and writes its answer from them4. AI specialist Daniel Verloop said that Mai exceeded expectations, that residents value direct answers outside office hours, and that fewer frequently asked questions reach the service desk1.
By February 2026, the Association of Netherlands Municipalities (VNG) was scaling Mai with a grant from the Ministry of the Interior8. The aim is to make Mai the national standard for a virtual AI assistant8.
Before the deployment
Before October 2024, residents with a general question on the website reached a livechat that municipal staff answered4, 5. Montferland expected a labor shortage as its population ages, and it wanted AI to take over part of the work3, 7.
- Staff shortage: It was one of the reasons to use AI, and the council granted €100,000 a year for three years to pioneer with it1, 2.
- Council pilot: In mid-2024, a demo chatbot at the council clerk’s office answered council members’ questions about the 2025 framework budget1. Its success started Montferland’s AI work1.
- Specialist: After the pilot, Daniel Verloop, who builds AI systems for government through his own company, began working part-time for Montferland2.
What was built
Mai answers general questions from residents in the website chat window, at any hour4, 5. It reads the question, finds matching passages in the municipality’s texts and writes an answer from them6. A language model, retrieval software and municipal staff share the work:
- Language model: Reads each message for its intent and writes the answer from the passages found6.
- Retrieval software: A Flowise flow runs the steps. The message is optimized for a similarity search, and a Qdrant vector database returns the matching passages4, 6.
- Residents: Rate each answer with a thumbs up or down and can add a comment6.
- Municipal staff: Monitor the answers closely, can step in directly, and use the feedback to improve the system4. Livechat staff keep the complex questions that need a person4.
- Personal contact: Remains available, because the municipality decided that AI is an extra tool and not a replacement1, 7.
During development, the team weighed the quality of Mai’s answers against those of staff, their correctness, and Mai’s ability to stay on topic4. Staff from ICT, legal affairs and communications took part in the development2.
Alternatives considered
- An outside supplier: Montferland first planned to have the chatbot built elsewhere3. It then hired an AI expert to build Mai in-house on its own generative AI set-up, so that the data stays local3.
- Ready-made AI: Verloop said that such answers aren’t always objective and that a government must prevent political coloring, so Montferland develops its own applications2.
- The first set-up: A data protection impact assessment (DPIA) at the start of development found a reasonable risk6. After Mai moved to an on-premises environment, the DPIA rated the risk to residents as negligible6.
Rollout
Montferland published Mai’s description in the national Algorithm Register before the launch7. Through VNG’s innovation program GROEI, other municipalities can build their own assistant from Mai’s reusable building blocks1, 2.
Technology and architecture
Mai is a RAG system, built and run by the municipality and released as open source1, 4. Flowise is an open-source platform for building LLM workflows and chatbots10. In this deployment, it runs Mai’s flow on the municipality’s own servers, beside the Qdrant vector database4. The Azure OpenAI language model and the Azure OpenAI embedding model run as deployments on the municipality’s own instance4.
| Layer | What they used | Role | Source |
|---|---|---|---|
| Language model | Azure OpenAI language model | Reads each message for its intent and writes the answer from the retrieved passages | 4, 6 |
| Embedding and ranking model | Azure OpenAI embedding model | Turns text into vectors for the similarity search | 4 |
| Workflow engine | Flowise | Runs the retrieval-augmented generation flow on the municipality’s own servers | 4, 10 |
| Search and vector index | Qdrant | Holds the municipal texts as vectors and returns the passages that match a question | 4, 6 |
| Knowledge content | Municipal website, APV and documents | The texts that Mai answers from | 4 |
| Chat interface | Website chat window | Takes residents’ questions on the Montferland website and shows the answers | 4, 5 |
| Feedback capture | Conversation and feedback database | Stores the messages and residents’ ratings and comments | 6 |
| Solution platform | Mai | The municipality’s own chatbot, released as open-source software | 1, 4 |
Mai answers questions in the chat on the municipal website, where it replaced the livechat5. The messages and ratings stay in a conversation and feedback database of the municipality’s own6.
Data inputs
- Website information: The pages of the municipal website are Mai’s main reference4.
- Local by-laws: The Algemene Plaatselijke Verordening (APV), the municipality’s general by-laws4.
- Other documents: Additional documents with municipal information4.
- Resident messages: Each message that a resident types in the chat6.
- Ratings: A thumbs up or down and a free-text comment after each answer6.
How one question flows through Mai
- A resident asks the chat how to renew a driving license. Mai replies with the options and links to where it can be done3.
- The language model analyzes the message for its intent6.
- The message is optimized for vectorization, and a similarity search runs in the relevant vector databases6.
- The language model receives the original message with the retrieved documents and writes the answer6.
- The resident rates the answer with a thumbs up or down and can add a comment6.
- The database stores the conversation and the feedback, which staff use to improve the chatbot4, 6.
Results
Since October 2024, Mai has answered residents’ general questions on the website in place of the livechat, which gives livechat staff more time for complex cases5, 6, 7.
- Residents: They value direct answers outside office hours, and some thank Mai after an answer1.
- Service desk: The number of frequently asked questions that reach the service desk is falling1.
- Website content: Building Mai led the municipality to bring all the information on its website up to date7.
- Scaling: VNG has €400,000 to scale and roll out Mai2. In February 2026, more than 100 government organizations were reported to be interested in using it8.
The same in-house approach produced GovGPT, an assistant for staff that runs on the municipality’s own machine1. Staff use it to assess decisions, correct letters, write policy and brainstorm1. Montferland built it to limit staff use of ChatGPT, which sends all data to OpenAI2.
In April 2025, Montferland was developing a tool that analyzes the questions sent to its info email address and website contact form1. A staff member forwarded each of them by hand to the right department1.
Lessons learned
Building Mai in-house on open-source software made it reusable beyond Montferland. The VNG chose the virtual assistant, with Mai among its examples, as its first scaling initiative in March 2025, and by February 2026 it was scaling Mai itself1, 8, 9.
The outcomes are observations by Montferland’s own staff1. Mai still makes occasional mistakes, which Verloop said happen less and less often1. The chatbot tells residents at the start of a chat that it is learning and can make mistakes7.
An outside audit found Mai the least accessible of the municipal chatbots tested. Between December 30, 2025 and January 10, 2026, Wiep Hamstra and Jules Ernst checked 39 chatbots on 29 points, and Mai had 21 findings8. The researchers said such findings are easy to fix8.
The data protection officer found a gap in how Mai handles personal data that residents type in. The advice of October 24, 2024 noted that the chatbot had no clear incident procedure, and it recommended a button that lets users report such data themselves6.
Accounts of where Mai runs differ. Gemeente.nu and the DPIA say that Mai runs on the municipality’s own machines and that the data stays in-house1, 6. The register entry names Azure OpenAI deployments, on the municipality’s own instance, for the language and embedding models4.
Mai depends on current website content. Michael Rave, domain manager for operations, said that keeping the information current is a challenge because the chatbot uses it7. The project also showed the municipality that new AI projects need expertise such as legal affairs from the start7.
Case study scorecard
- Rules and standards: GDPR, EU AI Act
Sources by publication date
- Organization 3
- Vendors and partners 3
- Press, academic, and regulators 4
Build this solution yourself
Analysis
What you need
- Complete and current web content: Mai answers from the website, the by-laws and other municipal documents, so an outdated page becomes an outdated answer4, 7.
- A specialist who can build and run the stack: Montferland hired an AI specialist part-time rather than buy a product, and it runs Flowise and Qdrant on its own servers2, 4.
- Privacy and transparency work before launch: Montferland completed a DPIA, an external penetration test and a register entry before going live4, 7. You also need a procedure for personal data that residents type into the chat6.
Reference architecture
Conversational assistant
A conversational assistant answers the questions of customers or employees in a chat inside an app or website, from the organization's own content and records, and can carry out simple requests. A language model works out what the person asks, and the assistant answers from the knowledge content or the person's records. Staff take the conversations that the assistant doesn't settle, and a team improves the assistant from ratings, conversations, and monitoring.
- App or website
- Chat interface (documented in this case study)
- Assistant platform (documented in this case study)
- Context assembly
- Model gateway
- Language model (documented in this case study)
- Guardrails
- Content search (documented in this case study)
- Knowledge content (documented in this case study)
- Tools and actions
- Fixed workflows (documented in this case study)
- Business systems
- Predictive models
- Handoff to staff
- Feedback capture (documented in this case study)
- Monitoring
A check mark shows a building block that this case study's sources document.
Open the reference architectureOthers who built it
- Nebraska Department of Motor Vehicles: Nebraska DMV's AI assistant cuts calls and goes statewide. Driver and licensing calls fell roughly 20% in the DMV pilot, and the assistant went statewide.
- Ingka Group: How IKEA's Billie chatbot moved call staff into design sales. Billie resolved 47% of enquiries by 2023, and 8,500 call staff were reskilled for remote sales.
- LATAM Airlines Group: How LATAM Airlines tunes its Concierge agent from traces. Redesigns cut Concierge's cost about 15% and its out-of-scope messages from 13% to 1%.
- Walmart: Sparky shopping agent use rises 129% in a year at Walmart. US use of Sparky rose 129% in a year, and baskets built with it were 40% larger.
- Woolworths Group: Woolworths turns Olive into a Gemini grocery shopping agent. The agentic Olive went live for about 200,000 Woolworths staff before its July 2026 app rollout.
- Gemeente Goes: Goes municipality's AI chatbot Guus answers 60% of questions. Guus answered 60% of residents' questions after a year, up from about 30% for the scripted bot.
Cite this case study
Enterprise AI Case Studies. "Montferland's home-built chatbot answers residents 24/7." Updated Nov 26, 2026. https://case-studies.ai/case-studies/customer-engagement/CE-113-in-house-resident-chatbot-montferland/
@misc{csai-ce-113,
author = {{Enterprise AI Case Studies}},
title = {{Montferland's home-built chatbot answers residents 24/7}},
year = {2026},
note = {Updated 2026-11-26},
url = {https://case-studies.ai/case-studies/customer-engagement/CE-113-in-house-resident-chatbot-montferland/}
}Sources
The following reporting, and every passage quoted from it, belongs to its publisher, not to this site. Sources and ownership
- Source 1:
Montferland koploper met huisgemaakte AI
Supporting excerpts (20)
De gemeente lanceerde in oktober de AI-chatbot Mai (kort voor Montferland AI), die meteen op landelijke aandacht kon rekenen.
Mai is volledig in eigen beheer ontwikkeld en draait op eigen machines. Alle data blijven daarmee binnen het eigen ecosysteem van de gemeente.
De software is open source, dus vrij voor anderen om te gebruiken.
Mai heeft de verwachtingen overtroffen, vertelt AI-specialist Daniel Verloop van Montferland.
In de feedback die we op antwoorden krijgen, zien we dat onze inwoners het enorm waarderen om buiten kantooruren direct antwoord te krijgen.
Mensen bedanken Mai zelfs spontaan na het krijgen van een antwoord.
Ook zien we het aantal veelgestelde vragen aan onze servicedesk afnemen.
Af en toe maakt Mai fouten, maar dat komt gelukkig steeds minder voor, aldus Verloop.
Het feedbackmechanisme helpt ons om de chatbot continu te verbeteren.
Andere gemeenten kunnen met herbruikbare bouwblokken van Mai een eigen virtuele assistent bouwen.
De door Montferland zelf ontwikkelde technologie draait net als Mai op een eigen machine, dus in een gesloten omgeving.
van het beoordelen van beschikkingen en het corrigeren van brieven tot het schrijven van beleid en het brainstormen over ideeën.
De aanleiding voor Montferland om met AI te beginnen was een succesvolle pilot met een demo-chatbot bij de griffie medio 2024, om vragen van raadsleden over de Kadernota 2025 te beantwoorden.
Een van de redenen om AI in te zetten, is personeelskrapte.
Zo werkt Montferland aan een robot die vragen kan analyseren die via het info-mailadres en het contactformulier op de website binnenkomen.
Nu moet een medewerker de vragen een voor een in de digitale postkamer bekijken en naar de betreffende afdeling doorsturen.
Zo is voorafgaand aan de lancering van Mai de beschrijving van het algoritme openbaar gemaakt in het landelijke Algoritmeregister
Dat heeft het vertrouwen binnen de organisatie en bij onze inwoners vergroot.
We hebben expliciet besloten dat persoonlijk contact altijd beschikbaar blijft.
Op die manier borgen we dat inwoners die minder digitaal vaardig zijn, of gevoeligere zaken willen bespreken, de menselijke maat blijven vinden.
- Source 2:
Montferland: klein, maar groot in AI
Supporting excerpts (13)
Via zijn eigen bedrijf bouwt Verloop AI-systemen voor de overheid.
Sinds medio vorig jaar is de AI-specialist deels in dienst bij Montferland voor de ontwikkeling van AI-toepassingen.
Antwoorden zijn niet altijd objectief, en politieke kleuring wil je voorkomen.
Daarom willen we zelf toepassingen ontwikkelen.
voor drie jaar een jaarlijks budget van 100.000 euro toewees om te pionieren
De chatbot, die 24/7 vragen van inwoners beantwoordt, is in eigen beheer ontwikkeld en draait op de eigen machines, zegt Verloop.
We wilden het gebruik van ChatGPT beperken, want alle data gaan direct naar ontwikkelaar OpenAI.
De Europese AI-verordening schrijft sinds februari voor dat medewerkers
Zo zijn bij de ontwikkeling van Mai medewerkers van verschillende afdelingen betrokken geweest
van ICT en juridische zaken tot communicatie
Dit heeft de bewustwording vergroot en drempels verlaagd.
Montferland werkt met het Kenniscentrum Innovatie van de VNG samen in GROEI.
Voor de opschaling en uitrol van chatbot Mai is 400.000 euro beschikbaar.
- Source 3:
Trial en error met gemeentelijke chatbots
Supporting excerpts (5)
Montferland wilde het eerst extern
maar besloot toen om een AI-expert in dienst te nemen om zelf een chatbot te bouwen, volledig in eigen beheer, op basis van een eigen GenAI-model (generatieve AI).
Zo blijft de data ook lokaal.
Dat vonden wel echt een pre, en misschien zelfs wel essentieel
geeft de chatbot keurig een aantal opties met linkjes waar je dat kunt doen.
- Source 4:
Supporting excerpts (17)
Het doel van Mai is om burgers sneller en 24/7 antwoorden te geven op hun algemene vragen.
Dit ontlast de medewerkers op de livechat, zodat zij zich kunnen richten op complexere taken waarvoor menselijke tussenkomst nodig is.
Kwaliteit van antwoorden in vergelijking met menselijke medewerkers
Correctheid en nauwkeurigheid van de gegeven informatie
Vermogen om binnen het onderwerp te blijven
Er is een Data Protection Impact Assessment (DPIA) uitgevoerd en een penetratietest door een externe partij om de veiligheid te waarborgen.
In principe functioneert Mai zelfstandig zonder directe menselijke tussenkomst. Echter, de antwoorden van de chatbot worden nauwlettend gemonitord door medewerkers van de gemeente.
Feedback van burgers na ieder chatgesprek wordt gebruikt om het systeem continu te verbeteren.
Constante monitoring van de chatbot-prestaties
Mogelijkheid tot direct ingrijpen indien nodig
Informatie van de gemeentelijke website
De Algemene Plaatselijke Verordening (APV)
Aanvullende documenten met gemeentelijke informatie
Mai is gebaseerd op een RAG-systeem (Retrieval-Augmented Generation)
Platform: Flowise (open-source, on-premises gehost)
Vector Database: Qdrant (open-source, on-premises gehost)
Large Language Model (LLM) en Embedding: Azure OpenAI deployments (eigen instantie)
- Source 5:
Supporting excerpts (3)
Mai is een chatbot die 24/7 algemene vragen van burgers beantwoordt op de website van gemeente Montferland. De chatbot vervangt de huidige livechat om wachttijden te verminderen en directe antwoorden te bieden.
benadering, waarbij menselijk toezicht een cruciale rol speelt in het monitoren en bijsturen van onze AI-systemen.
We zijn momenteel bezig met het opstellen van AI-richtlijnen en het oprichten van een AI governance board.
- Source 6:
DPIA Chatbot 2.0 (geanonimiseerd)
Supporting excerpts (24)
Het bericht van de gebruiker wordt door de LLM geanalyseerd op intentie , daarna geoptimaliseerd
voor vectorisatie t. b. v. similarity search inde relevante vector database(s) , daarna wordt het
oorspronkelijke bericht inclusief opgehaalde documenten gevoed aan een LLM die een antwoord
formuleert. De gebruiker kan na ieder bericht ook nog feedback leveren in de vorm van een
duimpje omhoog/omlaag en een vrije input.
Alle systemen draaien on-premise en alle gegenereerde info blijft
Door de inzet van de chatbot hebben onze KCC medewerkers meer tijd voor complexe zaken en
De inwoner wordt altijd meteen te woord gestaan bij een breed scala aan vragen , ook in de
naam en andere persoonsgegevens invoert (hoewel dit vooraf duidelijk wordt aangegeven niet te
uitbreiding die automatisch een melding maakt in het geval dat een gebruiker toch
Binnen de gemeente krijgen alleen de functionarissen , die belast zijn met het
Om de transparantie van de toepassingte borgen is Privacy by Design en Default toegepast , worden
gebruikers vooraf geïnformeerd , worden toegangslogs bijgehouden en de gegevensverwerking
De rechtsgrond voor de verwerking is gelegen in AVG artikel 6 lid l.e
Daarnaast is ook het informatiebeveiliging normenkader BIO (baseline informatiebeveiliging
Bij aanvang van de ontwikkeling van de Chatbot MAI is ook een DP IA uitgevoerd. Het resultaat van die
DPIAwas , dat er sprake was van een redelijk risico
dóórontwikkeling van MAI in een on premise omgeving hebben ertoe geleid dat het huidige risico voor
betrokkene als verwaarloosbaar kan worden ingeschat
Datum: 24 oktober 2024
Er is echter geen duidelijke
procedure voor incidentbeheer voor de chatbot.
Aanbeveling 3: Laat tot die tijd een gebruiker via een button in de interface zelf melden dat
Risicoclassificatie Al Chatbot MAI
- Source 7:
Montferland proactief en verantwoord aan de slag met AI
Supporting excerpts (10)
14 oktober 2024 ging de chatbot Montferland AI (Mai) live.
Ze publiceerden de beschrijving van het algoritme daarvoor al in het Algoritmeregister.
Montferland voorziet een arbeidsmarktkrapte door vergrijzing
We monitoren in de beginfase extra uitgebreid hoe het gaat.
We hebben alles uitvoerig getest en het gaat erg goed, maar soms maakt Mai een fout.
Daarom geeft de chatbot aan bij het begin dat zij lerende is en fouten kan maken.
Montferland blijft de andere communicatiekanalen gebruiken, het is nadrukkelijk een plus.
Nevenopbrengsten van het ontwikkelen van de chatbot is dat de informatie op de gemeentelijke website helemaal is bijgewerkt.
Een uitdaging is die informatie actueel te houden, omdat de chatbot daar gebruik van maakt, vertelt Rave.
Het was voor ons een eye opener dat wij voordat we nieuwe projecten gaan beginnen allerlei deskundigheid nodig hebben, denk bijvoorbeeld aan Juridische Zaken.
- Source 8:
Gemeentelijke chatbots nog niet toegankelijk
Supporting excerpts (8)
Geen enkele gemeentelijke chatbot voldoet aan de wettelijke toegankelijkheidseisen die de overheid stelt aan websites en webapplicaties.
Het verst verwijderd van de norm is chatbot Mai van de gemeente Montferland, met 21 bevindingen.
Tussen 30 december 2025 en 10 januari 2026 onderzochten Hamstra en Ernst 39 gemeentelijke chatbots op.
Elke chatbot werd op 29 meetpunten doorgelicht.
De bevindingen zijn echt eenvoudig te fiksen, maar toch gebeurt het niet
Met behulp van een subsidie van het ministerie van BZK is de VNG momenteel bezig met het opschalen van Mai, de chatbot met de meeste toegankelijkheidsproblemen.
Mai moet uitgroeien tot de landelijke standaard voor een virtuele AI-assistent.
Meer dan 100 overheidsorganisaties zouden interesse hebben om de AI-assistent in te zetten.
- Source 9:
Virtuele AI-assistent wordt eerste opschalingsinitiatief
Supporting excerpts (3)
Als eerste initiatief is gekozen voor de opschaling van de virtuele assistent.
De virtuele assistenten van Montferland AI (Mai), Gem en de Friese Aanpak zijn vergelijkbare initiatieven om de dienstverlening op peil te houden in tijden van arbeidsmarktkrapte.
Het doel van dit opschalingsinitiatief: 20 replicerende (profijt)gemeenten die eind 2025 de herbruikbare
- Source 10:
Supporting excerpts (2)
Flowise is an open source generative AI development platform for building AI Agents and LLM workflows.
Chatflow is designed to build single-agent systems, chatbots and simple LLM flows.
Comments
Start the conversation.
Invited members of the library comment here. Sign in to join the conversation.