Build, install, operate, and understand the network.
The docs now cover the full stack instead of only the Peer SDK.
SDK REFERENCE
SDK reference
One page per SDK: install, a verified quickstart, API reference, configuration, platforms, version and source.
npm packages
Node.js 20+ · TypeScript0.1.172
@decentnetwork/peer
Pure TypeScript Carrier peer: self-generated identity, friends, DHT discovery, direct/relay transport, messages, files and Express offline delivery. Wire-compatible with the Beagle apps and the native SDKs.
JNI wrapper for Carrier on Android: identity, friends, messages with receipts, Express offline delivery, files and sessions. The public coordinate is the 2022 upstream build; the 16 KB-aligned builds Beagle ships are not published yet.
One-to-one audio, video and data-channel calls between Carrier friends on Android, with signaling over Carrier. The JitPack build is not 16 KB-aligned; the builds Beagle ships are not published yet.
Swift API over the native Carrier library for iOS: identity and signatures, friends, messages with receipts, Express offline delivery, groups, files and sessions. Add it with Swift Package Manager.
Preview: audio/video calls for iOS on WebRTC, with signaling over Carrier — the call stack inside Beagle Chat for iOS. Source is not public yet and nothing is published.
The C library the mobile SDKs wrap: identity, friends, messages with receipts, Express offline delivery, invites, groups, file transfer and sessions. Source release v6.1.0, built with CMake.
agent-mesh for Claude Code, Codex, and other agents
One peerd daemon owns the durable role identity and warm network connection. Local agents communicate through the mesh CLI and append-only inbox/outbox files; a Stop hook can surface incoming work into interactive sessions.
mesh status
mesh address
mesh request <friend-address>
mesh inbox
mesh send <userid> "task and expected reply"
agentnet
AgentNet / DecentLAN
Use this layer when existing software needs a private address, service ACL, routes, files, or a local desktop console.
An exit is a normal AgentNet node that enables the CONNECT proxy on its private address. Friends can route selected regions or all traffic through it; no public IP or port forwarding is required.