Agents / moi

Permit Application Review Agent

Document ProcessingGovernment-RestrictedHigh riskGov Reuse5.1K runs/30d

End-to-end reviewer for residence and work permit applications submitted through Metrash2. It extracts applicant data from scanned documents, cross-checks it against national registers, and drafts an approval recommendation for the reviewing officer. Every recommendation carries a full evidence trail and confidence score.

Tools

  • Document OCR (qid-document-ocr)
  • Entity register lookup
  • Sponsor establishment register API
  • Fanar Gov 7B
  • Case management writer (Metrash2 backoffice)

Data access scope

  • Read-only: establishment register and sponsorship records
  • Read-only: permit application queue assigned to the reviewing unit
  • Write: draft recommendations to the case file only, never final decisions
  • No access to raw QID images after OCR extraction completes

Guardrails

  • Confidence < 0.85 on any extracted field routes the case to a human officer
  • Agent can only recommend: approval authority remains with the licensed officer
  • PII masked in all logs and telemetry
  • Automatic halt if register lookups disagree with applicant-declared data on more than two fields

Human-in-the-loop

  • Officer sign-off required on every recommendation before any status change
  • Mandatory human review for first-time sponsors and security-flagged nationalities list matches
  • Weekly sampled audit of 5% of auto-cleared cases by the quality unit

Orchestration

Trigger / IntakeLLM Orchestratorfanar-gov-7b-instructDocument OCR (qid-document-…Entity register lookupSponsor establishment regis…Fanar Gov 7BHumansign-off

Every tool call is scoped by the declared data access above; the orchestrator cannot reach systems outside it. Owning entity: Ministry of Interior.

Live demo run

Watch the agent execute a real scenario step by step, every tool call, validation, and human checkpoint is traced and auditable. Typical run: ~12.0s.

Used in workflows

Retiring this asset would require these chains to be re-pointed first.

Owning entity

moMinistry of Interior

Updated 2026-07-27. Run traces retained 24 months for audit under the platform governance policy.

Community · 1 thread

Questions, findings and requests from the entities that use this asset. Owners reply here; threads with upvotes surface to the owning entity's inbox.

How the 0.85 confidence threshold was chosen

Amna Al-Shahwani · Ministry of Interior · Consumer · 3 days ago

Our unit wants to reuse this agent for commercial licence renewals. Before we compose a workflow around it: is the 0.85 routing threshold a policy number or tuned on the permit data? #Agents #Reuse