Govtech is technology that delivers public services, and for AI in government I follow one pattern: fixed rules work out the result, a person approves the action and every step is signed into a record. What I can show is Wakeel, a prototype I designed and built for Dubai rent renewal. It calls a rules engine through tools, waits for approval, takes Gulf Arabic voice input and passed 11 of 11 live evaluation scenarios. It is a prototype, not a government contract.
Rules that decide the figures
The agent calls a fixed rules engine through tools, so the same case gets the same result every time.
A person approves
The agent stops before acting and waits, so a person stays accountable for each step.
A record that shows tampering
Each step is signed and chained to the one before, so an edited entry stands out. A tamper test checks that it does.
Arabic, English and voice
People can type or speak in Arabic or English, with voice input that handles Gulf Arabic.
Map the service
The steps, the rules, who approves what and what must be recorded, agreed with the people who run the service.
Write the rules as code
The rules go into an engine the agent calls, reviewed by the service owners before any AI touches them.
Build around approval
The Arabic and English conversation, the approval step and the signed audit trail, designed together from the start.
Evaluate, then pilot
Scripted scenarios and attack attempts in both languages, then a narrow pilot with real staff.
Technology
- TypeScript
- Next.js
- Node.js
- PostgreSQL
- zod
- GitHub Actions CI
- Playwright
What govtech is, and where AI in government fits
Govtech is the software behind public services: applications, renewals, permits, payments, records and the questions people ask about all of them. Smart government, a phrase heard often in Dubai, puts the goal simply: services that work from a phone, at any hour.
AI in government is the newest layer. Done well, it lets people ask in their own words and language, explains which rules apply, prepares the paperwork and sends the case to the right desk. It should not decide who is entitled to what. That belongs to rules written as code and to the officials who answer for them.
Why government AI must be governed
A shop can apologize for a wrong answer and move on. A public service has to apply the same rules to everyone, explain each outcome and defend it later in an audit, an appeal or a dispute. A language model on its own cannot promise any of that, so each public-sector need gets its own control:
- Consistency: a fixed rules engine works out the result, and the agent calls it as a tool instead of reasoning its way to an answer.
- Accountability: the agent prepares each step, and a person approves it before anything happens.
- Evidence: every step goes into a signed, hash-chained audit trail, so a later edit shows.
- Access: Arabic and English, typed or spoken, so people can use the language they think in.
Wakeel: a government AI agent prototype for Dubai rent renewal
Rent renewal makes a demanding test for public-sector AI: official rules, money, two parties, and a need to show later what happened and who approved it. Wakeel is a prototype I designed and built around that process. It is not a government contract, and it is not a live public service.
- AskThe request comes in Arabic or English, typed or spoken, with voice input that handles Gulf Arabic.
- Check the rulesThe agent calls the fixed rules engine through tools and explains the result it gets back.
- Wait for a yesNothing is carried out until a person approves the step.
- Sign the stepThe step is signed into the hash-chained audit trail, which a tamper test checks for altered entries.
The core of this pattern also runs in a live product: in Posific, my POS software for UAE shops, fixed rules produce every figure, VAT 201 figures included, and any action the agent drafts waits for a person.
Bilingual access: Arabic, English and Gulf Arabic voice
A public service that works well in only one language leaves part of the public behind. In the UAE, that means Arabic and English at the least, right-to-left screens done properly, and voice for people who find forms hard. Spoken Gulf Arabic differs from the formal Arabic of most written text, so voice input has to be tested with real Gulf speech.
Wakeel works in Arabic and English and takes Gulf Arabic voice input. Whatever language a request arrives in, it should meet the same rules, the same approval and the same record.
Evaluation before launch, and after every change
Government AI should pass an exam before it meets the public. An evaluation is a fixed set of scripted cases, each with a known right outcome and a clear pass or fail, run against the live system. Wakeel went through its live scenarios and passed 11 of 11.
Eleven scenarios suit a prototype. A real service needs far more, written with the staff who handle the cases today: everyday requests, unusual cases, both languages, voice, and attempts to talk the agent around its rules. For scale, the shop assistant I built for mustashar.ae faced 240 normal scenarios and 40 attack attempts before launch. After launch, every change should rerun the full set.
From prototype to pilot: cost drivers and common mistakes
A pilot should cover one service, not a whole department. The work grows with:
- The number and complexity of the rules, and who signs them off.
- The systems the agent must read from or write to, such as records, payments and identity checks.
- Languages, voice and accessibility needs.
- Who approves what, and how long records must be kept.
- The size of the evaluation set and the depth of the security review.
The usual mistakes are asking the model to interpret the law, launching a chatbot with no route to a person, keeping logs that anyone can quietly edit, and testing only in English.

