Skip to main content

MEDRE

Modular Event-driven Routing Engine — bridge conversations across Matrix, Meshtastic, MeshCore, LXMF, XMPP, Chatmail, and SimpleX Chat. MEDRE owns routing, persistence, and delivery evidence; each transport is an independently installed Python adapter. MEDRE began with mesh and LoRa bridges and supports messaging services through the same adapter, routing, and evidence contracts.

Working pre-release — testers welcome; not production-ready. Configuration, event, and database schemas are not frozen. Expect breaking changes, test with disposable state, and back up persistent state before updates. Do not delete an active database to work around a schema mismatch: it may contain pending messages and evidence.

Install MEDRE

Install uv and Git.

1. Install the CLI and example providers.

uv tool install 'git+https://github.com/jeremiah-k/medre.git@main'
medre adapters install matrix meshtastic
medre adapters

On Windows, follow the printed uv command after MEDRE exits: the running executable cannot safely replace itself. For a reproducible, long-running bridge use a locked deployment project instead of floating Git branches.

2. Verify the pipeline before connecting anything.

medre config sample > sample.yaml
medre config check --config sample.yaml
medre smoke --config sample.yaml --storage-path smoke.sqlite3 --json

A fake sent receipt proves local routing and persistence, not remote delivery, RF reception, or native inbound codec decoding. The generated sample uses a one-way diagnostic route; build your two-way route in the next step. The same installation runs live bridges.

3. Create your first route.

medre config bridge --output bridge.yaml

Select two adapter instances, map their conversation addresses, and inspect the generated route plan before saving. The builder never connects to a device or starts a service. See Getting Started for the complete walkthrough and live setup.

Adapters

All seven adapters participate in configuration, routing, persistence, diagnostics, and SDK-free smoke testing. Native features and delivery confirmation vary by transport; each transport profile describes those boundaries.

Adapter Transport Setup
Matrix Accounts, rooms, optional E2EE Guide
Meshtastic Radio nodes and channels Guide
MeshCore Companion nodes, contacts and channels Guide
LXMF Reticulum identities and destinations Guide
XMPP Multi-user rooms and direct conversations Guide
Chatmail Accepted groups and direct chats through Chatmail core Guide
SimpleX Chat Allowlisted groups and direct conversations Guide

Install only the adapters you need, for example:

medre adapters install xmpp chatmail simplexchat

Community adapters can implement the same entry-point contracts; runtime startup never installs Python packages. Native libraries and account/profile preparation follow each provider's setup guide. See package management for persistent CLI tools and adapter sources for pinned projects.

Documentation

Start here For
Getting Started Install, smoke, guided bridge, native connections
Operator guides Package management, running, evidence, recovery, troubleshooting
Developer guides Contributing, testing, authoring adapters
Technical specification Normative contracts and supported guarantees

New operators can optionally use AI-assisted setup. Real-world testing and reproducible, sanitized bug reports are welcome—never share credentials, radio keys, identity files, or unredacted databases.

License

MEDRE-owned core source is MIT-licensed. Adapter source and its SDKs retain their respective terms, which may include GPL and the Reticulum License. See dependency licensing before redistribution.

Metadata

Release files for medre 0.1.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 medre 0.1.0
File Size Uploaded Provenance Actions
medre-0.1.0.tar.gz 3.3 MB With provenance Details for medre-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for medre 0.1.0
File Interpreter ABI Platform Actions
medre-0.1.0-py3-none-any.whl Python 3 none any Details for medre-0.1.0-py3-none-any.whl

Total release size: 4.4 MB

Release files / medre-0.1.0.tar.gz

Download URL medre-0.1.0.tar.gz
Size 3.3 MB
Tags Source
SHA-256 checksum
How to use checksums
d9769a92ef511c924587a326bfc1e3a92e9d132944b6737dd7112e40d2335af9
BLAKE2b-256 checksum
How to use checksums
505aa7b6521ddf87ee849b5cf172781d5076d61a4f92db8f963a343a2299fcc9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 14, 2026.

Transparency log

Release files / medre-0.1.0-py3-none-any.whl

Download URL medre-0.1.0-py3-none-any.whl
Size 1.1 MB
Tags Python 3
SHA-256 checksum
How to use checksums
4dc5657eb221eb4e9acd887b16fcb5f8df809b23585afb032e06b672624ff294
BLAKE2b-256 checksum
How to use checksums
02972cca235b5a8bc4335b4e6352043d248cc7d0bb46d4f957277511aa520e62
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 14, 2026.

Transparency log

Security for medre 0.1.0

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for medre-0.1.0.tar.gz

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 Nov 14, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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