A modular p2p network stack
Run your network applications free from runtime and address services, independently of their location.
Latest Updates
Why libp2p?
libp2p is a modular system of protocols, specifications and libraries for the development of global-scale peer-to-peer applications.
Multiple Transports
TCP, QUIC, WebSocket, WebRTC, and WebTransport. Use what works best for your environment.
Native Roaming
Move between networks and addresses seamlessly. Your connections follow you.
Runtime Freedom
Run in browsers, mobile devices, or servers. No runtime restrictions.
Protocol Muxing
Multiplex multiple protocols over a single connection with automatic negotiation.
Encrypted Connections
All connections are encrypted by default with Noise or TLS 1.3.
NAT Traversal
Built-in hole punching, AutoNAT, and relay support to connect peers behind NATs.
Production-Ready Implementations
Choose the implementation that fits your stack. All implementations follow the same specifications for cross-language compatibility.
Upcoming Events
Join our community meetings and events. Everyone is welcome!
Ready to build?
Check out our guides and tutorials to get started with libp2p.