AI Agents & Automation

Arabic AI assistants that understand how your customers really write

An Arabic AI assistant has to understand Modern Standard Arabic, Gulf dialects and English, often in one message, find answers in text that spells the same word several ways, and reply in a register your customers find natural. The model is only part of it. Arabic-aware search, a right-to-left chat that copes with mixed text, and testing by native speakers decide whether it works.

Book a workflow review

The Arabic your customers actually send

Support messages rarely read like a news bulletin. Customers write in their own dialect, mix in English, skip the vowel marks and spell one word several ways. 'I want to change my booking' starts with 'urid' in Modern Standard Arabic, 'abi' or 'abgha' in much of the Gulf, 'baddi' in Levantine Arabic and 'ayez' in Egyptian Arabic. A Gulf business hears all of them, and many non-Arab residents write in English.

What arrivesExampleWhat the assistant does
Modern Standard ArabicA formal complaint, or an email pasted into the chatUnderstands it fully and keeps the reply equally formal
Gulf dialect'wain talabi?' (where is my order?)Understands the dialect and replies in clear, simple Arabic
Other dialectsEgyptian or Levantine phrasing from residents and visitorsUnderstands it without switching to that dialect
Arabic mixed with EnglishAn Arabic sentence carrying booking, refund or statusStays in Arabic and treats the English words as content
ArabiziLatin letters with digits for missing sounds, such as 3 for ayn: 'abi a3rf wain talabi'Converts it to Arabic script before searching, and replies in Arabic

Two rules follow. The conversation's language is a setting that changes only when the customer clearly changes it, so one English word in an Arabic message is not a request to switch. And numbers are normalised before any lookup: customers type order and phone numbers in Western digits or Eastern Arabic digits (sometimes the Persian forms, which are different characters), with or without a country code. Every tool converts them first, and the assistant reads the number back before acting.

Choosing the model and the voice of the replies

Models differ widely in Arabic, and most have seen far more formal Arabic than dialect, so quality varies most where your customers write most casually. Choose with your own conversations rather than a general benchmark: run the candidates on real, anonymised messages and have native speakers score the replies.

For the replies, clear and simple Modern Standard Arabic with familiar everyday words is the safest register, because every Arabic reader understands it. A model asked to imitate a Gulf dialect often drifts into a mix of dialects that reads as fake. The style rules we agree with you also cover:

  • Gender. Arabic marks gender when it addresses someone, and the assistant rarely knows who is writing, so it uses forms that read the same for everyone, such as 'you can tap' instead of a gendered command.
  • Examples as well as rules. Instructions written only in English tend to produce Arabic that reads like a translation. Approved Arabic replies give the model a target.
  • A glossary of product and feature names in both languages, so the assistant does not invent a new Arabic name for the same feature in every conversation.

Arabic can also cost more to process. Many tokenisers split an Arabic sentence into more tokens than its English equivalent, which raises the cost per conversation, fills the context window sooner and can slow replies. The gap depends on the model, so measure it with your own messages before you set a budget.

Arabic search: why retrieval fails and how to fix it

Most assistants answer from your documents through retrieval-augmented generation, so an answer is only as good as the search behind it. Arabic search fails in specific, fixable ways.

ProblemWhat happensThe fix
Letter variantsAlef typed with or without its hamza, taa marbuta as haa, final yaa as alef maqsura: one word, several spellingsNormalise letters the same way when indexing documents and when reading the question
Vowel marks and tatweelA policy with full vowel marks or decorative stretching does not match a plain questionStrip them for matching; keep the original text for display
Look-alike charactersPersian and Urdu keyboards type a different yaa and kaf that look the same, or nearly, on screenMap them to the Arabic letters during normalisation
Attached prefixes and suffixes'And with my card' is one written word, so a search for 'card' misses itAn Arabic analyser with light stemming, not root stemming, which merges words such as book, office and writer
Broken text from PDFsSome Arabic PDFs extract as presentation-form characters or in reverse orderCheck the extracted text, apply Unicode NFKC normalisation and fix the order before indexing
Dialect against formal documentsThe customer asks in dialect; the policy is in formal ArabicMultilingual embeddings for meaning, alongside keyword search

We use hybrid search for Arabic: keyword matching finds exact items such as product codes and names, embeddings find passages that say the same thing in other words, and a re-ranking step orders the results. Test retrieval on its own, with questions written by native speakers in several dialects, before you judge the answers.

When the documents are in English

Many Gulf companies write policies in English and serve customers in Arabic. Translate and review the key documents so both languages are indexed, or match Arabic questions to English passages with cross-language embeddings. Someone who knows the business checks every translated policy, because a mistranslated refund rule becomes a confident wrong answer. Our knowledge assistants page covers document assistants in general.

