{"slug": "open-source-local-ai-shop-for-small-businesses-across-telegram-whatsapp-and-web", "title": "Open-source local AI shop for small businesses across Telegram, WhatsApp and web", "summary": "OwnShop AI, a free MIT-licensed shop assistant released by the deemwar-linked project, runs a Qwen3.5 0.8B model locally via llama.cpp to answer customer questions, build carts, take service bookings and send invoices over Telegram, WhatsApp and a built-in web chat at localhost:2007/webchat. The tool requires no AI subscription, hosting or domain, but its WhatsApp connection uses wacli, an unofficial WhatsApp Web client that the project warns \"may violate WhatsApp's terms\" and can get a user's number banned, so it recommends a spare number.", "body_md": "**Your shop answers customers by itself. Free, on your own computer.**\n\nOwnShop AI is a free, open-source (MIT) shop assistant for small businesses that sell through chat. It runs on your own computer with a small built-in AI model. No AI subscription, no paid auto-reply service, no hosting, no domain.\n\n**Website:** [https://ownshopai.store](https://ownshopai.store) · **Manual:** [https://ownshopai.store/manual/](https://ownshopai.store/manual/) · **Download:** [https://ownshopai.store/#download](https://ownshopai.store/#download)\n\nIf it helps your shop, please **star** this repo so other shops can find it, and **fork** it to make your own version.\n\nA small shop or home business that keeps its list in an Excel sheet and talks to customers on WhatsApp or Telegram, and anyone who takes bookings: salons, tutors, clinics, studios. Today you answer \"price?\", \"in stock?\" and \"where is my order?\" by hand, or pay every month for a chatbot, an AI plan, hosting and a domain. OwnShop AI needs none of them.\n\n- **Answers questions** from your own FAQ sheet and common shop questions (hours, address, delivery, payment methods).\n- **Catalog and prices** : \"do you have honey?\" gets your products with photo, price and stock.\n- **Takes orders** : builds the cart, asks for a delivery slot, and confirms only when the customer replies YES.\n- **Service bookings** : for a services shop, customers pick a day and a free time from your hours (Calendar page to\nclose a day or remove a slot).\n- **Invoice and how to pay** : an invoice image, then your payment details: a payment link, a QR image, bank transfer\ntext, or a UPI ID with a QR made for each order.\n- **Order and service status** : \"what is my order status?\" answers that customer's own order.\n- **Hand-off to you** : anything it is not sure about goes to the Chats page for you to answer.\n\nYou click **Payment received**, **Packed**, **Shipped**, **Delivered** or **Cancel** on the Orders page, and each click\nmessages the customer (Payment received also sends a receipt image). You can **block** a customer on every channel from\nthe Users page, and test the whole flow without a phone in the built-in **web chat** ([http://localhost:2007/webchat](http://localhost:2007/webchat)).\n\n- **Built-in AI.** A small model (Qwen3.5 0.8B via llama.cpp) runs on your computer. Your chats are not sent to an AI company.\n- **No auto-reply service.** It links to Telegram (official bot) and WhatsApp (unofficial link, see below) directly.\n- **No hosting, no domain.** Your computer is the server. It only needs to stay on and online.\n- **Your data stays with you.** Products, orders and chats are files and a database on your computer.\n\n- **Free support:** questions, bugs and feature requests:[open an issue](https://github.com/ownshopai/ownshopai/issues) .\n- **Premium support:** setup done for you, priority help and custom features from deemwar:[join the WhatsApp group](https://chat.whatsapp.com/K4SliNSSW9PEnNlQr7IesZ) .\n\nPrivacy: [https://ownshopai.store/privacy](https://ownshopai.store/privacy) · Terms: [https://ownshopai.store/terms](https://ownshopai.store/terms)\n\n**Read this first.**\n\n**Telegram** uses the official Telegram Bot API. It is free.\n**WhatsApp** is connected through **wacli**, an **unofficial** WhatsApp Web client. It is not the WhatsApp Business\nPlatform, and using it **may violate WhatsApp's terms**. **Your number can be banned.** Use a **spare number** and\nuse it responsibly. You are responsible for how you use it.- No warranty (see\n[LICENSE](https://github.com/ownshopai/ownshopai/blob/main/LICENSE)). Not affiliated with, endorsed by, or sponsored by WhatsApp, Meta or Telegram.\n\nDownload the installer for your computer from [https://ownshopai.store/#download](https://ownshopai.store/#download):\n\n- **Mac** (Apple Silicon):[https://ownshopai.store/download/mac/](https://ownshopai.store/download/mac/)\n- **Windows** x64:[https://ownshopai.store/download/windows-x64/](https://ownshopai.store/download/windows-x64/)\n- **Windows** ARM64:[https://ownshopai.store/download/windows-arm64/](https://ownshopai.store/download/windows-arm64/)\n\nEach download carries OwnShop AI, its WhatsApp client (wacli), the model server (llama.cpp `llama-server`) and the model\nfile. Nothing else to install. On the Mac, until the app is notarized, macOS asks once: right-click, Open.\n\n- macOS on Apple Silicon, or Windows 10/11 (x64 or ARM64).\n- About 600 MB of disk and about 1 GB of free memory while chatting. A reply takes about 0.4 s on a recent Mac.\n- No API key, no account, no internet AI service. The model runs locally.\n- For WhatsApp: a spare phone number. For Telegram: a bot token from @BotFather.\n- To build from source: Go (see `go.mod` ),[Task](https://taskfile.dev) , and for the installers cmake and zig.\n\n1. **Double-click OwnShop AI.** It opens your browser at[http://localhost:2007](http://localhost:2007) (if another program uses that port, it takes the next free one, 2008, 2009, ..., and remembers it). It also starts by itself when you log in, and\nputs an*OwnShop AI* shortcut on your desktop that opens the shop page. Double-clicking it again just opens the page.\n2. The page walks you through four steps:\n  1. **Shop** : your shop name and currency.\n  2. **Products** : upload one Excel file. Not sure what it looks like? Download the example file on that page.\n  3. **Payment** : choose one way to pay (payment link, QR image, bank transfer text or UPI ID); add more later in Settings.\n  4. **Chat channels** :*Connect Telegram* (paste the token @BotFather gives you; the page shows the steps) or*Connect WhatsApp* (a pairing code appears on the page; scan it from the spare phone under Linked devices).\nYou can connect several WhatsApp numbers and add more later in Settings.\n3. After that you use four pages: **Orders** ,**Products** ,**Chats** (messages the shop was not sure about, plus the recent\nmessages) and**Settings** .\n\nThere is nothing to type in a terminal, and no username or password: the page only listens on your own computer.\n\nOwnShop AI keeps its own database, but the files you work with are plain files in the OwnShop AI folder\n(`~/Library/Application Support/ownshop` on a Mac, `%AppData%\\ownshop` on Windows):\n\n| file | what it is | \n|---|---|\n| `products.xlsx` | Sheet **Products** (sku, name, description, price, stock, keywords), sheet**FAQ** (question, answer, keywords), optional sheet**Delivery slots** (label, capacity). Keep editing it in Excel. When you save it, OwnShop AI reads it again (or click*I updated my file* on the Products page). After each order OwnShop AI writes the new stock back into it. A product you delete from the file is no longer sold. | \n| `orders.csv` | One row per order: order, date, customer, channel, items, total, status, invoice. Kept up to date; open it any time. | \n\nIf the file is open in Excel and cannot be written, OwnShop AI keeps the newer stock, tells you on the Products page, and writes it as soon as it can, so it never sells stock you no longer have.\n\n- **One program.** OwnShop AI serves the owner's web page, runs the chat channels, and keeps its data in one SQLite file next\nto your two files.\n- **Chat channels.** Every channel is a small adapter with the same shape (start, receive, send text, send image, status).\nEach customer is remembered with the channel and number they wrote to, and every reply and order update goes back on that\nsame channel and number.\n  - **Telegram** : official Bot API with long polling (`getUpdates` ),`sendMessage` ,`sendPhoto` and the typing indicator. Only private chats are answered. The bot token is stored locally, shown masked, and never\nlogged.\n  - **WhatsApp** : each number has its own wacli store inside OwnShop AI's data folder (`<data>/wacli/<name>` ), so OwnShop AI never\nreads or edits`~/.wacli` or the wacli accounts other programs on the machine use. OwnShop AI runs`wacli --store <data>/wacli/<name> auth --qr-format text --events` to pair (the pairing code is drawn on the page), then keeps one follower per number:`wacli --store <data>/wacli/<name> sync --follow --webhook http://127.0.0.1:<port>/wacli/<name> --webhook-allow-private --webhook-secret <random> --webhook-events message --events` .\nwacli posts each new message to a listener OwnShop AI opens on 127.0.0.1 only; OwnShop AI checks the signature, answers 200 at\nonce and handles the message after. Replies go out with`wacli send text` /`wacli send file --as image` , and`wacli presence typing` ; wacli hands them to the running follower, which owns the number's store lock. If another program\nalready holds that lock, OwnShop AI waits and retries and never stops it. Groups, broadcasts and your own messages are ignored.\n- **The model only picks a tool.** OwnShop AI starts`llama-server` with Qwen3.5 0.8B and gives it 10 shop tools. Every reply is\na fixed template filled from your data, never free model text, so the bot cannot invent a price or a policy. If the model\ncannot start, the shop still runs and every message comes to you under Chats.\n- **Go checks every choice.** An order is confirmed only on a real YES with a cart waiting, a customer only ever sees their own\norder, and a product, slot or FAQ answer that is not in your data becomes a hand-off: the customer gets \"the shop will\nreply shortly\" and you answer from the Chats page.\n- **Sending limits, per channel number or bot.** At most one message every 2 seconds per chat, a short \"typing...\" pause\nwhere the channel supports it, and a daily send cap (Settings, default 200 per number or bot). Messages that arrived\nwhile OwnShop AI was off are not answered in a burst.\n- **Order statuses** : Waiting for payment, Payment received, Packed, Shipped, Delivered, Cancelled. Cancel puts the items\nback in stock; any refund is between you and the customer.\n\n- **Not a mass-messaging or broadcast tool.** It only replies to people who wrote to the shop first. The only messages it\nsends on its own are updates on that customer's own order.\n- **Not a payment processor.** It never touches money. You check your bank and click Payment received.\n- **Not a CRM.** One shop, one computer.\n- **The model is small.** It picks the right tool about 2 times in 3 (below); every wrong pick that the checks catch goes\nto you on the Chats page instead of being acted on.\n- **WhatsApp is unofficial** (see the warning above).\n- Replies are in English for now. The Mac app is not notarized yet.\n\nQwen3.5 0.8B is small and untuned. `task eval` scores it on 44 realistic customer messages\n([docs/eval.txt](https://github.com/ownshopai/ownshopai/blob/main/docs/eval.txt)): **30/44 tool choices right (68%)**, 388 ms average per message. It is strong on FAQ, product\nsearch and order status. It is weak on short replies (\"monday evening works\"), on \"I'll take 5 oats\" (it searches instead\nof adding), and on off-topic chat. The Go checks above catch most wrong picks and hand them to you instead of acting.\n\n**Other languages.** Tested on 24 messages in Spanish, German, French, Dutch, Portuguese and Arabic: the model picked the\nright tool for 13/24. With the shop's own words in that language added to the sheet keywords (for example `miel honig mel`\nfor honey), 14 of 18 questions and searches got a real answer. Ordering works best in English, and replies are in English\nfor now.\n\n```\ntask check   # go vet + go test (fake chat channel, a stub wacli program, a fake Telegram server)\ntask build   # dist/ownshop-darwin-arm64, dist/ownshop-windows-amd64.exe, dist/ownshop-windows-arm64.exe\ntask package # the installers, models included: dist/ownshop-macos-arm64.dmg, dist/ownshop-setup-windows-{amd64,arm64}.exe\ntask eval    # needs task bundle-deps and the model; writes docs/eval.txt\nownshop serve --db ./shop/ownshop.db   # the shop in the foreground, files next to the database\nownshop chat                           # be the customer in the terminal (a fake channel)\nscripts/demo.sh                        # a scripted order end to end -> docs/demo-run.txt\n```\n\nA plain `go build` gives a program without the helpers inside; point the `wacli_bin` and `llama_server` settings at\nyour own copies. `task bundle-deps` (`scripts/bundle-deps.sh`) builds the two helpers into `bundled/`: wacli from\n[https://github.com/openclaw/wacli](https://github.com/openclaw/wacli) at the commit in `Taskfile.yml` (`WACLI_COMMIT`), and llama-server from llama.cpp\n`b9620`. `-tags bundle` embeds them. The model file is looked up at `models/<file>`, next to the program, in the Mac app's\n`Contents/Resources/models`, and in `<app data>/models`; it is not in this repository.\n\nOwnShop AI's own code is under the [MIT License](https://github.com/ownshopai/ownshopai/blob/main/LICENSE).\n\nThe installers also carry two separate programs that OwnShop AI starts as child processes; they are not linked into it:\n\n- **wacli** (MIT License). As built, wacli includes whatsmeow (MPL-2.0) and go.mau.fi/libsignal (**GPL-3.0** ), so the\nwacli program inside the installers is distributed under the GPL-3.0. Its complete source is[https://github.com/openclaw/wacli](https://github.com/openclaw/wacli) at commit`5578d1b6892f50a8f2329b11a6b6e27a1a81f88b` .\n- **llama.cpp**`llama-server` (MIT License),[https://github.com/ggml-org/llama.cpp](https://github.com/ggml-org/llama.cpp) tag`b9620` .\n\nThe model weights (Qwen3.5 0.8B) are under the Apache License 2.0. Every component and its license is listed in\n[THIRD-PARTY-NOTICES](https://github.com/ownshopai/ownshopai/blob/main/THIRD-PARTY-NOTICES) and [CREDITS](https://github.com/ownshopai/ownshopai/blob/main/CREDITS).", "url": "https://wpnews.pro/news/open-source-local-ai-shop-for-small-businesses-across-telegram-whatsapp-and-web", "canonical_source": "https://github.com/ownshopai/ownshopai", "published_at": "2026-11-23 18:06:48+00:00", "updated_at": "2026-11-23 18:17:59.158338+00:00", "lang": "en", "topics": ["artificial-intelligence", "ai-agents", "ai-products", "ai-tools", "large-language-models"], "entities": ["OwnShop AI", "deemwar", "Qwen3.5 0.8B", "llama.cpp", "Telegram", "WhatsApp", "wacli", "Meta"], "also_reported_by": [], "takeaway": "OwnShop AI ships a Qwen3.5 0.8B model via llama.cpp that runs on the shop owner's own machine, keeping chats off third-party AI services, but its WhatsApp channel relies on the unofficial wacli client, which the project says may violate WhatsApp's terms and risk a number ban.", "recommendation": null, "alternates": {"html": "https://wpnews.pro/news/open-source-local-ai-shop-for-small-businesses-across-telegram-whatsapp-and-web", "markdown": "https://wpnews.pro/news/open-source-local-ai-shop-for-small-businesses-across-telegram-whatsapp-and-web.md", "text": "https://wpnews.pro/news/open-source-local-ai-shop-for-small-businesses-across-telegram-whatsapp-and-web.txt", "jsonld": "https://wpnews.pro/news/open-source-local-ai-shop-for-small-businesses-across-telegram-whatsapp-and-web.jsonld"}}