Core Concepts

What Is Agent Gateway?

The control plane that routes messages between users and AI agents across multiple channels, managing authentication, rate limiting, and channel-specific protocols.

In Plain English

The agent gateway is the front door to your AI agent. Every message — whether from WhatsApp, Telegram, Discord, Slack, or a web chat — enters through the gateway. It authenticates the sender, routes the message to the right agent, and delivers the response back through the correct channel.

OpenClaw's gateway handles protocol translation between 23+ channels. A WhatsApp message and a Slack message look completely different at the protocol level, but the gateway normalizes them into a standard format the agent understands.

The gateway also enforces DM access policies, manages WebSocket connections for real-time chat, and provides the API surface for programmatic agent interaction.

Why It Matters for OpenClaw

Without a gateway, you build and maintain channel integrations yourself — each with its own authentication, message format, and delivery semantics. The gateway abstracts this complexity into a single deployment.

How Clawctl Helps

Clawctl deploys the OpenClaw gateway with TLS, health monitoring, and auto-recovery. Channel configuration is managed through the dashboard. DM access policies control who can message your agent.

Try Clawctl — 60 Second Deploy

Common Questions

How many channels does the gateway support?

23+ channels including WhatsApp, Telegram, Discord, Slack, Mattermost, web chat, and more.

Can I use the gateway API directly?

Yes. The gateway exposes an HTTP/WebSocket API for programmatic access alongside channel integrations.

What happens if the gateway goes down?

Clawctl auto-recovery detects gateway failures and restarts or redeploys within minutes.