For getting started
Public relays
We run them. Everyone shares them.
- Public access, with rate limits
- No uptime guarantee
+Less net work for networks
Add encrypted peer-to-peer connectivity to your app, agent, or workflow.
Open source. Encrypted. Forever.
iroh's QUIC multipath implementation automatically switches between Wi-Fi, cellular, ethernet, LAN, LoRa, HaLow, Tor, Bluetooth—or bring your own transport.
Direct links bypass NATs and firewalls, with stateless relays as fallback. No data is stored on the cloud, unless you explicitly choose to store it there.
Secure end-to-end encryption with optional observability to diagnose issues and improve performance.
“Iroh is the magic behind our ability to facilitate millions of private backbones in minutes. Impossible with traditional networks.”
“Using iroh halved our compute budget.”
“With iroh, every node is just a public key. We pool GPUs across clouds and closets into one mesh. No central server, no NAT config.”
Same API everywhere, one codebase, peer-to-peer.
Lower infrastructure costs
Keep data on your devices. Connect directly when possible; use encrypted relays when needed.
See the cost breakdownExample workload
2,000 devices × 10 GB/month
Centralized on AWS
20 TB through the cloud
~$1,742/mo
plus compute
iroh Pro · 95% direct
1 TB through relays
~$100/mo
Pro plus egress
Monthly savings
$1,642
Illustrative estimate at 95% direct traffic. Costs vary by usage, network, and region.
Made to be shared
iroh is an open source peer-to-peer networking stack built on open standards, so you're never locked in. Connect over our free community infrastructure, self-host your own, let us host services for you, and switch between them anytime.
Remote access
Embed direct, encrypted connections right in your app and create tunnels for remote access instead of third-party VPNs.
Distributed AI training
Train foundation LLMs with compute distributed around the world, across AWS, GCP, Azure, and self-hosted infrastructure.
Video streaming
Stream video between devices, using peer to peer technology. Create encrypted connections built on open standards, across the globe or across the room.
Data sync & device backup
Powers apps for hundreds of thousands of devices around the world, even when internet access is precarious.
Point of sale payments
Connect payment terminals directly to point of sale systems over Bluetooth, LAN, or Wi-Fi with full PCI compliance and no additional servers.
IoT & embedded devices
Run iroh on ESP32, Raspberry Pi, and Linux with the same API. Devices discover each other automatically. No brokers, no gateways.
Every commit to iroh's main branch runs through a growing set of simulations & tests.
Observability and network diagnostics track connection health and throughput.
Every major release is supported for multiple years with extended support contracts available.
Pick your language. Say hello.
From a public key to a direct connection. Pick your language and make it happen.
Read the docs↗use anyhow::Result;use iroh::{Endpoint, endpoint::presets};#[tokio::main]async fn main() -> Result<()> { // Dial a peer and echo a message over a bidirectional stream. let endpoint = Endpoint::bind(presets::N0).await?; let conn = endpoint.connect(server_addr, ALPN).await?; let (mut send, mut recv) = conn.open_bi().await?; send.write_all(b"hello iroh").await?; send.finish()?; let echoed = recv.read_to_end(64).await?; println!("{}", String::from_utf8_lossy(&echoed)); Ok(())}Dozens of open-source, composable protocols built on top of iroh. Mix & match to get the feature set you need.
Less net work. More possibilities.