Matrix
Synapse homeserver with PostgreSQL for the AI assistant project. Messages from external platforms (Telegram, Discord, WhatsApp, iMessage) will be bridged into Matrix, where an AI bot processes and responds via LLM APIs.Status
- Synapse + PostgreSQL deployed
- Traefik routing at
matrix.augustin.ai - Admin user
@admin:augustin.aicreated -
.well-knowndelegation (serve fromaugustin.ai) - AI bot (Matrix client that listens and routes to LLM backends)
- Bridges (mautrix: Telegram, Discord, WhatsApp, iMessage)
- Web-based Matrix client (Element Web)
Architecture
Access
- Synapse:
https://matrix.augustin.ai - Element Web:
https://element.augustin.ai - Admin user:
@admin:augustin.ai - Credentials: stored in
.env
Configuration
compose.yaml— Synapse + PostgreSQL + Element Web serviceselement-config.json— Element Web client configurationhomeserver.yaml— Synapse config (gitignored, contains secrets)log.config— Synapse logging config.env— Database password, registration secret, admin credentials
Well-Known Delegation (TODO)
For federation and client discovery,augustin.ai needs to serve:
https://augustin.ai/.well-known/matrix/server→{"m.server": "matrix.augustin.ai:443"}https://augustin.ai/.well-known/matrix/client→{"m.homeserver": {"base_url": "https://matrix.augustin.ai"}}
Next Steps
- Set up
.well-knowndelegation via Cloudflare or Traefik - Build the AI bot as a Matrix appservice
- Deploy mautrix bridges for external platforms
- Add a web client (Element Web or Cinny)