Hermes V0.2 — Early Access

The P2P Data Messenger for AI Workloads

Direct P2P QUIC streaming and the Arion Sync-Engine — securely routing 100GB+ tensor payloads across Subnets.

$ pip install hippius-hermes

HIPPIUS HERMES

Beautifully simple. Massively scalable.

A seamless Machine-to-Machine protocol built for AI infrastructure — connecting Subnet Miners across Bittensor with zero friction.

Direct P2P Streaming

Push files directly between peers over QUIC bi-streams. No HTTP intermediary, no storage server. Ideal for real-time gradient exchange.

E2E Encrypted

NaCl SealedBox (X25519 + XSalsa20-Poly1305) in Rust before data hits the wire. On-chain public keys resolve automatically.

Arion Sync-Engine

Route 100GB+ tensor payloads through distributed storage. Persist model weights, datasets, and checkpoints — no centralized servers.

SS58 Identity

Node identity loaded from your Ed25519 secret key, mapped to your SS58 address via the on-chain AccountProfile pallet.

ARCHITECTURE

Two data paths. Maximum flexibility.

Stream files directly between peers via QUIC for real-time gradient exchange, or route 100GB+ payloads through Arion for persistent storage.

Sender
Direct QUIC
Arion Sync-Engine
Receiver

Direct P2P QUIC

Real-time gradient exchange. No intermediary, no latency overhead. Ideal for live tensor data.

Arion Sync-Engine

100GB+ tensor payloads routed through distributed persistent storage. S3 Pre-Signed URLs supported.

DEVELOPER

Start building in minutes

Native Python SDK with a PyO3 backend that releases the GIL during heavy crypto. JSON offline config for clean mass deployments.

Subnet Integration

Configure Hermes nodes for subnet-aware QUIC transfers and direct peer-to-peer model delivery.

quickstart.py

01import asyncio
02from hermes import Config, HermesClient
03
04async def main():
05 # This node is on subnet 42 but needs to talk to subnet 69
06 config = Config(
07 node_secret_key_path="/etc/hermes/iroh.key",
08 ss58_address="5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY",
09 api_token="sk-your-token",
10 storage_directory=".hermes_data",
11 subnet_ids=[42]
12 )
13
14 client = await HermesClient.create(config)
15
16 # send_file_unencrypted uses hippius-hermes/data/1 (direct P2P QUIC).
17 # The receiver accepts hippius-hermes/1 regardless of their subnet_ids config.
18 dest_ss58 = "5FHneW46xGXgs5mUiveU4sbTyGBzmstUspZC92UhjJM694ty"
19 filename = await client.send_file_unencrypted(
20 dest_ss58,
21 "./gradients.safetensors"
22 )
23 print(f"Sent cross-subnet! File: {filename}")
24
25if __name__ == "__main__":
26 asyncio.run(main())
GET STARTED

Start building today.