GuidesChannels

Connecting OpenClaw to Matrix (with real end-to-end encryption)

The lightest channel setup OpenClaw has: any homeserver, an access token, no webhook, no public URL, and full E2EE support. Setup, encryption upkeep, and the LAN-homeserver trap.

August 10, 2026Updated September 8, 2026The Everpod team
The short answer

Matrix is the lightest serious channel in OpenClaw’s catalog: install the @openclaw/matrix plugin, point it at any homeserver with an access token, restart, invite the bot. No webhook, no public URL, no cloud console: the connection is outbound-only. And it’s the one channel with real end-to-end encryption support: DMs, rooms, threads, media, reactions, polls, and E2EE all work. The cost is E2EE’s operational upkeep (device verification, cross-signing, key housekeeping), plus one trap for self-hosters: LAN homeservers are blocked by default.

Setup

openclaw plugins install @openclaw/matrix

Then configure an account. Any homeserver works: matrix.org, your own Synapse, a hosted one. Token auth is preferred (password login works and caches credentials):

channels: {
  matrix: {
    homeserver: "https://matrix.example.org",
    accessToken: "<token>",
  },
}

Restart the gateway, invite the bot to a room (auto-join is configurable: off, allowlist, or always), and you’re talking. There’s an interactive wizard (openclaw channels add) if you’d rather be walked through it. Because the plugin dials out to the homeserver, your machine exposes nothing, the same pleasant property the Telegram channel has, and the loudest contrast with the webhook-shaped corporate channels.

Encryption: supported, with homework

Turn it on with encryption: true or run openclaw matrix encryption setup, which bootstraps secret storage, cross-signing, and key backup in one go. Encrypted rooms are detected automatically. Even media thumbnails go encrypted without extra config. The upkeep is where Matrix asks more of you than any other channel: verify the agent’s device (openclaw matrix verify device with your recovery key) so other users don’t see scary shields, and expect some housekeeping over time. Old OpenClaw-managed devices can accumulate (there’s a devices prune-stale command for exactly this). None of it is hard; all of it is real. The payoff is meaningful: on most bot platforms the server can read bot messages. An E2EE Matrix room is the exception.

Access control and behavior

Standard OpenClaw gating: DMs pairing-first (openclaw pairing approve matrix <code>), rooms allowlisted by default with per-room mention-requirements. Allowlist entries use real Matrix identifiers: @user:server for people, !roomId:server or #alias:server for rooms. Nice touches: proper thread support (reply-in-thread configurable), per-user or per-room DM session scoping, and inbound voice notes get transcribed when you have an audio model configured.

The traps

Who this channel is for

Matrix pairs naturally with the self-hosted temperament: if you already run (or rent) a homeserver because you want your chat under your control, an agent that joins E2EE rooms without exposing a single port is the same philosophy extended. It’s also simply a good default channel: the setup effort sits closer to Telegram than to Teams, with a privacy ceiling none of the others reach.

Your own cloud agent, set up for you.

Everpod runs OpenClaw on a private, always-on computer of its own: set up, secured and backed up, with model usage included. You name your agent, and say hello about fifteen minutes later.

Create your agent

First month half price, then $29/mo · model usage included · cancel anytime

Wondering what you’d do with one? See what a cloud agent can do