IP addresses break, dial keys instead

Add peer-to-peer connectivity to your app, agent, or workflow.

Iroh is the magic behind our ability to facilitate millions of private backbones in minutes. Impossible with traditional networks.

Drew Raines
Head of Engineering at Datum

Using iroh halved our compute budget.

Ari Lotter
Principal Engineer at Nous

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.

Michael Neale
Principal Engineer at Block
Raspberry Pi
Espressif
Linux
Windows
Apple
Android

Resilient by default

Built for environments where connectivity is unreliable or intermittent

AWSGCPAzureSelf-HostEdgeHybridPrivate
  • Use all the paths

    iroh's QUIC multipath implementation automatically switches between Wi-Fi, cellular, ethernet, LAN, LoRa, HaLow, Tor, Bluetooth—or bring your own transport.

  • Lean on the cloud less

    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.

  • Encrypted and observable

    Secure end-to-end encryption with optional observability to diagnose issues and improve performance.

Lower infrastructure costs

Move data directly. Pay the cloud less.

Iroh connects endpoints peer to peer whenever it can. Your application data can stay on your endpoints—no cloud storage required. Relays only forward end-to-end encrypted packets when a direct path is unavailable, cutting cloud egress and the infrastructure you have to operate.

No cloud storage required

data can stay on endpoints

Relays only forward

encrypted packets as fallback

See the full cost breakdown

Example workload

2,000 devices × 10 GB/month

Centralized server on AWS

20 TB crosses provider infrastructure

~$1,742/mo

plus compute

Iroh Pro at 98% direct

Only 400 GB traverses the relay

~$46/mo

Pro plus egress

Estimated monthly savings

$1,696

Illustrative estimate based on 98% direct traffic. Actual direct rates and costs vary by network conditions, usage, and region.

Open source.
Forever.

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.

How are people using iroh?

Built to ship

Ready for production

Get help from the pros
ConnectionsLatencyThroughputCustomΣAggregatorDashboardMobileServerIoT
SwiftRustJavaScriptKotlinPythonGoC

Start building.

Read the Docs
App.swift
import IrohLib

@main
struct App {
    static func main() async throws {
        // Dial a peer and echo a message over a bidirectional stream.
        let endpoint = try await Endpoint.bind(
            options: EndpointOptions(preset: presetN0())
        )

        let conn = try await endpoint.connect(addr: serverAddr, alpn: ALPN)
        let bi = try await conn.openBi()

        try await bi.send().writeAll(buf: Data("hello iroh".utf8))
        try await bi.send().finish()

        let echoed = try await bi.recv().readToEnd(sizeLimit: 64)
        print(String(decoding: echoed, as: UTF8.self))
    }
}

Modular toolkit

Dozens of open-source, composable protocols built on top of iroh. Mix & match to get the feature set you need.

From the Blog