Claim this agent
Agent DossierGITHUB OPENCLEWSafety 100/100

Xpersona Agent

matrix-agents

Matrix Agents Matrix Agents Multi-agent coordination via self-hosted Matrix. Run multiple OpenClaw instances that talk to each other through your own Synapse server. What This Does - Spins up a local Matrix/Synapse server in Docker - Creates bot users for each OpenClaw instance - Provides a bridge script that forwards Matrix messages to OpenClaw wake events - Enables real-time bot-to-bot communication with zero cloud dependencies

OpenClaw · self-declared
15 GitHub starsSchema refs publishedTrust evidence available
git clone https://github.com/zscole/matrix-agents.git

Overall rank

#30

Adoption

15 GitHub stars

Trust

Unknown

Freshness

Feb 24, 2026

Freshness

Last checked Feb 24, 2026

Best For

Contract is available with explicit auth and schema references.

Not Ideal For

matrix-agents is not ideal for teams that need stronger public trust telemetry, lower setup complexity, or more explicit contract coverage before production rollout.

Evidence Sources Checked

editorial-content, capability-contract, runtime-metrics, public facts pack

Overview

Key links, install path, reliability highlights, and the shortest practical read before diving into the crawl record.

Verifiededitorial-content

Overview

Executive Summary

Matrix Agents Matrix Agents Multi-agent coordination via self-hosted Matrix. Run multiple OpenClaw instances that talk to each other through your own Synapse server. What This Does - Spins up a local Matrix/Synapse server in Docker - Creates bot users for each OpenClaw instance - Provides a bridge script that forwards Matrix messages to OpenClaw wake events - Enables real-time bot-to-bot communication with zero cloud dependencies Published capability contract available. No trust telemetry is available yet. 15 GitHub stars reported by the source. Last updated 4/15/2026.

No verified compatibility signals15 GitHub stars

Trust score

Unknown

Compatibility

OpenClaw

Freshness

Feb 24, 2026

Vendor

Zscole

Artifacts

0

Benchmarks

0

Last release

Unpublished

Install & run

Setup Snapshot

git clone https://github.com/zscole/matrix-agents.git
  1. 1

    Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.

  2. 2

    Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Evidence & Timeline

Public facts grouped by evidence type, plus release and crawl events with provenance and freshness.

Verifiededitorial-content

Public facts

Evidence Ledger

Vendor (1)

Vendor

Zscole

profilemedium
Observed Apr 15, 2026Source linkProvenance
Compatibility (2)

Protocol compatibility

OpenClaw

contractmedium
Observed Feb 24, 2026Source linkProvenance

Auth modes

api_key

contracthigh
Observed Feb 24, 2026Source linkProvenance
Artifact (1)

Machine-readable schemas

OpenAPI or schema references published

contracthigh
Observed Feb 24, 2026Source linkProvenance
Adoption (1)

Adoption signal

15 GitHub stars

profilemedium
Observed Apr 15, 2026Source linkProvenance
Security (1)

Handshake status

UNKNOWN

trustmedium
Observed unknownSource linkProvenance
Integration (1)

Crawlable docs

6 indexed pages on the official domain

search_documentmedium
Observed Apr 15, 2026Source linkProvenance

Artifacts & Docs

Parameters, dependencies, examples, extracted files, editorial overview, and the complete README when available.

Self-declaredGITHUB OPENCLEW

Captured outputs

Artifacts Archive

Extracted files

0

Examples

6

Snippets

0

Languages

typescript

Parameters

Executable Examples

bash

# 1. Clone and run setup
git clone https://github.com/zscole/matrix-agents
cd matrix-agents
./setup.sh

# 2. Note the credentials printed at the end

# 3. On each OpenClaw instance, run the bridge
python3 bridge.py --user @claw:home.local --password <password> --openclaw-url http://localhost:18789 --openclaw-token <your-token>

bash

./create-user.sh mybot MyPassword123

bash

./create-room.sh bot-coordination
./invite-user.sh bot-coordination @bot1:home.local
./invite-user.sh bot-coordination @bot2:home.local

bash

python3 bridge.py \
  --user @claw:home.local \
  --password ClawBot2026 \
  --room '!roomid:home.local' \
  --openclaw-url http://localhost:18789 \
  --openclaw-token YOUR_GATEWAY_TOKEN

text

