Intelligent middleware for structured data pipelines — IoT, AI/ML, DeFi, legal, geospatial, supply chain, and beyond. Edge to cloud, any protocol, any scale.
import asyncio from wire_band_edge import WireBandEdgeClient, MQTTConnector async def main(): # 50k ring buffer · 200 events/batch · 1s flush client = WireBandEdgeClient( backend_url="https://wire.band", device_id="gateway-01", ) # Topics auto-classified by domain family connector = MQTTConnector("mqtt://broker.local:1883") await client.run_mqtt(connector, topics=["data/#"]) asyncio.run(main())
use wireband_edge::{WireBandClient, MqttConnector}; #[tokio::main] async fn main() -> Result<(), Box<dyn Error>> { let client = WireBandClient::builder() .backend_url("https://wire.band") .device_id("edge-node-01") .build()?; let connector = MqttConnector::new( "mqtt://broker.local:1883", &["data/#"], )?; client.run_mqtt(connector).await?; Ok(()) }
# Docker — Redis + Caddy + Wire.Band docker compose -f docker-compose.prod.yml up -d # Enable full crypto stack THETA_ENVELOPE_KEY=$(openssl rand -hex 32) THETA_SYMBOL_REMAP_KEY=$(openssl rand -hex 32) THETA_CONTEXTUAL_SALT=1 # HKDF forward secrecy # Subscribe to live event stream curl -N https://wire.band/iot/v1/stream # Pipeline health check curl https://wire.band/stats
Python: pip install "wire-band-edge[mqtt]" for MQTT support.
Rust: cargo add wireband-edge. Zero private dependencies —
installs on any constrained device.
Deploy the Wire.Band server with docker compose up or
run bare with uvicorn. Set backend_url
in your edge client — that's it.
MQTTConnector classifies events automatically via longest-match
routing. IoT sensors, AI inference results, DeFi events — all
classified, encoded, and batched transparently.
Subscribe to GET /iot/v1/stream (SSE) for real-time decoded
events across all domains. Enable end-to-end encryption with two
environment variables.