How We Built an AI Platform for Municipal Consulting in the Republic of Moldova

Contents · 6 sections
From brief to delivery: a platform with built-in artificial intelligence that transforms how funding applications for town halls are prepared, from weeks of manual work to minutes of assisted processing.
The platform was delivered in 2026 with 100% of the contractual requirements implemented: all 81 features set out in the terms of reference were fully delivered, plus 20 extra features added at no additional cost. The system went through 156 test cases across 12 functional modules with a 98.7% pass rate and was approved for production use.
Today the platform is used daily by the client's team of consultants. A process that takes 2–3 weeks per application when done by hand is cut to under a minute of AI processing, plus a human review of the output.
Why this project matters
The Republic of Moldova has about 900 town halls, 87% of which serve fewer than 3,000 residents and have limited administrative capacity. These town halls constantly need funds for roads, water, sewerage, schools and health centres, but access to funding programmes is blocked by the complexity of the paperwork.
A standard application to a programme such as FNDRL, GAL, LEADER or Satul European includes:
- A detailed funding request (15–30 pages)
- A budget by category with VAT, co-financing and eligibility calculations
- The project rationale
- General and specific objectives
- An activity plan and implementation schedule
- Quantifiable result indicators
- A social, economic and environmental impact analysis
- A sustainability plan
- A risk analysis
- Programme-specific annexes (declarations, forms, certificates)
For a small town hall, hiring a consultant for such an application costs between 15,000 and 50,000 lei. For a consulting firm working with dozens of town halls at once, manual preparation becomes unsustainable: each application takes whole days of work, and the repetition leads to errors.
A private client of the MakeIT team, with an extensive portfolio in institutional consulting, came to us with a clear brief: build a platform that turns application preparation from manual work into AI-assisted work, while keeping the consultant's role as validator.
This article explains how we built it.
Solution architecture
Technology stack
For a project of this complexity (structured document management, extensive relational databases, integration with AI models and a professional web interface) we chose a mature, predictable stack:
| Component | Technology chosen | Reason |
| Backend | Laravel 12 with modern PHP | Mature framework, solid ecosystem, ideal for applications with complex business rules |
| Frontend | Server-rendered with Tailwind CSS | Fast performance without unnecessary SPA complexity |
| Database | MySQL | Stability, predictable performance, well-known ecosystem |
| AI engine | Anthropic Claude | Superior quality of Romanian text |
| DOCX/XLSX processing | Mature open-source solutions | Full control over formatting |
| Authentication | Passwordless via email codes | No risk of weak passwords |
| Hosting | Dedicated VPS with SSL | Stable performance, daily backups |
| Multilingual support | Native RO/RU/EN | Meets the needs of the Moldovan market |

The decision to use Claude AI was made during implementation, based on comparative tests: the quality of the Romanian text it generated proved significantly better for our use cases, which is essential for administrative documents that will be read and assessed by official committees.
Database schema
The system has more than 30 tables organised into 8 logical areas: users and system, municipality profiles, funding programmes, generated applications, questionnaires, URL monitoring, files and audit. All relationships use explicit foreign keys, with a polymorphic audit log on all main entities and a consistent status pattern (draft → active → archived).
The platform's modules
Module 1: Secure passwordless authentication
We removed passwords entirely. Instead, sign-in is passwordless, using one-time codes sent by email, with automatic expiry and protection against brute-force attacks.
The reason for this choice: weak passwords are the biggest vulnerability in systems with non-technical users. For consultants handling information about town halls, security matters more than familiarity. Email codes shift responsibility for security to the user's email account, which is usually better protected by 2FA and recovery options.
Module 2: Digital town hall profiles
Before the AI can do anything useful, each town hall needs a complete profile. We built a wizard that guides the consultant through four steps:
General data: official name, IDNO, district, locality, address, leadership team, demographic data (population, households, area).
Financial data: annual budget for three consecutive years, own revenue, debt ratio, available balance, subsidies received in recent years.
Documents: categorised upload of PDF/DOCX/XLSX files: financial statements, balance sheets, General Urban Plans, local council decisions, permits, development plans. File types and sizes are validated automatically, and a checksum is generated automatically for integrity.
Infrastructure profile: type of administrative-territorial unit, whether it is a disadvantaged area, percentage with access to water, percentage with access to sewerage, percentage of paved roads, gas network, number of schools, number of kindergartens.
The profile can be filled in over several sessions: the system saves progress as a draft and lets the consultant pick up where they left off. Once complete, the town hall becomes available to all the AI features.
Module 3: Funding programme management
Funding programmes are also defined through a four-step wizard: basic information (name, funder, maximum amount, minimum contribution, deadline), eligibility criteria, documents (guidelines, annexes, application templates, budget templates) and sub-measures for complex programmes.
For each programme, the system keeps a version history: every significant change to an active programme automatically creates a full snapshot. This ensures that applications generated with an older version of a programme remain valid even if the programme changes later.
Module 4: AI Parser for new programmes
This is where the truly innovative part begins. One of the biggest problems for consultants is keeping up with new programmes as they appear: the EU, the government, embassies and foundations constantly launch programmes with short application windows.
Our system:
- Automatically monitors official URLs: the websites of ministries, the EU, development agencies and foundations
- Detects changes by comparing content
- Automatically extracts the key data from a new programme's PDF or HTML (name, funder, deadline, maximum amount, eligibility criteria, required documents) using Claude AI
- Generates a draft programme that appears in the admin panel
- Alerts consultants with an in-app notification
The consultant reviews the draft, validates it with minor corrections and clicks “Create programme”. The programme then enters the database and becomes available for eligibility checks.
The impact: the time from “a new programme appears” to “town halls can apply for it” drops from weeks to hours.
Module 5: AI eligibility checker
Based on the town hall's profile and the programme's criteria, the AI automatically assesses and generates:
- A clear verdict: eligible / eligible with conditions / not eligible
- An overall match score (0–100)
- The list of criteria met, with contextual details
- The list of criteria missing or partly met
- Warnings about issues that could jeopardise the application
- Concrete recommendations for becoming eligible
- History: every check is stored for auditability
A full check takes between 5 and 12 seconds. The AI inference cost per check is minimal, under 0.15 EUR, which makes the feature economically sustainable even at high volume.
Module 6: AI generator of complete applications