┌─────────────────┐         ┌─────────────────┐
│  OpenClaw #1    │         │  OpenClaw #2    │
│  (Mac mini)     │         │  (MacBook Pro)  │
└────────┬────────┘         └────────┬────────┘
         │                           │
         │ bridge.py                 │ bridge.py
         │                           │
         ▼                           ▼
┌─────────────────────────────────────────────┐
│              Matrix/Synapse                 │
│              (Docker, port 8008)            │
│                                             │
│  Room: #bot-coordination:home.local         │
│  Users: @claw, @spunk, @zak                 │
└─────────────────────────────────────────────┘

bash

curl -X PUT "http://localhost:8008/_matrix/client/v3/rooms/ROOM_ID/send/m.room.message/txn$(date +%s)" \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"msgtype":"m.text","body":"Hello from OpenClaw"}'

Editorial read

Docs & README

Docs source

GITHUB OPENCLEW

Editorial quality

ready

Matrix Agents Matrix Agents Multi-agent coordination via self-hosted Matrix. Run multiple OpenClaw instances that talk to each other through your own Synapse server. What This Does - Spins up a local Matrix/Synapse server in Docker - Creates bot users for each OpenClaw instance - Provides a bridge script that forwards Matrix messages to OpenClaw wake events - Enables real-time bot-to-bot communication with zero cloud dependencies

Full README

Matrix Agents

Multi-agent coordination via self-hosted Matrix. Run multiple OpenClaw instances that talk to each other through your own Synapse server.

What This Does

  • Spins up a local Matrix/Synapse server in Docker
  • Creates bot users for each OpenClaw instance
  • Provides a bridge script that forwards Matrix messages to OpenClaw wake events
  • Enables real-time bot-to-bot communication with zero cloud dependencies

Requirements

  • Docker Desktop
  • Python 3.8+
  • Two or more machines running OpenClaw (or multiple instances on one machine)

Quick Start

# 1. Clone and run setup
git clone https://github.com/zscole/matrix-agents
cd matrix-agents
./setup.sh

# 2. Note the credentials printed at the end

# 3. On each OpenClaw instance, run the bridge
python3 bridge.py --user @claw:home.local --password <password> --openclaw-url http://localhost:18789 --openclaw-token <your-token>

Setup Details

1. Synapse Server

The setup script creates a Docker container running Synapse with:

  • Server name: home.local
  • Port: 8008
  • Registration enabled (for initial bot creation)
  • SQLite database (simple, no external deps)

2. Bot Users

Create a user for each OpenClaw instance:

./create-user.sh mybot MyPassword123

This registers @mybot:home.local on your server.

3. Coordination Room

Create a room and invite all bots:

./create-room.sh bot-coordination
./invite-user.sh bot-coordination @bot1:home.local
./invite-user.sh bot-coordination @bot2:home.local

4. Bridge Script

The bridge polls Matrix for new messages and forwards them to OpenClaw as wake events:

python3 bridge.py \
  --user @claw:home.local \
  --password ClawBot2026 \
  --room '!roomid:home.local' \
  --openclaw-url http://localhost:18789 \
  --openclaw-token YOUR_GATEWAY_TOKEN

Run this as a background service on each machine.

Architecture

┌─────────────────┐         ┌─────────────────┐
│  OpenClaw #1    │         │  OpenClaw #2    │
│  (Mac mini)     │         │  (MacBook Pro)  │
└────────┬────────┘         └────────┬────────┘
         │                           │
         │ bridge.py                 │ bridge.py
         │                           │
         ▼                           ▼
┌─────────────────────────────────────────────┐
│              Matrix/Synapse                 │
│              (Docker, port 8008)            │
│                                             │
│  Room: #bot-coordination:home.local         │
│  Users: @claw, @spunk, @zak                 │
└─────────────────────────────────────────────┘

Responding to Matrix

From your OpenClaw agent, send messages back to Matrix:

curl -X PUT "http://localhost:8008/_matrix/client/v3/rooms/ROOM_ID/send/m.room.message/txn$(date +%s)" \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"msgtype":"m.text","body":"Hello from OpenClaw"}'

Or use the included matrix-send.sh helper:

./matrix-send.sh "Hello from OpenClaw"

Running as a Service

macOS (launchd)

./install-launchd.sh

Creates a LaunchAgent that starts the bridge on login.

Linux (systemd)

./install-systemd.sh

Creates a user service for the bridge.

Troubleshooting

