Skip to main content

🐙 takopi-matrix

Matrix transport backend for takopi.

Features

  • Matrix protocol support via matrix-nio
  • End-to-end encryption (E2EE) by default
  • Voice message transcription (OpenAI Whisper)
  • File download support
  • Interactive onboarding wizard
  • Multi-room support with per-room engine defaults
  • Project-to-room binding

Requirements

  • Python ≥3.14
  • libolm 3.x (for E2EE)
  • takopi ≥0.18

Installation

1. Install libolm

Platform Command
Debian/Ubuntu sudo apt-get install libolm-dev
Fedora sudo dnf install libolm-devel
Arch Linux sudo pacman -S libolm
openSUSE sudo zypper install libolm-devel
macOS (Homebrew) brew install libolm

2. Install takopi-matrix

pip install takopi-matrix

Or with uv:

uv tool install takopi --with takopi-matrix

Configuration

Interactive Setup

takopi --onboard

Manual Configuration

Add to ~/.takopi/takopi.toml:

transport = "matrix"

[transports.matrix]
homeserver = "https://matrix.example.org"
user_id = "@bot:example.org"
access_token = "syt_your_access_token"
room_ids = ["!roomid:example.org"]

# Optional: per-room engine defaults
[transports.matrix.room_engines]
"!room1:example.org" = "claude"
"!room2:example.org" = "codex"

# Optional: project-to-room binding
[transports.matrix.room_projects]
"!room1:example.org" = "myproject"

Documentation

License

MIT

Metadata

Release files for takopi-matrix 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for takopi-matrix 0.4.0
File Size Uploaded
takopi_matrix-0.4.0.tar.gz 209.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for takopi-matrix 0.4.0
File Interpreter ABI Platform
takopi_matrix-0.4.0-py3-none-any.whl Python 3 none any Details

Total release size: 305.1 kB

Release files / takopi_matrix-0.4.0.tar.gz

Download URL takopi_matrix-0.4.0.tar.gz
Size 209.3 kB
Tags Source
SHA-256 checksum
How to use checksums
c0dcafd96098715f0f501ad3c033a1044d815fe06224def8d80039b3de2b5130
BLAKE2b-256 checksum
How to use checksums
bc8e45c57328838d40f51acbce7381dfb665f7870a75572daab9dbf409cb19cf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 22, 2026.

Transparency log

Release files / takopi_matrix-0.4.0-py3-none-any.whl

Download URL takopi_matrix-0.4.0-py3-none-any.whl
Size 95.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a97bcbdcf4284b7c4d9dcfc877ef65beea2ba0d79b18922d261550d842d8d567
BLAKE2b-256 checksum
How to use checksums
7d2d93d0185a1c86d16a35f8db5976030cb37fe51fa540946bbc9add02474708
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Feb 22, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.4.0 This release

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page