Wakeel
A prototype AI agent for Dubai rent renewal that calls a rules engine, waits for a person’s approval and signs every step into a tamper-evident audit trail.
Posific
An offline-first POS and accounting system for UAE shops, on the web, Android and Windows. Its AI business agent explains and drafts, and a person approves every action.
What does govtech mean?
Govtech means the technology governments use to deliver public services: online applications and renewals, payments, records, and tools that answer questions. AI is its newest part and the hardest to get right, because a public service must apply rules consistently and stand up to audit.
How is AI used in government?
Common uses include answering residents’ questions in their own language, helping people complete applications, summarizing case files for staff, translating, and routing requests to the right team. The safest designs keep decisions with rules and people. In Wakeel, my rent-renewal prototype, the agent explains results from a fixed rules engine and waits for a person’s approval.
What are the risks of AI in government?
The main risks are inconsistent answers, outcomes nobody can explain, actions taken without authority, records that can be altered, and services that work poorly in some languages. Each has a matching control: a rules engine for consistency, an approval step for authority, a hash-chained audit trail for records, and evaluations in every language before launch.
Can AI make decisions in public services?
It should not make them alone. An AI agent can gather the facts, call the rules that apply, explain the result and draft the next step. The decision should come from fixed rules and a person who answers for it. In Wakeel, the rules engine works out the result and a person approves it.
Is Wakeel used by a government?
No. Wakeel is a prototype I designed and built to show how a governed AI agent can work in a rule-bound public process, with Dubai rent renewal as the case. It is not a government contract or a live public service. Passing 11 of 11 live evaluation scenarios is evidence for the pattern, not a deployment.
What is a government AI agent?
A government AI agent is software that works on a public-service task in steps: it understands a request, looks up the rules and records it may use, prepares an action and hands it to a person. Unlike a chatbot, it can act, so it needs firm limits, an approval step and a record of everything it does.
AI governance
AI governance built into the software: a human in the loop for important actions, fixed rules for the numbers, an audit trail and evaluations on every change.
AI agents
AI agents that work with your tools, data and rules, designed and built end to end, with a person approving the important actions.
Multilingual AI
AI agents and chatbots that work in many languages, Arabic and English included, with right-to-left interfaces, voice input in local dialects and answers grounded in real data.
AI voice agents
AI voice agents for business, in Arabic and English, that look up real data, hand over to people and wait for approval before important actions.
AI in retail
Practical AI for shops: an assistant that answers from live product data and a business agent that explains the figures, while rules keep prices and stock exact.
In depthMVP development
A first version that does one job well for real users: scoped tight, built fast, and tested and secured like a product.
In depth
Human in the loop AI: how I keep AI agents under control
Where to put a person in an AI workflow, how to design approvals people actually read, and the governance framework I use for agents that handle money and customers.
Nov 7, 2026 · 8 min readHow to evaluate an LLM app before it goes live
A practical LLM evaluation method: define good behavior, build normal and attack scenarios, grade with code where you can, and run it all again on every change.
An AI agent, an app, a platform or a growth problem. Tell me what you want to achieve and I’ll tell you how I’d build it.
Start a project















