piagent_
← ~/map

$ cat ~/map/pi-matrix-integration.md

pi-matrix-integration

Steer a pi session from a Matrix room — milestones post out, your replies steer the agent from anywhere.

extensions✓ Nov 8

Facts

repository
github.com/r3dnl/pi-matrix-integration ↗
GitHub Stars
★ 2
Forks
0
license
NOASSERTION
npm / mo
—
last push
Nov 15, 2026

install

pi install git:github.com/r3dnl/pi-matrix-integration@v0.9.0 (version 0.9.0, beta — developed and used on Linux and macOS, never on Windows).

## TL;DR

A pi extension that connects a session to a Matrix room: milestones, TODO progress and each turn's final answer post to the room, replies from Element or any bridged app steer the agent, and one session runs as one thread whose root message is rewritten in place with topic, points and decisions — surviving /compact and restarts.

## Key points

## FAQ

Q Does it work on Windows?

The README's beta disclaimer says it has been developed and used on Linux and macOS, never on Windows — use at your own risk.

Q Who can drive my session from the room?

Any room member can type any extension command and it runs against your session; there is no per-user allowlist — Matrix room membership is the access control, so keep the room invite-only.

Q Can I install it from npm?

The README documents the git install pinned at v0.9.0 and says pi install npm:pi-matrix-integration will work once the npm publish lands.

Q Why do I see no sub-agent events in the room?

Sub-agent visibility and room-mode thread summaries ride on a sub-agent extension being installed — the README recommends @tintinweb/pi-subagents.

Q Threads are missing in my Matrix client.

Threads are a Labs feature in Element X (iOS); Element Desktop shows threads in a panel.

## References

## Related entries

## Guides

Last updated: Nov 15, 2026