Skip to main content

medre-adapter-lxmf

The LXMF adapter for MEDRE.

Install

Use uv to install MEDRE and this adapter in the same persistent tool environment:

uv tool install medre
medre adapters install lxmf

On Windows, the package-changing command prints a uv command to run after medre.exe exits, rather than replacing an executable still in use. Adapter installation defaults to package-index requirements; existing saved Git requests and catalogs are preserved. For fake smoke, guided route creation, locked uv deployment projects, private Git sources, local checkouts, and the same-environment requirement, see the MEDRE Getting Started guide and the adapter-source guide. Neither MEDRE nor the adapter installs packages during runtime startup.

Configure

Save a private connections.yaml with one real instance. The common case needs the private storage path; Reticulum uses its default configuration locations when reticulum_config_dir is omitted:

adapters:
  lxmf:
    relay:
      adapter_kind: real
      connection_type: reticulum
      storage_path: /private/medre/lxmf/relay
routes: {}

Add another adapter instance, then build routes with guided configuration. For identity handling, every option, environment overrides, and troubleshooting, see the LXMF setup guide.

Verify

Confirm the installed adapter and the saved configuration resolve:

medre adapters check --config connections.yaml

The setup guide's Verify section shows the config check, health semantics, and first-contact path discovery timing.

Using an existing Reticulum setup

Reticulum is the shared network service; LXMF is the messaging protocol used by applications such as Sideband and Reticulum MeshChat. MEDRE acts as its own LXMF contact and exchanges ordinary text messages with those applications. A dedicated Reticulum instance is optional. See the Reticulum sharing guide.

Keep MEDRE's LXMF identity and storage profile separate from another chat app's profile. Select the existing Reticulum configuration with reticulum_config_dir, or leave it unset to use the SDK's normal configuration discovery. Leaving identity_path unset lets MEDRE persist a dedicated identity in storage_path. Applications can share the network service without sharing their private keys, ratchets, or local message databases. Original relay senders are represented by MEDRE's configured attribution text and metadata, rather than separate native LXMF signing identities. Reply/thread relations use the text fallback described below; app-specific attachments and reactions are separate capabilities.

An offline setup form collects these connection settings without starting a runtime, importing the transport SDKs, or contacting the network:

medre config native --transport lxmf --adapter-id bot --output connection.yaml

The form writes a new private YAML file and collects configuration values only. It references an existing Reticulum identity file by path and never provisions, generates, or modifies identity material. Preparing that identity, configuring Reticulum interfaces, and discovering peer destination hashes for route contexts remain native, manual steps: use the Reticulum sharing guide and the announces of the peers to reach. Leaving the identity path blank keeps the documented behavior above: the worker persists a dedicated identity in the storage path on first start.

Stopped snapshots cover MEDRE's LXMF application identity, ratchets, router state, and handoff journal. They do not capture or stop a shared Reticulum service or other chat applications. Keep that network setup available, or restore it using its own procedure. The native-worker specification describes the detailed capture boundary.

Replies and threads

Replies and threads relay as inline fallback text. They do not emit native reply/thread operations. Delivery evidence identifies fallback_text; reactions, edits, and deletes remain unsupported and are suppressed. Fake adapters expose the same planning capabilities as their health reports.

Startup and shutdown ownership

Real Reticulum adapters run native SDK construction, queues and callbacks in an owned worker process. A blocked constructor cannot block core startup or replace MEDRE's host signal handlers. The parent retains canonical admission and exact core delivery-attempt provenance; native terminal facts become ordinary post-handoff observations. SDK-free fakes keep the local session.

Each worker exclusively leases its identity and queue storage. Omitting identity_path generates a persistent identity under storage_path. Preserve that private directory across restarts. The local handoff journal fences repeated submission of the same core attempt; an uncertain native outcome requires operator reconciliation and suppresses automatic retry. Handoff acceptance does not establish recipient delivery. Worker loss does not invent terminal facts.

See the native worker contract for cancellation, queue bounds, environment inheritance, restart limits and qualification, and the runtime ownership contract for SDK embedding.

Development

See contributing for the shared Trunk quality gate and uv-based editable development workflow. Maintainer material — packaging and provenance, ownership and imports, offline samples and diagnostics, tests, fake smoke sources, coordinated CI, and the adapter contract — lives in adapter maintenance.

Metadata

Release files for medre-adapter-lxmf 0.3.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-adapter-lxmf 0.3.0
File Size Uploaded Provenance Actions
medre_adapter_lxmf-0.3.0.tar.gz 233.7 kB With provenance Details for medre_adapter_lxmf-0.3.0.tar.gz

Built distribution (wheel)

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

Total release size: 330.5 kB

Release files / medre_adapter_lxmf-0.3.0.tar.gz

Download URL medre_adapter_lxmf-0.3.0.tar.gz
Size 233.7 kB
Tags Source
SHA-256 checksum
How to use checksums
9732e5ac0e3e426fbbe1d2d2fe9f493f6cf530b39020800877fac1fa046553d3
BLAKE2b-256 checksum
How to use checksums
7a42df25fea70deff5d50ecfeeddd0ee39bc990af93bc41aec55595fa4f2b961
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 28, 2026.

Transparency log

Release files / medre_adapter_lxmf-0.3.0-py3-none-any.whl

Download URL medre_adapter_lxmf-0.3.0-py3-none-any.whl
Size 96.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e18d6e84f74c39c68a0d15d714e01d5b00bf54f9103df880ca55a5889841132a
BLAKE2b-256 checksum
How to use checksums
df4624d058ad6502a80c8083715d09d02eb0fb6f90ec1889519cd1fef47358be
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 28, 2026.

Transparency log

Security for medre-adapter-lxmf 0.3.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_adapter_lxmf-0.3.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 28, 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