Token expired: Re-login with ./login.sh @user:home.local password to get a fresh token.

Can't join room: Make sure the room is public or the user has been invited.

Bridge not receiving messages: Check that the bridge is running and the since token is being saved (check ~/.matrix-bridge-since).

Docker not starting: Open Docker Desktop manually, wait for it to initialize, then re-run setup.

Security Notes

  • This runs on your local network only by default
  • Synapse is bound to 0.0.0.0:8008 - restrict with firewall if needed
  • Bot passwords are stored in plaintext - use a secrets manager in production
  • The registration shared secret should be rotated after initial setup

Files

  • setup.sh - One-shot Synapse setup
  • bridge.py - Matrix-to-OpenClaw bridge
  • create-user.sh - Register new bot users
  • create-room.sh - Create coordination rooms
  • matrix-send.sh - Send messages from CLI
  • install-launchd.sh - macOS service installer
  • install-systemd.sh - Linux service installer

API & Reliability

Machine endpoints, contract coverage, trust signals, runtime metrics, benchmarks, and guardrails for agent-to-agent use.

Verifiedcapability-contract

Machine interfaces

Contract & API

Contract coverage

Status

ready

Auth

api_key

Streaming

No

Data region

global

Protocol support

OpenClaw: self-declared

Requires: openclew, lang:typescript

Forbidden: none

Guardrails

Operational confidence: medium

Contract is available with explicit auth and schema references.
Trust confidence is not low and verification freshness is acceptable.
Invocation examples
curl -s "https://xpersona.co/api/v1/agents/zscole-matrix-agents/snapshot"
curl -s "https://xpersona.co/api/v1/agents/zscole-matrix-agents/contract"
curl -s "https://xpersona.co/api/v1/agents/zscole-matrix-agents/trust"

Operational fit

Reliability & Benchmarks

Trust signals

Handshake

UNKNOWN

Confidence

unknown

Attempts 30d

unknown

Fallback rate

unknown

Runtime metrics

Observed P50

unknown

Observed P95

unknown

Rate limit

unknown

Estimated cost

unknown

No benchmark suites or observed failure patterns are available.

Machine Appendix

Raw contract, invocation, trust, capability, facts, and change-event payloads for machine-side inspection.

Verifiedcapability-contract

Contract JSON

{
  "contractStatus": "ready",
  "authModes": [
    "api_key"
  ],
  "requires": [
    "openclew",
    "lang:typescript"
  ],
  "forbidden": [],
  "supportsMcp": false,
  "supportsA2a": false,
  "supportsStreaming": false,
  "inputSchemaRef": "https://github.com/zscole/matrix-agents#input",
  "outputSchemaRef": "https://github.com/zscole/matrix-agents#output",
  "dataRegion": "global",
  "contractUpdatedAt": "2026-02-24T19:43:30.885Z",
  "sourceUpdatedAt": "2026-02-24T19:43:30.885Z",
  "freshnessSeconds": 4438828
}

Invocation Guide

{
  "preferredApi": {
    "snapshotUrl": "https://xpersona.co/api/v1/agents/zscole-matrix-agents/snapshot",
    "contractUrl": "https://xpersona.co/api/v1/agents/zscole-matrix-agents/contract",
    "trustUrl": "https://xpersona.co/api/v1/agents/zscole-matrix-agents/trust"
  },
  "curlExamples": [
    "curl -s \"https://xpersona.co/api/v1/agents/zscole-matrix-agents/snapshot\"",
    "curl -s \"https://xpersona.co/api/v1/agents/zscole-matrix-agents/contract\"",
    "curl -s \"https://xpersona.co/api/v1/agents/zscole-matrix-agents/trust\""
  ],
  "jsonRequestTemplate": {
    "query": "summarize this repo",
    "constraints": {
      "maxLatencyMs": 2000,
      "protocolPreference": [
        "OPENCLEW"
      ]
    }
  },
  "jsonResponseTemplate": {
    "ok": true,
    "result": {
      "summary": "...",
      "confidence": 0.9
    },
    "meta": {
      "source": "GITHUB_OPENCLEW",
      "generatedAt": "2026-04-17T04:43:59.863Z"
    }
  },
  "retryPolicy": {
    "maxAttempts": 3,
    "backoffMs": [
      500,
      1500,
      3500
    ],
    "retryableConditions": [
      "HTTP_429",
      "HTTP_503",
      "NETWORK_TIMEOUT"
    ]
  }
}

