AI agents — Morocco
Agents that do the work, files to prove it
AI agents for Moroccan back offices — banking, insurance, lending: KYC, claims and complaints handled with human oversight and CNDP compliance.
In brief
An AI agent runs a process from end to end — reading a file, querying the systems, preparing a decision — where a chatbot merely answers. Hunter BI designs and deploys these agents for Moroccan back offices, banking and insurance first: assembling KYC files, triaging complaints, handling claims. Every agent is logged, supervised by a human on sensitive actions and compliant with the CNDP framework on automated decisions.
Moroccan back offices carry a workload everyone knows about and no one sees: KYC files to complete, complaints to qualify, claims to handle, supporting documents to verify — thousands of repetitive, documented operations, each of low unit value but high compliance stakes. This is exactly the territory of AI agents.
Unlike the chatbot that converses, the agent acts: it reads the documents in a file, consults the core banking system or the claims-management tool, applies the business rules, prepares the decision and submits it for human validation when it calls for one. Hunter BI designs these agents for Moroccan banks, insurers and finance companies, with the obsession the sector demands: full traceability, human oversight and compliance with the CNDP framework on automated decisions.
Updated 14 July 2026
01
AI agents in Morocco: automating the back office without losing control
Back-office automation is not a new subject in Morocco — RPA has had both its successes and its disappointments here. AI agents change the picture on one precise point: they process unstructured information, which makes up most real-world files. An identity document scanned askew, a handwritten accident report, a supporting document in Arabic followed by a contract in French: where RPA stops, the agent reads, understands, extracts and carries on with the process.
Our approach comes down to one rule: the agent proposes, the organisation decides. Every agent deployed by Hunter BI operates within an explicit perimeter — the actions it can perform on its own, those it prepares for validation, those forbidden to it. This framing is not a rhetorical precaution: it is a direct requirement of the Moroccan regulatory context, where Law 09-08 governs automated individual decisions and where sector supervisors expect a complete audit trail. A refusal of credit or of a claim remains a human decision; the agent has merely prepared the case for it — faster, more completely and more consistently than manual handling.
02
Banking and insurance: the most profitable opportunities
In banking, three opportunities dominate. KYC and remediation: gathering documents, checking completeness, detecting inconsistencies, preparing the file for the compliance officer — a massive workload that anti-money-laundering requirements keep making heavier. Complaints: qualification, linking to the customer file, drafting a response, escalation by criticality. Credit: pre-processing of files, verification of income supporting documents, a summary for the committee — the analyst keeps the decision, the agent removes the data entry.
In insurance, under ACAPS supervision, the main opportunity is the claims chain: opening the file when the declaration arrives, reading the accident report and the documents, checking the guarantees against the contract, a preliminary estimate, routing to the case handler or the expert. To this are added underwriting — analysis of questionnaires and medical documents in compliance with the sensitive-data regime of Law 09-08 — and documentary fraud detection, where the agent flags the inconsistencies a rushed handler no longer sees. On these processes, the gains observed are measured in days of processing time saved and in case-handler hours reallocated to complex cases.
03
The architecture of an agent that holds up in production
The agent demo is built in three days; the production agent, however, must survive the awkward cases, the outages of the systems it queries and the internal audit. Our typical architecture comprises four layers. System access: MCP connectors to the core banking system, the document-management system, the claims tool — governed, reusable, with rights specific to the agent, never those of a human user. Business rules: explicitly encoded, versioned, editable by your teams without rewriting the agent. Guardrails: a scope of action, confidence thresholds below which the agent hands over, detection of sensitive data. Logging: every read, every system call, every proposal is traced — this is what makes the agent auditable by your internal control and defensible before a supervisor.
This level of demand explains our position on platforms: we build on OpenAI or Anthropic models depending on the use case, in the cloud or on sovereign infrastructure depending on the sensitivity of the data — both paths are detailed on our dedicated pages.
04
Start small, measure, expand
The first agent is the most important: it establishes — or ruins — the organisation's confidence in the approach. We therefore choose it against three criteria: enough volume for the gain to be visible, a documented process so the rules can be encoded, and controlled risk so any residual error can be caught. Triaging complaints or checking KYC completeness often tick all three boxes; the automatic refusal of a claim, never.
The pilot runs six to eight weeks, with indicators defined before launch: the share of files handled without human rework, the average lead time, the error rate compared with manual handling — because manual handling has an error rate too, and it must be measured to compare honestly. Only then comes the expansion: new processes, new scopes of action for the existing agents, shared connectors. The Moroccan organisations that succeed with their agents are the ones that treat them like new recruits: a trial period, measured objectives, a gradual increase in responsibility.
Sectors
Where value shows up first
The Moroccan contexts where we most often step in — and what AI concretely changes there.
Banking back office
KYC, remediation, complaints, credit pre-processing: the agents absorb the documentary workload and leave the decision to the compliance and lending teams.
Insurance and claims
Opening and handling claims files, checking guarantees, underwriting: shorter lead times under ACAPS supervision, with full traceability.
Consumer credit and leasing
Verifying supporting documents, documentary scoring, preparing committees: Moroccan finance companies handle more files without growing the back office.
Mutual insurers and provident funds
Reimbursements, prior authorisations, checking medical documents: recurring volumes handled faster, in compliance with the health-data regime of Law 09-08.
Frequently asked
What is the difference between an AI agent and a chatbot?
The chatbot answers questions; the agent runs a process. An AI agent reads the documents in a file, queries your systems through connectors, applies business rules and prepares an action or a decision — with human validation when the stakes require it. The chatbot improves the conversation; the agent reduces the backlog of pending files.
Can an AI agent refuse a credit application or a claim without human intervention?
We never recommend it, and the Moroccan framework points the same way: Law 09-08 governs automated individual decisions, and the expectations of the banking and insurance supervisors converge on a documented human decision for adverse acts. The agent investigates, completes, proposes and gives reasons; the refusal remains signed by a case handler or a committee.
How does an agent integrate with an existing core banking system or claims tool?
Through dedicated connectors — we favour MCP, the open standard for connecting models to systems — exposing only the operations the agent needs, with its own logged rights. No robot driving a user's screen: governed, testable and reusable interfaces for the agents that follow. Your IT teams keep control over every exposure.
How long does it take to put a first agent into production in Morocco?
Allow three to four months between scoping and real production: a few weeks to choose the right process and encode the rules, six to eight weeks of a measured pilot on real files run in parallel with manual handling, then the hardening — handling edge cases, the security review, and training the teams that will supervise the agent day to day.
What does the CNDP say about automated processing of customer files?
The processing of personal data carried out by an agent falls under Law 09-08: prior declaration or authorisation with the CNDP depending on the nature of the data, information of the individuals concerned, and specific rules for automated individual decisions. We build these formalities into the project from the scoping stage, with your data protection officer or your legal department.
Book a call in Casablanca or remotely.
Thirty minutes with a Hunter BI consultant: your context, your data, your compliance constraints and the use cases worth launching first.
- Réponse sous 24 h ouvrées, par un ingénieur
- Diagnostic gratuit, sans engagement
- Membre des réseaux partenaires OpenAI et Anthropic