Whatsapp AI Ordering Agent — AI skill for Claude Code
Case study: a production multi-tenant WhatsApp AI ordering agent built on Claude tool use, with deterministic guardrails for prices, totals and order placement.
How to install Whatsapp AI Ordering Agent
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open MuhammadSobanHameed/whatsapp-ai-ordering-agent and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Whatsapp AI Ordering Agent does
Case study: a production multi-tenant WhatsApp AI ordering agent built on Claude tool use, with deterministic guardrails for prices, totals and order placement.
Alternatives in AI
- CliRelay — Self-hosted AI gateway for coding CLIs — one OpenAI/Claude/Gemini/Codex-compatible endpoint, with a multi-tena 1k ★
- Style Distill — style-distill skill — 三阶段 13 模板 LLM 蒸馏(style-distill-order) 669 ★
- Claude Code 2.1.88 — Source code of @anthropic-ai/claude-code v2.1.88, extracted from the npm package's source map (cli.js.map) 169 ★
README
WhatsApp AI Ordering Agent — Case Study
A production, multi-tenant WhatsApp bot that lets customers browse a shop's catalog, build a cart, and place real orders by chatting naturally in English, Roman Urdu or Urdu. It handles text and voice notes. Built on Claude (Anthropic) with tool use, and wrapped in deterministic guardrails so the AI can never invent a product, misquote a price or place an order the customer didn't agree to.
**Author:** Muhammad Soban Hameed · **Role:** AI / Backend Engineer (design, implementation, production support) **Status:** Live in production, serving multiple businesses (restaurants, pharmacies and retail shops)
[!NOTE] **This repository is a case study, not the source code.** The code samples are **simplified illustrations written for this document**, not excerpts from the real codebase. Company names, client names, endpoints, credentials and customer data are deliberately left out.
The problem
Small businesses already take orders on WhatsApp, but by hand. Someone has to answer every "menu bhej dein", work out the prices, take down the address and type the order into the ERP. Messages arrive at all hours, often misspelt, mixed-language or as voice notes.
The goal was a bot that does this end to end **and writes real orders straight into the company's ERP**. A wrong price or a phantom order costs the shop real money, so "mostly right" wasn't good enough.
What I built
| Area | Highlights |
|---|---|
| Conversational ordering | Browse categories, search items, add, remove or change quantities ("one more", "make it 3"), choose add-ons, delivery details, special instructions, order summary, and placement on a plain "yes" |
| AI agent | Claude with 15 tools, running in a tool-use loop. The model decides intent, and code owns money, cart state and order placement |
| Guardrails | Deterministic validators catch invented products or sizes, misquoted prices, wrong totals, false "order place |
Related Skills
Restaurant AI Agent
Built an AI ordering assistant with n8n, OpenRouter, Google Sheets, and Telegram. Customers order in natural l
Flytbase Bdr Agent
AI-native inbound lead qualification system for FlytBase BDR assignment. Automates MEDDIC qualification, live
Chattiv Casestudy
Case study: a live chat SaaS for small business websites with an opt-in AI assistant on Claude, server-enforce
Langgraph Sales Agent
Multi-tenant LangGraph runtime that isolates each business's agent, catalog, tools and LLM across Telegram, In
Whatsapp Receptionist
Open-source AI receptionist for WhatsApp. Books real appointments on Google Calendar, transcribes voice notes,
Growth Guardrails Skill
AI skill: software distribution & user-acquisition strategy with compliance guardrails. Sourced case studies (
Related Agents
Sstack Ordering Attacker
Ordering lens attacker. Attacks every mapped surface for out-of-order execution, step-skipping in multi-stage
Entry Manager
Entry and order manager. Use after the orchestrator has a TRADE decision - turns the trade plan into precise o
Thesis Synthesizer
Combines the other analysts into a balanced thesis with a bull case, a bear case of equal weight, and an expli