Your shop answers customers by itself. Free, on your own computer.
OwnShop 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.
Website: https://ownshopai.store · Manual: https://ownshopai.store/manual/ · Download: https://ownshopai.store/#download
If it helps your shop, please star this repo so other shops can find it, and fork it to make your own version.
A 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.
- Answers questions from your own FAQ sheet and common shop questions (hours, address, delivery, payment methods).
- Catalog and prices : "do you have honey?" gets your products with photo, price and stock.
- Takes orders : builds the cart, asks for a delivery slot, and confirms only when the customer replies YES.
- Service bookings : for a services shop, customers pick a day and a free time from your hours (Calendar page to close a day or remove a slot).
- Invoice and how to pay : an invoice image, then your payment details: a payment link, a QR image, bank transfer text, or a UPI ID with a QR made for each order.
- Order and service status : "what is my order status?" answers that customer's own order.
- Hand-off to you : anything it is not sure about goes to the Chats page for you to answer.
You click Payment received, Packed, Shipped, Delivered or Cancel on the Orders page, and each click messages the customer (Payment received also sends a receipt image). You can block a customer on every channel from the Users page, and test the whole flow without a phone in the built-in web chat (http://localhost:2007/webchat).
-
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.
-
No auto-reply service. It links to Telegram (official bot) and WhatsApp (unofficial link, see below) directly.
-
No hosting, no domain. Your computer is the server. It only needs to stay on and online.
-
Your data stays with you. Products, orders and chats are files and a database on your computer.
-
Free support: questions, bugs and feature requests:open an issue .
-
Premium support: setup done for you, priority help and custom features from deemwar:join the WhatsApp group .
Privacy: https://ownshopai.store/privacy · Terms: https://ownshopai.store/terms
Read this first.
Telegram uses the official Telegram Bot API. It is free. WhatsApp is connected through wacli, an unofficial WhatsApp Web client. It is not the WhatsApp Business Platform, and using it may violate WhatsApp's terms. Your number can be banned. Use a spare number and use it responsibly. You are responsible for how you use it.- No warranty (see LICENSE). Not affiliated with, endorsed by, or sponsored by WhatsApp, Meta or Telegram.
Download the installer for your computer from https://ownshopai.store/#download:
- Mac (Apple Silicon):https://ownshopai.store/download/mac/
- Windows x64:https://ownshopai.store/download/windows-x64/
- Windows ARM64:https://ownshopai.store/download/windows-arm64/
Each download carries OwnShop AI, its WhatsApp client (wacli), the model server (llama.cpp llama-server) and the model
file. Nothing else to install. On the Mac, until the app is notarized, macOS asks once: right-click, Open.
- macOS on Apple Silicon, or Windows 10/11 (x64 or ARM64).
- 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.
- No API key, no account, no internet AI service. The model runs locally.
- For WhatsApp: a spare phone number. For Telegram: a bot token from @BotFather.
- To build from source: Go (see
go.mod),Task , and for the installers cmake and zig.
- Double-click OwnShop AI. It opens your browser athttp://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 puts anOwnShop AI shortcut on your desktop that opens the shop page. Double-clicking it again just opens the page.
- The page walks you through four steps:
- Shop : your shop name and currency.
- Products : upload one Excel file. Not sure what it looks like? Download the example file on that page.
- Payment : choose one way to pay (payment link, QR image, bank transfer text or UPI ID); add more later in Settings.
- Chat channels :Connect Telegram (paste the token @BotFather gives you; the page shows the steps) orConnect WhatsApp (a pairing code appears on the page; scan it from the spare phone under Linked devices). You can connect several WhatsApp numbers and add more later in Settings.
- After that you use four pages: Orders ,Products ,Chats (messages the shop was not sure about, plus the recent messages) andSettings .
There is nothing to type in a terminal, and no username or password: the page only listens on your own computer.
OwnShop AI keeps its own database, but the files you work with are plain files in the OwnShop AI folder
(~/Library/Application Support/ownshop on a Mac, %AppData%\ownshop on Windows):
| file | what it is |
|---|---|
products.xlsx |
Sheet Products (sku, name, description, price, stock, keywords), sheetFAQ (question, answer, keywords), optional sheetDelivery slots (label, capacity). Keep editing it in Excel. When you save it, OwnShop AI reads it again (or clickI 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. |
orders.csv |
One row per order: order, date, customer, channel, items, total, status, invoice. Kept up to date; open it any time. |
If 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.
-
One program. OwnShop AI serves the owner's web page, runs the chat channels, and keeps its data in one SQLite file next to your two files.
-
Chat channels. Every channel is a small adapter with the same shape (start, receive, send text, send image, status). Each customer is remembered with the channel and number they wrote to, and every reply and order update goes back on that same channel and number.
- Telegram : official Bot API with long polling (
getUpdates),sendMessage,sendPhotoand the typing indicator. Only private chats are answered. The bot token is stored locally, shown masked, and never logged. - WhatsApp : each number has its own wacli store inside OwnShop AI's data folder (
<data>/wacli/<name>), so OwnShop AI never reads or edits~/.waclior the wacli accounts other programs on the machine use. OwnShop AI runswacli --store <data>/wacli/<name> auth --qr-format text --eventsto 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. wacli posts each new message to a listener OwnShop AI opens on 127.0.0.1 only; OwnShop AI checks the signature, answers 200 at once and handles the message after. Replies go out withwacli send text/wacli send file --as image, andwacli presence typing; wacli hands them to the running follower, which owns the number's store lock. If another program already holds that lock, OwnShop AI waits and retries and never stops it. Groups, broadcasts and your own messages are ignored.
- Telegram : official Bot API with long polling (
-
The model only picks a tool. OwnShop AI starts
llama-serverwith Qwen3.5 0.8B and gives it 10 shop tools. Every reply is a fixed template filled from your data, never free model text, so the bot cannot invent a price or a policy. If the model cannot start, the shop still runs and every message comes to you under Chats. -
Go checks every choice. An order is confirmed only on a real YES with a cart waiting, a customer only ever sees their own order, and a product, slot or FAQ answer that is not in your data becomes a hand-off: the customer gets "the shop will reply shortly" and you answer from the Chats page.
-
Sending limits, per channel number or bot. At most one message every 2 seconds per chat, a short "typing..." where the channel supports it, and a daily send cap (Settings, default 200 per number or bot). Messages that arrived while OwnShop AI was off are not answered in a burst.
-
Order statuses : Waiting for payment, Payment received, Packed, Shipped, Delivered, Cancelled. Cancel puts the items back in stock; any refund is between you and the customer.
-
Not a mass-messaging or broadcast tool. It only replies to people who wrote to the shop first. The only messages it sends on its own are updates on that customer's own order.
-
Not a payment processor. It never touches money. You check your bank and click Payment received.
-
Not a CRM. One shop, one computer.
-
The model is small. It picks the right tool about 2 times in 3 (below); every wrong pick that the checks catch goes to you on the Chats page instead of being acted on.
-
WhatsApp is unofficial (see the warning above).
-
Replies are in English for now. The Mac app is not notarized yet.
Qwen3.5 0.8B is small and untuned. task eval scores it on 44 realistic customer messages
(docs/eval.txt): 30/44 tool choices right (68%), 388 ms average per message. It is strong on FAQ, product
search and order status. It is weak on short replies ("monday evening works"), on "I'll take 5 oats" (it searches instead
of adding), and on off-topic chat. The Go checks above catch most wrong picks and hand them to you instead of acting.
Other languages. Tested on 24 messages in Spanish, German, French, Dutch, Portuguese and Arabic: the model picked the
right tool for 13/24. With the shop's own words in that language added to the sheet keywords (for example miel honig mel
for honey), 14 of 18 questions and searches got a real answer. Ordering works best in English, and replies are in English
for now.
task check # go vet + go test (fake chat channel, a stub wacli program, a fake Telegram server)
task build # dist/ownshop-darwin-arm64, dist/ownshop-windows-amd64.exe, dist/ownshop-windows-arm64.exe
task package # the installers, models included: dist/ownshop-macos-arm64.dmg, dist/ownshop-setup-windows-{amd64,arm64}.exe
task eval # needs task bundle-deps and the model; writes docs/eval.txt
ownshop serve --db ./shop/ownshop.db # the shop in the foreground, files next to the database
ownshop chat # be the customer in the terminal (a fake channel)
scripts/demo.sh # a scripted order end to end -> docs/demo-run.txt
A plain go build gives a program without the helpers inside; point the wacli_bin and llama_server settings at
your own copies. task bundle-deps (scripts/bundle-deps.sh) builds the two helpers into bundled/: wacli from
https://github.com/openclaw/wacli at the commit in Taskfile.yml (WACLI_COMMIT), and llama-server from llama.cpp
b9620. -tags bundle embeds them. The model file is looked up at models/<file>, next to the program, in the Mac app's
Contents/Resources/models, and in <app data>/models; it is not in this repository.
OwnShop AI's own code is under the MIT License.
The installers also carry two separate programs that OwnShop AI starts as child processes; they are not linked into it:
- wacli (MIT License). As built, wacli includes whatsmeow (MPL-2.0) and go.mau.fi/libsignal (GPL-3.0 ), so the
wacli program inside the installers is distributed under the GPL-3.0. Its complete source ishttps://github.com/openclaw/wacli at commit
5578d1b6892f50a8f2329b11a6b6e27a1a81f88b. - llama.cpp
llama-server(MIT License),https://github.com/ggml-org/llama.cpp tagb9620.
The model weights (Qwen3.5 0.8B) are under the Apache License 2.0. Every component and its license is listed in THIRD-PARTY-NOTICES and CREDITS.