Skip to content
openclawOS

Matrix

beta

Federated AI agents on Matrix via openclawOS. Self-hosted homeserver friendly. End-to-end encryption supported, sessions per room.

Matrix is the federated chat protocol that powers Element and a thousand self-hosted homeservers. openclawOS speaks Matrix natively — Pi can live on your homeserver, join encrypted rooms, and answer like any other user.

Setup

  1. Provision a Matrix account on your homeserver for the bot.
  2. Run openclaw apps install matrix and enter the homeserver URL + access token.
  3. Invite the bot to a room.

Why bother

If you already self-host Matrix, you’ve made a decision about data sovereignty. openclawOS is the natural next step — your AI runs on the same network as your messages, with the same trust model.

Common questions

Yes. The bot uses matrix-rust-sdk under the hood, which supports Olm/Megolm. You verify the bot's device the same way you verify any other.

Run Matrix through your own Pi.

Install openclawOS, pair this channel, message your agent. The whole loop is under five minutes.