E-commerce · AI assistant · Arabic

mustashar.ae is the English and Arabic online store I designed and built for Al Mustashar Agricultural Materials Trading in Sharjah, which supplies seeds, fertilizers, crop protection, sprayers and irrigation across the UAE. It has 803 products on over 1,600 product pages, syncs with the Posific POS, and includes an AI shopping assistant that answers from live product data and hands conversations to the shop’s agricultural engineers.

mustashar.ae: screenshot of the live site
mustashar.ae on a phone
Products
803, in English and Arabic
Product pages
1,600+
Sitemap
2,178 URLs
AI assistant tests
240 normal scenarios, 40 attack attempts
Automated tests
239, run in CI
Build time
More than two months
Company
Al Mustashar Agricultural Materials Trading
Platforms
Web, Android (not yet on Google Play)
Technology
Next.js 16, React 19, TypeScript, Tailwind CSS, PostgreSQL, Drizzle, zod, three.js, Kotlin

The business and what the store had to do

Al Mustashar sells farm supplies, from seeds and fertilizers to crop protection, sprayers and irrigation, with advice from agricultural engineers and delivery across the UAE. I built the store around three jobs:

  • Carry 803 products in English and Arabic, on pages that search engines can find.
  • Keep prices and stock in step with the Posific POS, which holds the official figures.
  • Give customers advice through a bilingual AI shopping assistant that can hand a conversation to the shop’s agricultural engineers.

It took more than two months to build.

A bilingual store with 803 products and 92 advice pages per language

The catalog has 803 products in English and Arabic, which makes over 1,600 product pages. Around them are 92 advice pages in each language, a glossary, brand pages, emirate pages and 2 calculators. In total, the site has 58 page routes and 71 API routes.

Customers can search the site, view 3D product models in the browser, built with three.js, and sign in with a password, with Google, or with a code sent by email. Passwords are stored hashed, never as plain text.

Prices and stock come from the POS

The shop runs on Posific, the POS system I built, and Posific holds the official prices and stock. The store’s catalog and orders stay in sync with it in three ways:

  1. Signed webhooksChanges are announced as signed messages, and the receiving side checks the signature before it trusts the message.
  2. A change feedA running list of everything that has changed, so the catalog can catch up from the last point it saw.
  3. Scheduled jobsJobs that run on a timetable, as a further check that the two systems agree.

Checkout is priced on the server, so nothing a customer’s browser sends can change what an order costs. It also protects against duplicate orders, retries when a step fails, offers order tracking, and includes a WhatsApp handoff.

The AI shopping assistant: live data, safety checks and a human handoff

The assistant talks with customers in English and Arabic, by text or by live voice. When a customer asks about a product, it looks up live product data, so its answers about products come from the store’s own records.

It runs with safety checks and a spending cap, so its AI costs cannot run away. And because the shop’s advice comes from agricultural engineers, the assistant can hand a conversation to them, so a customer reaches a person when they need one.

Tested against 40 attacks before launch

Before launch, I tested the assistant against 240 normal scenarios and 40 attack attempts. The normal scenarios check that it handles everyday shop conversations properly. The attack attempts are messages designed to push it off its job or around its rules, the kind of manipulation known as prompt injection.

Testing, the app API and technical SEO

CI runs lint, type checks, 239 automated tests, the build, and a browser test of the chat itself.

The store is served by a versioned API that also serves a native Kotlin Android app. Versioning lets the website and the app change at their own pace without breaking each other. The Android app has its own 154 tests. It is built, but not yet on Google Play.

Technical SEO is part of the build:

  • Canonical URLs, so each page has one official address.
  • English and Arabic language alternates, so search engines can show each person the right language.
  • Store structured data, which describes products in a form search engines can read.
  • A Google Merchant feed and an image sitemap.
  • A sitemap with 2,178 URLs.

The site also deliberately opts out of AI crawlers.

What shipped

  • A bilingual English and Arabic store with 803 products and over 1,600 product pages.
  • 92 advice pages per language, a glossary, brand and emirate pages, and 2 calculators.
  • Catalog and order sync with the Posific POS, through signed webhooks, a change feed and scheduled jobs.
  • Server-priced checkout with duplicate-order protection, retries, order tracking and a WhatsApp handoff.
  • Customer accounts with hashed passwords, Google sign-in and email codes.
  • A bilingual AI shopping assistant with live product lookups, safety checks, a spending cap, live voice and a handoff to agricultural engineers.
  • A versioned API and a native Kotlin Android app, built but not yet on Google Play.
  • CI with 239 tests and a browser test of the chat, plus technical SEO and a 2,178-URL sitemap.
Services
  • 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.

  • Web & SaaS development

    Full stack web apps, SaaS products and online stores in Next.js, TypeScript and PostgreSQL, with tests, security and SEO built in from day one.

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

  • SEO & organic growth

    Technical SEO audits, multilingual SEO and organic growth from an SEO consultant who also writes the code, so fixes ship instead of sitting in a report.

Insights

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