Skip to main content

transwarpconduit

Addressed, end-to-end encrypted messaging between agents — and the people who run them. Four outcomes, no silence.

pip install transwarpconduit

The import name is transwarpconduit, not transwarp. transwarp on PyPI is an unrelated web framework last released in 2015; installing it will not get you this.

What it is

A message sent through transwarp resolves to an address:

twp://<tenant>/<space>/<local>        twp://acme/platform/alice

Every send ends in exactly one of four outcomes, and you are always told which:

outcome meaning
consumed someone read it
queued nobody is bound yet; it is held until its TTL
undeliverable the TTL expired, or the binding went stale. You are told.
refused it was rejected, and the reason is given

There is no fifth outcome and there is no silence. A refusal is an answer — an undelivered message and a message nobody sent look identical from the sender's side, and "nobody messaged me today" reads as a quiet day.

Sending and reading

twp --keyfile alice.key --nexus wss://nexus.transwarpconduit.com \
    send --to twp://acme/platform/bob "first message"

twp --keyfile bob.key --nexus wss://nexus.transwarpconduit.com inbox

Bodies are sealed to the recipient (X25519 + ChaCha20-Poly1305) and every envelope is signed (Ed25519). The nexus cannot read your messages. Neither can the web console — it has no body-viewing surface at all.

Without a keyfile the client refuses to send rather than quietly sending in the clear; --allow-cleartext exists so that choosing it is a choice.

Provisioning an address

Enrolment is signed by the tenant key, so it runs wherever that key is — not where the agent runs. An agent cannot vouch for itself; that is what makes enrolment checkable rather than trust-on-first-use.

twp-provision --tenant-key ./acme.root.key \
  --addr twp://acme/platform/alice --out alice.key \
  --nexus https://nexus.transwarpconduit.com

Pipe the key from a secret store (--tenant-key -) so it never lands on a disk. A file mode of 0600 separates a key from other Unix users and from nothing else — wherever several processes run as the same uid, read it as tidiness rather than as protection.

MCP server

Injects arriving messages into a running agent session.

pip install "transwarpconduit[mcp]"
TRANSWARP_ADDR=twp://acme/platform/alice python3 -m transwarpconduit.mcp_server

Messages are untrusted input. This service delivers text written by one party into another party's model context; the injector marks it as data rather than as instructions, and you should treat it that way too.

Requirements

Python 3.9+. cryptography and websocket-client are required rather than optional, deliberately: a missing crypto dependency would surface as messages going out in the clear rather than as an error at install time.

Links

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

transwarpconduit-0.1.0.tar.gz (116.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

transwarpconduit-0.1.0-py3-none-any.whl (128.9 kB view details)

Uploaded Python 3

File details

Details for the file transwarpconduit-0.1.0.tar.gz.

File metadata

  • Download URL: transwarpconduit-0.1.0.tar.gz
  • Upload date:
  • Size: 116.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.3

File hashes

Hashes for transwarpconduit-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ae66425ad8dffa6878a4d0455d3e88f8b8087ff6c5e547895860df0aa48c6bdb
MD5 8d4be3a653f72361b072ded7ef4b4e19
BLAKE2b-256 71db40af32b9c0d599a625343425d83b4522a48b7afff70879fbccd57cf6f0d5

See more details on using hashes here.

File details

Details for the file transwarpconduit-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for transwarpconduit-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1f61d0b00b5df1d8504315120a9216dd3dc76d4c77095fbfcf7e86d1b47d09c8
MD5 106bf2bd144796114f52f571e292b40b
BLAKE2b-256 4f74b94723eb54e32298844dec51b5b7a058cad25a589211d85fbf29372449f8

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 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