This is the engine that justifies the platform's existence.
Input
- The selected town hall (its profile data is already in the system)
- The target programme (its criteria, documents and templates are already in the system)
- The project objective, entered by the consultant as free text
- Optional instructions for the AI
- The target budget
Orchestrated AI processing
Behind the scenes, the system runs a structured sequence of AI operations:
- Project description: context, rationale, fit with the programme's objectives
- Objectives: a general objective plus 3–5 specific SMART objectives
- Activities: a list with deadlines, responsible persons and indicators
- Structured budget: expense categories, VAT calculation, own co-financing, grant amount, eligibility calculations per category
- Result indicators: quantifiable and measurable
- Impact analysis: social, economic, environmental, sustainability
- Risk analysis: identified risks plus mitigation measures
Filling in official templates
Besides the application itself, the system automatically fills in the programme's official DOCX and XLSX templates. The logic includes direct processing of the internal structure of Office documents (keeping 100% of the original formatting), handling cells with formulas and calculations in Excel, automatic detection of the template's language (Romanian or English) and an AI parser that automatically identifies which fields need to be filled in.
Output
- The generated application is shown in an editor with a built-in preview
- The consultant can edit every section manually
- Spellcheck is enabled on all elements
- Individual export: DOCX or PDF per template
- Full export: a ZIP archive with the request, the budget, all completed templates and the supporting documents
Module 7: Template editor
For DOCX templates, we built a visual editor that offers a document preview, manual editing of paragraphs directly in the interface, AI regeneration of individual sections (when the consultant is not happy with a particular text), changes to the values in completed fields and automatic completeness validation.
Module 8: Town hall portal
One of the features we added beyond the contractual requirements is a portal with external access for town halls.
How it works:
- The consultant generates a secure token for a partner town hall
- The town hall receives an email with an access link
- On opening it, the town hall signs in with a one-time code
- It sees a simplified dashboard with its profile
- It can edit its basic data, financial data and infrastructure profile directly
- It can upload new documents
- It can download generated documents
Why it matters: it ends the back-and-forth of emails between the consultant and the town hall. Data and documents are updated directly and automatically, without intermediaries. It dramatically reduces administrative friction.
Module 9: Questionnaire system
To collect additional information from town halls in a structured way, we built a complete questionnaire system: custom questionnaires with configurable fields, drag-and-drop reordering, duplication as templates, sending by email with a unique link, responses visible immediately, and export to DOCX or PDF.
Module 10: URL monitoring and notifications
Adding URLs to monitor, automatic checks at a configurable frequency, a list of automatically detected projects, marking projects as “read” or “turned into a programme”, and an in-app notification system.
Module 11: Analytics dashboard
The home page with statistics cards (total town halls, applications generated, success rate, active guidelines), prominently displayed deadlines, recent notifications and quick access to the main modules. Plus a dedicated reports page with charts showing trends over time and statistics per user.
Module 12: Full audit log
All important actions are recorded using a polymorphic pattern: who performed the action, what they did, on which entity and when. This provides full transparency and makes it possible to trace the history of any entity in the system, which is essential for a system that handles official documents.
Security and compliance
For a system that handles data about town halls and official documents, security is not optional.
Technologies and measures implemented
- HTTPS across the entire platform
- Automatic daily backups, tested regularly
- Files kept in private storage, accessible only through an authenticated controller
- Automatic file integrity checks
- Rate limiting on sensitive endpoints
- Protection against common attacks (CSRF, SQL injection, XSS)
- Strict upload validation (type, size)
- Clear separation of access roles
Legal compliance
- A Privacy Policy compliant with the GDPR and Law No. 133/2011
- A cookie consent banner that meets European standards
- All libraries used are open source with compatible licences
- Data stored in Moldova, in line with data residency requirements for institutional data
Performance in production
Average response times measured in the production environment:
| Operation | Average time |
| Dashboard load | 1.2 seconds |
| Town hall list (50 items) | 0.8 seconds |
| Wizard navigation | 0.5 seconds |
| 5 MB document upload | 2.1 seconds |
| Full AI application generation | 15–45 seconds |
| DOCX export | 2.5 seconds |
| Full ZIP archive export | 4.2 seconds |
| AI template filling | 8–20 seconds |
| AI eligibility check | 5–12 seconds |
For AI operations that take longer than 8–10 seconds, the system shows a visual loading indicator with a contextual message, so the user gets clear feedback.