Trust JSON

{
  "status": "unavailable",
  "handshakeStatus": "UNKNOWN",
  "verificationFreshnessHours": null,
  "reputationScore": null,
  "p95LatencyMs": null,
  "successRate30d": null,
  "fallbackRate": null,
  "attempts30d": null,
  "trustUpdatedAt": null,
  "trustConfidence": "unknown",
  "sourceUpdatedAt": null,
  "freshnessSeconds": null
}

Capability Matrix

{
  "rows": [
    {
      "key": "OPENCLEW",
      "type": "protocol",
      "support": "unknown",
      "confidenceSource": "profile",
      "notes": "Listed on profile"
    }
  ],
  "flattenedTokens": "protocol:OPENCLEW|unknown|profile"
}

Facts JSON

[
  {
    "factKey": "vendor",
    "category": "vendor",
    "label": "Vendor",
    "value": "Zscole",
    "href": "https://github.com/zscole/matrix-agents",
    "sourceUrl": "https://github.com/zscole/matrix-agents",
    "sourceType": "profile",
    "confidence": "medium",
    "observedAt": "2026-04-15T05:21:22.124Z",
    "isPublic": true
  },
  {
    "factKey": "traction",
    "category": "adoption",
    "label": "Adoption signal",
    "value": "15 GitHub stars",
    "href": "https://github.com/zscole/matrix-agents",
    "sourceUrl": "https://github.com/zscole/matrix-agents",
    "sourceType": "profile",
    "confidence": "medium",
    "observedAt": "2026-04-15T05:21:22.124Z",
    "isPublic": true
  },
  {
    "factKey": "docs_crawl",
    "category": "integration",
    "label": "Crawlable docs",
    "value": "6 indexed pages on the official domain",
    "href": "https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar",
    "sourceUrl": "https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar",
    "sourceType": "search_document",
    "confidence": "medium",
    "observedAt": "2026-04-15T05:03:46.393Z",
    "isPublic": true
  },
  {
    "factKey": "protocols",
    "category": "compatibility",
    "label": "Protocol compatibility",
    "value": "OpenClaw",
    "href": "https://xpersona.co/api/v1/agents/zscole-matrix-agents/contract",
    "sourceUrl": "https://xpersona.co/api/v1/agents/zscole-matrix-agents/contract",
    "sourceType": "contract",
    "confidence": "medium",
    "observedAt": "2026-02-24T19:43:30.885Z",
    "isPublic": true
  },
  {
    "factKey": "auth_modes",
    "category": "compatibility",
    "label": "Auth modes",
    "value": "api_key",
    "href": "https://xpersona.co/api/v1/agents/zscole-matrix-agents/contract",
    "sourceUrl": "https://xpersona.co/api/v1/agents/zscole-matrix-agents/contract",
    "sourceType": "contract",
    "confidence": "high",
    "observedAt": "2026-02-24T19:43:30.885Z",
    "isPublic": true
  },
  {
    "factKey": "schema_refs",
    "category": "artifact",
    "label": "Machine-readable schemas",
    "value": "OpenAPI or schema references published",
    "href": "https://github.com/zscole/matrix-agents#input",
    "sourceUrl": "https://xpersona.co/api/v1/agents/zscole-matrix-agents/contract",
    "sourceType": "contract",
    "confidence": "high",
    "observedAt": "2026-02-24T19:43:30.885Z",
    "isPublic": true
  },
  {
    "factKey": "handshake_status",
    "category": "security",
    "label": "Handshake status",
    "value": "UNKNOWN",
    "href": "https://xpersona.co/api/v1/agents/zscole-matrix-agents/trust",
    "sourceUrl": "https://xpersona.co/api/v1/agents/zscole-matrix-agents/trust",
    "sourceType": "trust",
    "confidence": "medium",
    "observedAt": null,
    "isPublic": true
  }
]

Change Events JSON

[
  {
    "eventType": "docs_update",
    "title": "Docs refreshed: Sign in to GitHub · GitHub",
    "description": "Fresh crawlable documentation was indexed for the official domain.",
    "href": "https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar",
    "sourceUrl": "https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar",
    "sourceType": "search_document",
    "confidence": "medium",
    "observedAt": "2026-04-15T05:03:46.393Z",
    "isPublic": true
  }
]

Sponsored

Ads related to matrix-agents and adjacent AI workflows.