AI IN RETAIL

AI in retail is software that answers customers, explains a shop’s figures and drafts the next task, and I build it so that prices, stock and tax stay with fixed rules and real data. I designed and built Posific, an offline-first POS and accounting system for UAE shops, whose business agent explains and drafts while a person approves. I also built the AI shop assistant on mustashar.ae, which answers from live product data.

AI in retail

  1. A business agent in the POS

    Posific’s agent explains totals, stock and VAT that fixed rules calculated, and drafts the next step for a person to approve.

  2. An AI shop assistant

    Answers customers in English and Arabic from live product data, by text or voice, and hands over to staff when needed.

  3. An offline-first POS

    Scan and sell, split payments, inventory, credit and VAT 201 figures, built offline-first for the web, Android and Windows.

  4. Approvals, budgets and tests

    Actions wait for a person, a daily AI budget caps spend per business, and an evaluation suite runs on every change.

AI in retail

  1. See the shop at work

    I start with the outcome you want and how sales, stock and customer questions are handled today.

  2. Fix the source of truth

    Prices, stock and tax come from one system, and every AI feature reads from it.

  3. Build one AI job

    A narrow first use, with approvals, a spending cap and a log of every action.

  4. Test, launch and grow

    Real questions and attack attempts before launch, evaluations on every change, then more jobs where use shows a need.

Technology

  • TypeScript
  • Next.js
  • React
  • PostgreSQL
  • Drizzle
  • zod
  • Tailwind CSS
  • GitHub Actions CI
  • Playwright

AI in retail today: the jobs it does well in a shop

The most useful retail AI does plain work: reading, writing and answering, at any hour and in more than one language. These are the jobs I hand to AI in a shop first:

  • Answering product questions from live data. On mustashar.ae, the assistant checks the product records before it replies, in English or Arabic.
  • Explaining the numbers in plain sentences. In Posific, fixed rules produce the figures and the AI puts them into words.
  • Drafting the next step, such as a message or a suggested action, for a person to approve.
  • Handing over when the AI should stop. On mustashar.ae, the customer reaches one of the shop’s agricultural engineers.
  • Summarizing messages. GatherChats, my own product, puts WhatsApp, Instagram, Messenger, X and Telegram in one inbox, with optional AI summaries and reply drafts that cite their sources.

Each job takes its facts from the catalog, the POS or the customer. The AI adds language, not numbers.

What to keep AI away from: prices, stock and tax

A language model writes likely words. That suits an explanation and fails a price. What an item costs, how many are left and how much VAT is due must come out the same every time, so rules and data answer them, never the model.

  • In Posific, fixed rules calculate every figure, including the VAT 201 figures for a UAE VAT return. The AI never produces a number of its own.
  • On mustashar.ae, the Posific POS holds the official prices and stock, and the store follows each change through signed webhooks, a change feed and scheduled jobs. Checkout is priced on the server.
A quick test

If a number could end up on a receipt, a shelf label or a tax return, a rule calculates it. The AI may explain that number, but it never decides it.

Approvals: where a person still says yes

An AI that only explains can run on its own. An AI that acts needs a gate in front of anything that spends money, changes a price or a stock record, or commits the shop to something new.

Posific works this way. Its business agent is proactive, raising things without being asked, but any action it drafts waits for a person’s approval.

Make each approval quick to judge: what will happen, the figures behind it and the reason in one sentence. If approving takes longer than doing the task by hand, people stop reading and start clicking yes.

An AI POS should be a reliable till first

People searching for an AI POS often picture a till that thinks. I build in the other order: a till that keeps working, with AI beside it. Scanning, payment, receipts and stock must work with the internet down. The AI can wait; a customer at the counter cannot.

Posific is offline-first and multi-tenant, and it runs on the web with Next.js and PostgreSQL, on Android and on Windows. The Windows app has a signed installer, verified auto-updates, an encrypted offline register and receipt printing, across 13 public signed releases. A real shop runs on it: Al Mustashar in Sharjah keeps its online catalog and orders in sync with Posific.