Testing and quality
Before delivery, the system was tested exhaustively:
- 156 documented test cases
- 155 PASS, 1 PARTIAL: a 98.7% pass rate
- 12 modules fully tested
- 4 browsers validated: Chrome, Firefox, Safari, Edge
- Security tests: all main categories checked
The full QA report is part of the documentation delivered to the client.
Documentation delivered
Along with the source code in a Git repository, we delivered a complete package of technical and operational documentation to the client:
- The complete system architecture
- Detailed database documentation
- A step-by-step installation and deployment guide
- An administration and backup guide
- A user guide for consultants (end users)
- A user guide for administrators
- A full test report
- The final acceptance report
Plus on-site training at the client's office for the team that will use the platform.
The most interesting technical challenges
Challenge 1: Generating complex Word documents without losing formatting
Official programmes come with DOCX templates that have complex formatting: headers, footers, nested tables, paragraph styles, automatic numbering. Generic template engines sometimes lose formatting or introduce visual artefacts.
Our solution: direct processing of the internal structure of DOCX files, which gives us full control over the structure and keeps 100% of the original formatting. The result looks identical to the original template, only with the values filled in.
Challenge 2: Automatic field mapping for unknown templates
When a new programme brings a DOCX template with dozens or hundreds of fields, it is impractical for an admin to manually map each field to the data in the town hall's profile.
Our solution: an AI Parser that scans the template, identifies the placeholders and their contextual labels, and automatically suggests the expected data type, the data source and the applicable validations. The administrator reviews and approves the mapping, cutting the effort from hours to minutes.
Challenge 3: Consistency of AI-generated text across an application
A 30-page application contains dozens of AI-generated sections that must be consistent with one another: the same project name, the same budget figures, the same objectives referenced in several places.
Our solution: generation runs as an orchestrated sequence, not as independent AI calls. Each step receives the data generated so far as context, ensuring, for example, that the total budget in the “Resources” section matches the breakdown by activity and the amount stated in the request.
Challenge 4: Versioning active programmes
Funding programmes change over time: amendments appear, deadlines shift, maximum amounts are adjusted. Applications in progress must remain valid even if the programme changes.
Our solution: a versioning system with full snapshots in a structured format. With every significant change, the system automatically creates a snapshot. Applications reference the version of the programme at the time they were generated, so an application generated in March remains valid and consistent even if the programme changed in May.
Status and roadmap
Today the platform is live, stable and in production, used daily by the client's team of consultants. All the main features work according to specification.
Identified for further development during the technical warranty period:
- Advanced comparative analysis across town halls
- Extended email notifications
- Additional reporting modules
- Performance optimisations for high-volume operations
What this project demonstrates
Full technical capability
We delivered an application with more than 30 tables, 12 functional modules, complex AI integration, more than 15,000 lines of code and extensive documentation, to the standard of a firm with a much larger team.
Delivery discipline
81 of 81 requirements fully implemented, 0 postponed, 0 renegotiated, plus 20 extra features added at no additional cost to the client.
Understanding of the domain
The solution is not a generic application. It is built on a deep understanding of how public funding applications work in Moldova, with correct legal terminology, application structures that match the requirements of real funders, and eligibility checks that reflect the rules of national programmes (FNDRL, GAL, LEADER, Satul European and others).
AI at product level
Claude AI is integrated into six distinct modules, each with calibrated prompting, call orchestration, output validation and fallbacks for error cases. This is artificial intelligence used as the product's core technology, not as a marketing feature.
Institution-grade compliance and security
The system is approved for production use in a field that handles data about town halls and official documents, has passed all security checks, and comes with complete legal documentation compliant with the GDPR and Law No. 133/2011.
Do you have a similar project?
The type of project described here (a multi-tenant SaaS platform with AI integration that complies with Moldovan regulatory requirements) is exactly the kind of project the MakeIT team can replicate for other verticals:
- Platforms for public institutions and district councils
- Management systems for organisations working with European funds
- Digitalisation solutions for the non-profit sector
- Enterprise applications with an AI engine for private-sector companies
This platform shows that we have built these capabilities. The next project can benefit from the knowledge we have gained.


