What it uses and what it does not
warelay connects to WhatsApp through the Baileys library (@whiskeysockets/baileys), which is unofficial, and the pinned version is a release candidate. For the assistants (ChatGPT, Claude and Gemini) it drives each one's web interface through BrowserOS Neo.
| Point | warelay | Official APIs |
|---|---|---|
| The unofficial Baileys library, acting as a linked device. | The WhatsApp Business API from Meta. | |
| Assistants | The web interfaces through browser automation, on the owner's ChatGPT, Claude or Gemini plan. | Each vendor's API (such as the OpenAI API), with an API key and API terms. |
| Stability | Can stop when the interface changes, a login expires or a verification is required. | Comes with a service agreement and a support path. |
| Scale | One owner. | Designed for many users. |
Terms-of-service risk
Driving a browser is not a policy exception. OpenAI's terms restrict making your account available to others and automatically or programmatically extracting data or output. Both points bear directly on a bridge that forwards other people's prompts and pulls the replies out of ChatGPT web.
Keeping a password private, using it only with family, or having an agent control the browser does not create an exception. warelay does not claim OpenAI approval or policy compliance, and is not sold as free or unlimited ChatGPT or a family plan. Before you rely on sharing a plan, read the terms yourself and ask OpenAI for clarification. Claude and Gemini are driven the same way. The repo's policy notes cover OpenAI's terms only, so read Anthropic's and Google's terms yourself and do not assume they allow it.
On the WhatsApp side, the repo docs say plainly that WhatsApp may restrict accounts that use unofficial clients. That risk falls on the owner's account.
If you need certainty about policy, do not use warelay. Use the official APIs from both companies.
Built for a single owner
warelay is designed for one trusted person running it on their own machine or a private server. It is not hardened as a public or multi-user service, and the repo supports only the current default branch.
- Whoever holds the owner token, the data directory or the BrowserOS profile is effectively the owner: they can act as your linked WhatsApp device or use your ChatGPT, Claude or Gemini sessions.
- The BrowserOS viewer port (noVNC) and MCP port have no authentication. Anyone who reaches them controls the signed-in browser, so they must stay on loopback.
- The managed Docker browser opens random loopback ports that are not secret; every account and program on that machine can reach them. Use it only on a computer you trust.
- There are no built-in rate or queue limits on forwarded messages: a contact who sends faster than ChatGPT answers builds a backlog. Enable only people you trust.
Where messages go, and what is stored
When you enable a contact, the original text of their messages goes to ChatGPT (or a fallback assistant if you enable one), and the answer is sent from your WhatsApp account. Enable only people whose messages you are authorized to share. ChatGPT projects and memory are controlled by ChatGPT, not by warelay.
In its data directory warelay does not store message or reply bodies, with one bounded exception: for handoff between assistants, state.json keeps the text of each contact's last 16 turns (each cut at 2,000 characters) and drops it when all of that contact's conversations expire. It stores the linked-device WhatsApp login, contact names and IDs, project and conversation links, lifetimes, and the IDs of processed messages. Files are private to your operating-system account. The conversations themselves stay in ChatGPT and the messages stay in WhatsApp.
The activity log does not record message text, but error text from a dependency can reach it, so treat logs as sensitive and clean them before sharing.
Whether work or confidential content may go to ChatGPT is a separate question from whether the network blocks it. Check with the user's workplace.
Technical limits to expect
Beyond terms risk, this approach has practical limits:
- Only direct text messages and photos are forwarded. Groups, statuses, voice notes, videos, stickers and non-image documents are ignored.
- An answer longer than 60,000 characters is not sent.
- Expired logins and verification challenges need manual action in the browser; warelay does not bypass them and does not quietly switch to an API. A usage limit is different: if you enabled fallback assistants, the next assistant takes over until the first one's limit resets. The reset time is only read from English notices; otherwise that assistant is skipped for 30 minutes.
- Delivery is not exactly-once: if ChatGPT accepted a prompt but no reply could be read or sent, the prompt is not replayed, to avoid duplicates, and the answer may still sit in the saved conversation.
- Conversation lifetimes make no promise of saving cost, tokens or waiting time.
When to use the official APIs instead
warelay fits one person helping themselves or a relative, if you accept the risks above. Choose the official route when:
- you serve customers or many staff, not just a few people you know;
- you need stability, support and a clear agreement;
- the content includes customer information or company data that you must control under official terms;
- you cannot accept an account being restricted for using an unofficial client.
Building an official chatbot on the WhatsApp Business API and the OpenAI API is work 71.zone does. See AI and automation or custom software, then contact 71.zone.