A right-to-left chat interface that holds up

Mirroring is the easy part: the bubbles, avatar, input box and send button swap sides and directional icons flip, as our Arabic and right-to-left design page explains. The hard part is mixed-direction text, which in a chat is almost every message.

  • Direction per message. The browser's automatic direction looks only at the first strong character, so an Arabic message that begins with 'iPhone' is laid out left to right. Decide each bubble's direction from its share of Arabic letters instead.
  • Streaming. While a reply streams in, the bidirectional algorithm reorders the unfinished sentence, so English words, numbers and punctuation jump. Fix the reply's direction when it starts, and isolate Latin runs and numbers.
  • Formatting. Lists and tables mirror; code, links, email addresses and order codes stay left to right in their own isolated spans.
  • Input and type. The text box follows the direction of what is typed, and Arabic gets a legible font at chat sizes, extra line height and no letter spacing, which breaks the joins between letters.

On WhatsApp

On WhatsApp you do not control the layout, so keep replies short, skip tables and put codes and links on their own lines. The WhatsApp Business Platform also has its own rules, such as approved templates for messages sent after the window that follows a customer's last message, so check the current rules before you design the flows.

Voice notes

Voice notes are a common way to message a business in the Gulf, especially on WhatsApp. Arabic speech recognition is usually weaker on dialect, mixed languages and noisy recordings than on clear formal Arabic, and weakest on what matters most: names, numbers and addresses. Design for that:

  1. Show the customer the key details the assistant understood.
  2. Read back numbers, dates and names before acting, and ask for them in writing when the audio is unclear.
  3. Pass notes that cannot be transcribed confidently to a person, with the audio attached.
  4. Treat recordings as personal data: decide how long they are kept, who can play them and where they are processed.

Testing with native speakers

Arabic quality cannot be judged from English test results. We build an Arabic test set from real, anonymised conversations and have it scored by native speakers from the markets you serve, because a reviewer from one country can miss what sounds wrong in another.

  • Coverage. Each task in formal Arabic, in your customers' main dialects, in English, in mixed messages, in Arabizi and as transcripts of real recordings collected with consent.
  • A written rubric. Correct and grounded in the source, in the right language, natural in register, neutral in gender, and handed to a person when the assistant should not answer.
  • Scores per dialect. A good average can hide one dialect that fails.
  • Calibrated model graders. A grading model makes daily regression runs affordable, but compare its scores with native speakers' before you trust it.

Every change to the model, the prompt or the documents reruns the set. Our AI agent testing page explains the method, and the article on Arabic chatbots customers actually use covers the product side.

How we build an Arabic assistant

We start from a sample of your anonymised chats, emails and voice notes and, as in every project, a threat review: what the assistant may read, what it may do and where conversations are stored. Several Gulf countries have national personal data protection laws, and some sectors limit where data may be processed. We design with awareness of them; confirm what applies to you with qualified counsel.

Then come the style rules and glossary, Arabic retrieval, the right-to-left chat or WhatsApp channel with hand-off to a person, native-speaker scoring, and a pilot with a limited group of customers in which every conversation can be reviewed. You see progress at weekly demos. A project like this often starts with a discovery sprint that tests the hardest Arabic cases first. For support flows, see AI customer support; for the whole service, AI agents and automation.

A small first step

A 30-minute workflow review

Pick one process that costs your team time. We look at it with you and tell you honestly whether automation or an AI agent pays, what it would take, and what to measure first.

Message us on WhatsApp

Questions we get asked

  • For most businesses, clear and simple Modern Standard Arabic is the safer default: every Arabic reader understands it and it sounds professional. A local dialect voice can suit a consumer brand, but models often mix dialects when they write them, so it needs written style rules, approved examples and more native-speaker testing.

  • Yes. It tracks the conversation's language and replies in it, switching only when the customer clearly does. Each language needs its own test cases, style rules and reviewed answers, because a good English assistant is not automatically a good Arabic one, and the interface must handle both directions.

  • Not necessarily. Some models are trained on much more Arabic than others, and general models vary widely on dialects. The right choice depends on your customers' dialects, your data rules and your budget, so compare the candidates on your own anonymised conversations, scored by native speakers.

  • It can transcribe them and act on the content, with care. Transcription is less reliable with dialect, noise and mixed languages, and weakest on numbers and names. A good design confirms what it understood before acting and passes unclear recordings to a person with the audio attached.

Keep exploring

Ready to build something secure?

Tell us about your product. We will reply with a clear plan.

Start a project

We would like to use Microsoft Clarity to see how visitors use the site, so we can improve it. It sets cookies and is off unless you accept. Cookie policy