Where to start with AI for shops

  1. Get one source of truthPrices, stock and tax should live in one system, usually the POS. If a spreadsheet and a website disagree, fix that before adding AI.
  2. Pick one jobAnswering product questions or explaining the daily figures: frequent, easy to check, and cheap to get wrong.
  3. Set the limitsDecide which actions need approval, where a conversation goes when the AI stops, and what the AI may spend each day.
  4. Test with real questionsUse what customers really ask, plus attempts to trick the assistant. On mustashar.ae, that meant 240 normal scenarios and 40 attack attempts before launch.

What drives the cost of AI for retail, and common mistakes

I quote once the first job is agreed. These factors move the scope:

  • Your product data: a clean catalog connects quickly, while scattered spreadsheets need work first.
  • Languages and channels: English and Arabic, website chat, WhatsApp or live voice.
  • Connections to the POS, accounting and delivery systems you already run.
  • How many actions the AI may draft, and the approvals they need.
  • How much testing the risk calls for.

The common mistakes are easy to name: letting the model quote prices from memory, launching without a route to a person, leaving AI spend uncapped and testing only polite questions. Each one is cheaper to prevent than to fix in front of customers.

AI in retail

What are examples of AI in retail?

Shop assistants that answer product questions, agents that explain sales and stock, demand forecasts, product recommendations and message sorting. In my own work, the mustashar.ae assistant answers from live product data, and Posific’s business agent explains figures that fixed rules calculated and drafts the next step for approval.

What is an AI POS system?

It is a point-of-sale and stock system with an AI layer that explains the figures, points out what needs attention and drafts tasks. The till itself should never depend on the AI. Posific, the POS I designed and built, keeps selling offline, calculates every figure with fixed rules and lets the AI explain.

Should AI set prices or manage stock?

Not on its own. Prices, stock counts and tax must be exact and repeatable, and a language model is neither. Let rules and real data decide them. AI can still explain why a figure changed or draft a suggestion for a person to approve, which is the split I use in Posific.

Is AI worth it for a small shop?

Yes, when it takes over a repeated task and the shop’s data is in order. Answering the same product questions or explaining the week’s figures saves staff time. It is not worth it while prices live in three places. Fix the data first, then add one AI job with a spending cap.

Will AI replace retail staff?

Not in the systems I build. AI takes the repetitive reading and writing, while people keep the judgment, the exceptions and the relationships. On mustashar.ae, the assistant passes conversations to the shop’s agricultural engineers, and in Posific every action the agent drafts waits for a person.

How much does AI for a shop cost?

It depends on the state of your product data, the languages and channels, the systems to connect, the approvals and the depth of testing. Running costs follow usage, which is why I set a daily budget or a spending cap. I quote once we agree the first job.

  • AI customer service

    AI customer service and shopping assistants that answer from live product data, in English and Arabic, and hand over to your team when a person should step in.

  • 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.

  • AI automation & consulting

    AI consulting that ends in working software: I find where AI automation saves your team time, then design, build and launch it.

  • 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.

  • Ecommerce development

    Custom online stores in English and Arabic, with checkout priced on the server, stock synced from your POS and product pages built to rank.

    In depth
  • SaaS development

    SaaS products built to be trusted: tenants kept apart, releases signed and offline use planned in, as in Posific, my POS and accounting SaaS.

    In depth
  • AI in agriculture

    Agritech software for the businesses that supply growers: bilingual farm-supply stores, product data synced with a POS, and an AI assistant backed by agricultural engineers.

    In depth
Insights

Nov 7, 2026 · 8 min read

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 read

What is prompt injection? How I test AI agents against it

Prompt injection is the attack every AI agent has to survive. What it is, the kinds to expect, how to contain it, and how I test for it before launch.

Nov 7, 2026 · 8 min read

How 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