wa-platform
A local WhatsApp Cloud gateway with session isolation, deny-by-default permissions, and pluggable AI agents.
Not a public SaaS and not a self-serve signup. For a walkthrough or a deploy on your machine or server: get in touch.
wa-platform
Architectural illustration — walkthrough on request
WhatsApp intake
Isolated sessions
Local admin
Pluggable agents
The problem
Connecting WhatsApp Cloud conversations to automation or an AI agent often pushes teams into opaque cloud tools, exposes admin panels or secrets, bleeds context across chats, or grants agents overly broad permissions.
The solution
A general platform written in Python and FastAPI that runs on your machine or server: connecting WhatsApp Cloud intake to a swappable agent with isolated sessions, deny-by-default permissions, and a local admin dashboard kept off the tunnel.
Key features
- 01
WhatsApp Cloud intake
A local webhook for Meta’s contract, always-ack to the platform, and on-disk deduplication of message IDs.
- 02
Local admin dashboard
Status, agents, instructions, sessions, permissions, WhatsApp, events, and settings. The dashboard is not exposed through the tunnel.
- 03
Account and session isolation
A session per channel, sender, and agent. Start and follow-up instructions; idle time closes the session so context does not bleed.
- 04
Pluggable agents
An agent registry and a runtime adapter. Add a local CLI agent or an API adapter without opening wide permissions.
- 05
Deny-by-default permissions
Nothing is granted unless named: agent × resource × action. Wildcard grants need an explicit confirm.
- 06
Local run, masked secrets
Data on disk, secrets from the env file, logs that hide values. The tunnel publishes intake only.
What this version is not
- A required cloud database
- Self-serve signup or public pricing
- Sector logic out of the box (appointments, payments, a shop)
- An admin console exposed on the internet
Tech stack
- Python
- FastAPI
- WhatsApp Cloud API
- Local Admin
