SuperAPI AI Directory

pingwa-client

Two-way WhatsApp notifications for AI agents: send messages, ask questions with tap-to-answer buttons and check replies, without a Meta account.

Open website

About this tool

Purpose

pingwa-client is the open-source (MIT) client for pingwa, used to let AI agents, scripts, or CI send notifications to the user's own phone via WhatsApp, and supports the user replying by tapping a button. It is aimed at "human-in-the-loop" two-way notification scenarios: an agent can proactively ask a question, the user gives an answer via a WhatsApp button, and the client then reads that reply.

Main capabilities

  • Two-way WhatsApp notifications: send messages from any agent, script, or CI to your own phone, and reply by tapping a button.
  • Zero-configuration onboarding: no Meta account, no templates, no dashboard required; send "join" to get an API key, and use curl to send a message to WhatsApp within 60 seconds.
  • Multiple client forms: CLI, lightweight HTTP client, and MCP server. It connects to the pingwa backend (hosted service https://pingwa.dev or self-hosted backend). This client is open source; the backend is separate and private.
  • Agents can register themselves: AI agents can drive the registration flow (POST /v1/registrations; see llms.txt for the full flow), a human only needs to tap a WhatsApp link, and the key is claimed by the agent, not passed through chat. It also works for existing accounts, issuing an additional named key.
  • MCP toolset (stdio and remote are consistent): notify(text), ask(text, buttons?, timeout?), check_replies(since?, wait?), check_status(), upgrade().
  • Webhook push: if you prefer PUSH over polling for replies, you can register an HTTPS endpoint, and pingwa will POST every inbound WhatsApp message to that endpoint.
  • Errors include action hints: every error comes with a suggested action, so the agent knows what to do next.
  • Exit code conventions: 0 success; 2 missing key; 3 quota exceeded; 1 other.

Usage

  • No installation (using uv): run without installing.
  • Backend override: specify the backend address via PINGWA_BASE_URL or --base-url.
  • Local (stdio) MCP: suitable for Claude Desktop / Claude Code.
  • Remote (Streamable HTTP) MCP: usable without installation.
  • Webhook registration:add will print the whsec_... key once, which must be saved immediately and will not be shown again; each delivery carries the X-Pingwa-Signature: sha256=<hex> header (HMAC-SHA256 over the raw request body using that key), and you must verify it and reject those that fail verification. See llms.txt for the full verification method and payload format. Each account can have at most 5 active webhooks; to rotate a key, first rm and then add.

Applicable scenarios

  • An AI agent needs to send a notification or ask a question to a human user and wait for a button-tap answer.
  • A script or CI process needs to push a message to the operator's phone at a key point and get confirmation.
  • Integrate WhatsApp notification and reply capabilities in MCP clients such as Claude Desktop / Claude Code.
  • When preferring push mode, receive inbound messages by registering an HTTPS webhook.

Limitations and boundaries

  • Data scope: only the message text and key are sent over HTTPS to the pingwa backend you specify; nothing else is sent. The recipient is always your own phone (there is no "to" field). See the service's /privacy for the privacy statement.
  • License scope: MIT covers only this client package (src/pingwa/client/); the pingwa server is separate, private, and unpublished; see NOTICE for the specific boundaries.
  • At most 5 active webhooks per account.
  • The server side is a separate private component; the client does not include a backend.
  • Other features, billing, pricing, and platform support information are not provided in the materials.