Zero-config, end-to-end encrypted agent-to-agent communication that never leaves your local network. No cloud. No internet. No compromises.
It sits under the agent frameworks and protocols you already use — giving them a transport that survives a router reboot, a dead ISP, or no internet at all.
Pick the one that matches what you're building. Each opens a fast-path into the docs.
Run Ollama on a Pi, a coding agent on your desktop, a browsing agent on a spare laptop. They find each other, talk, and nothing leaves the house. mDNS + encrypted SQLite queue + dashboard at 127.0.0.1:8765.
Reticulum transport rides on top of LoRa hardware (Heltec V3, RNode). Sub-kbps raw, but IronMesh handles fragmentation, retry, and routing. Useful for remote fieldwork, off-grid nodes, disaster comms.
Python Agent(...) SDK + 25 MCP tools + TypeScript client. Stock LangChain / AutoGen adapters already shipped. Your agents gain TOFU-pinned peer-to-peer messaging without changing their prompt logic.
docker pull wiztheagent/ironmesh:0.9.4.1
We looked for a way to make AI agents talk to each other on a local network. There was nothing.
× Requires HTTPS and internet. Your agents go silent when the cloud goes down.
× Solves agent-to-tool, not agent-to-agent. IronMesh fills that gap — the two stack together.
× Local IPC only. Can't cross machines on your LAN.
× Decentralized but complex DID setup, still assumes internet connectivity.
Two axes matter for this decision: offline-first (can your agents keep running without the cloud?) and mesh-shape (can they reach each other without a broker?). Pick the axis that matches your deployment.
| Feature | IronMesh | Google A2A | Anthropic MCP | ACP | ANP |
|---|---|---|---|---|---|
| Works offline / no internet | Yes | No | N/A | Yes | No |
| True peer-to-peer | Yes | No | No | No | Yes |
| Zero-config LAN discovery | Yes | No | No | No | No |
| End-to-end encryption | NaCl | TLS only | N/A | No | Yes |
| Forward secrecy | Yes | Depends | N/A | No | No |
| Multi-hop mesh routing | Yes | No | No | No | No |
| Capability discovery | Yes | No | No | No | No |
| LoRa / radio transport | Yes | No | No | No | No |
| Self-hosted, no vendor lock | Yes | No | No | No | Partial |
| Survives internet outage | Yes | No | N/A | Yes | No |
| Feature | IronMesh | Reticulum | libp2p | NATS JetStream |
|---|---|---|---|---|
| Target use case | Agent-to-agent messaging | Radio / off-grid comms | p2p app networking | Cloud-native pub-sub |
| Zero-config LAN discovery | Yes (mDNS) | Yes (announce) | Manual / rendezvous | Requires broker |
| Runs without a broker | Yes | Yes | Yes | No (broker required) |
| Agent-level capability discovery | Yes (cap-hash bound) | No | No | No |
| TOFU identity pinning | Yes | Identity hash only | Peer ID, not pinned | No |
| Built-in MCP / A2A surface | Yes (25 MCP tools) | No | No | No |
| LoRa / sub-kbps transport | Yes (via Reticulum) | Native | No | No |
| Encrypted offline message queue | Yes (SQLite + XSalsa20) | LXMF | Partial (streams) | Yes (at-rest in broker) |
| Python-first SDK | Yes | Yes | Go-first, Python bindings lag | Yes |
| Runs on Termux / Android | Yes | Yes | No | No |
NaCl / libsodium crypto — the same library as Signal and WireGuard. Not homebrew. Not "encrypt later." Not "TLS is enough."
Ephemeral X25519 keys per session, destroyed after handshake. Compromising today's keys can't decrypt yesterday's traffic.
mDNS auto-discovers agents on your LAN. No manual IP config. Identity keys only exchanged during authenticated handshake.
HMAC-SHA256 passphrase proof. Both client and server prove identity. Ed25519 signatures on every single frame.
Distance-vector routing with split horizon and poisoned reverse. Messages traverse intermediate peers automatically.
Optional transport over LoRa radio at 915 MHz via Reticulum. No internet at all. Just RNode hardware and open spectrum.
Messages queued in encrypted SQLite when peers are offline. Automatically delivered on reconnect. Priority ordering built in.
No account. No config file. Every line of output below is from a real run on a stock Python install — play / pause to watch it at your own pace.
The operator console — embedded in every node, reachable at http://127.0.0.1:8766 with a per-session bearer token. The same handshake diagram from the spec, lit live for the selected peer. Encrypted A2A dialogue turn-by-turn in the feed. CSP-locked to same-origin so the page renders with the router unplugged.
Live capture: laptop (Windows) ↔ Raspberry Pi 5 (Ollama) ↔ NAS (Ollama hermes3:3b). A2A dialogue: three turns, ended on goal-achieved.
v0.9.4.1 is a single-fix patch on v0.9.4 — closing a Windows + CPython 3.13-only race in migrate_keys_to_master_seed that the v0.9.4 CI matrix surfaced. Wire-byte-identical to v0.9.4, drop-in upgrade, no operator action required. The headline feature set below ships with both releases.
v0.9.4 itself is a combined release: the originally-planned v0.9.3 security point release (strict TLS, trust-store at-rest encryption, global rate cap, trust CLI) ships alongside a substantial pre-audit hardening pass. Phases 1 and 2 of the Ed25519/X25519 dual-use migration land together — the v3 master-seed keystore + the HELLO x25519_public_b64 advertisement with an Ed25519 binding signature. Signed CAPABILITY_ANNOUNCE closes the relay-impersonation gap. Frame-length ceiling, JSON depth guard, replay upper bound, CVE-2020-10735 mitigation, narrowed exception handling, fail-closed TOFU. Wire format unchanged at ironmesh/0.8 — every v0.8.x and v0.9.x peer remains interoperable; the new HELLO fields are additive. 1068 tests green on the v0.9.4.1 matrix. Full notes: v0.9.4.1 release notes · v0.9.4 release notes.
v3 keys.json envelope tagged format: "master-seed-v1" carries the existing Ed25519 seed byte-for-byte plus a 32-byte HKDF-derived x25519_seed and 16-byte hkdf_salt. Every existing TOFU pin remains valid because the Ed25519 public is unchanged. Load-time integrity check: the stored X25519 subkey MUST re-derive from HKDF(ed25519_secret, hkdf_salt, INFO_X25519) — tampering with the encrypted subkey is detected even when the operator's passphrase decrypts the envelope.
HELLO optionally carries x25519_public_b64 + x25519_binding_signature_b64 — an Ed25519 signature over the X25519 public under SIG_CTX_X25519_BINDING. Receivers verify the binding against the peer's pinned Ed25519 identity and switch E2E SealedBox sealing to the advertised X25519. Both fields sit OUTSIDE the signed HELLO canonical body so pre-v0.9.4 receivers verify the HELLO signature identically. Mixed-mesh interop preserved via legacy ed25519_to_curve25519 fallback. Auto-migration runs on first start.
CAPABILITY_ANNOUNCEAnnounces whose origin differs from the delivering peer require an inner Ed25519 signature from origin under SIG_CTX_CAPABILITY_ANNOUNCE. Closes the prior relay-impersonation gap where a malicious relay could poison a third party's pinned cap-set baseline. 300 s freshness window (configurable via capability_announce_max_age) plus a per-(origin, announced_at) replay-dedup LRU. New audit event CAPABILITY_ANNOUNCE_BAD_SIG with reason field (missing-sig / unknown-origin / stale / bad-sig).
known_peers.json is now a SecretBox-encrypted v2 envelope. The on-disk file no longer contains plaintext fingerprints, pubkeys, or capability sets — a host-disk leak no longer exposes the peer graph. HMAC-SHA256 over the ciphertext keeps tamper evidence. Pre-existing v1 plaintext stores migrate forward on next save with zero operator action; ironmesh trust migrate forces it immediately.
--strict-tls + --max-msgs-per-secOpt-in --strict-tls + --pinned-ca require a CA-validated cert on outbound WSS for deployments where real certs are available. Default mode unchanged (TOFU at the application layer). Global daemon-wide --max-msgs-per-sec cap on top of the existing per-peer limiter — defense-in-depth for hostile-peer exposure.
Four new ironmesh trust subcommands: verify, migrate, export, pin — covering the out-of-band trust workflow. Plus ironmesh keys fingerprint for read-aloud / side-channel paste-in, and ironmesh keys migrate to convert legacy keystores to the v3 master-seed format. ironmesh doctor 8th check surfaces the on-disk envelope version.
MAX_FRAME_BYTES = 1 MiB enforced before the buffer slice in Frame.deserialize_and_decrypt — defeats a 4 GiB attacker-declared length. MAX_JSON_DEPTH = 64 on inbound JSON parsed from the wire. ReplayGuard.MAX_SEQUENCE = 2^48 defeats the self-DoS edge case. sys.set_int_max_str_digits(4300) at bridge boot covers CVE-2020-10735 across Python 3.10 / 3.11 / 3.12 / 3.13.
Narrowed bare except Exception across the signing path, frame parsing, and 12 best-effort rate-limit / shutdown / cleanup blocks in bridge.py. Each call site documents its accepted failure-mode set; programmer errors propagate instead of being silently dropped. Fail-closed TOFU: a peer whose identity cannot be evaluated is refused with a WARNING log, replacing the prior silent-pass behaviour.
v0.9.2 was the largest pre-1.0 ship: a wire-stable feature-flag system, a server-driven Stage-1 skip path on identified Reticulum Links (three round-trips saved on LoRa), shared-secret group broadcast for cross-host fan-out, capability-aware routing (Agent.send_to_capability(...)), OpenTelemetry spans on every public Agent surface, a formal threat model and conformance test suite, and the v1.0 stability promise. Wire format moved to ironmesh/0.8 with additive-only fields — every v0.8.x peer continues to interoperate. Full write-up: v0.9.2 release notes.
Announce app_data gained an f field carrying a known vocabulary (mesh, resource, lxmf, hskip, group). New flags may be added; existing ones are permanent. The receiver's flag check is a 2-byte SetIntersection — cheap, deterministic, and stable across language ports.
When both peers advertise hskip on an established RNS.Link, the server emits SKIP_OFFER in place of the passphrase challenge and both sides substitute a fixed channel-binding sentinel. Three round-trips and ~750 ms of LoRa airtime saved per fresh handshake. Server-driven negotiation prevents the asymmetric-decision race that bites unilateral schemes. Three Prometheus counters surface offer / activate / reject rates per side.
When peers opt in (group flag + same passphrase), each derives the same symmetric group key via HKDF and listens on a deterministic group destination. A single broadcast packet reaches every member — no N-way send loop. Receiver-side dedup via msg_id keeps fan-out idempotent.
Agent.send_to_capability("llm:llama3", payload) picks the best-known peer advertising the cap and dispatches via the unified transport selector. Counters surface attempts vs. successes vs. no-match, so operators see whether the cap topology is converging. Survives cold restart via the persisted capability registry.
Optional install via pip install ironmesh[otel]. Spans on handshake, message dispatch, MCP tool surface, and the v0.9.x agent-interop surfaces. Configure via standard OTEL_EXPORTER_OTLP_* env vars. With the extra absent, every emit is a no-op — zero overhead.
STRIDE-organized threat model in docs/THREAT_MODEL.md: 14 assets, per-asset mitigations, residual risks called out. Conformance test skeleton in tests/conformance/ with the first golden vectors — the basis of v1.0 cross-language compliance. Plus the v1.0 stability promise itself (STABILITY_PROMISE.md): what we commit to keeping stable from v1.0 forward, and the deprecation procedure.
v0.9.2 shipped at 892 tests collected on Ubuntu + Windows + macOS across Python 3.10 – 3.13. Live cross-host validation on every new wire surface (skip-handshake, group-broadcast, capability-aware routing). The conformance suite picks up most of the new tests; release-qc enforces the doc-sync contract.
ironmesh/0.8Additive fields only; existing field semantics frozen. Pre-v0.9.2 peers continue to handshake and exchange messages identically — the new fields are silently ignored on the receive side. Documented in PROTOCOL_SPEC.md with full negotiation semantics.
Mutual passphrase auth, signed ephemeral ECDH, channel binding. Three stages. Zero trust assumptions. The same diagram renders live inside the operator console — click any peer row and watch the stages go green in real time.
Zoomed out from the handshake. This is a typical IronMesh deployment — one laptop, one Raspberry Pi, one off-grid LoRa node. Each machine runs the same daemon; the transports between them differ. mDNS on the LAN, Reticulum over radio to the off-grid node.
Every number below comes from the release-hardening test suite. No projections, no “up to” claims. Runs fine on a Raspberry Pi Zero 2 W with 512 MB RAM.
tests/ and scripts/ on the public repo. The 2000-thread stress is the last block of tests/test_trust_binding.py::TestConcurrentCapPromoteRace; the 5000-input fuzz is reproduced by scripts/release-smoke.sh.
Before you install, the eight questions evaluators actually ask.
ironmesh upgrade optionally checks PyPI for new releases; that's the only public-internet call in the whole codebase and it's off by default.
keys.json, Argon2id-wrapped at rest, optionally held in the OS keychain. Full threat model at /security.html.
CONTRIBUTING.md on the repo covers the style + test + leak-scan requirements.
Patch-level discipline: every v0.8.x peer stays interoperable, and the v0.9.x line keeps the same wire protocol (ironmesh/0.8 since v0.9.2, additive-only thereafter). Scroll through what each drop brought.
migrate_keys_to_master_seed now surfaces the documented "already in master-seed format" ValueError on the loser of a Windows + CPython 3.13 race instead of leaking a PermissionError from os.replace. Wire-byte-identical to v0.9.4, drop-in upgrade.--strict-tls, --max-msgs-per-sec, trust CLI) shipped alongside Ed25519/X25519 dual-use migration phases 1 + 2, signed CAPABILITY_ANNOUNCE, frame-length ceiling, JSON depth guard, replay upper bound, CVE-2020-10735 mitigation, narrowed exceptions, fail-closed TOFU. Wire format additive only.ironmesh/0.8 (additive only).Agent.send_to(name), LXMF listener + telemetry, public RPC paths (/im/info, /im/cap/*, /im/admin/*).@wiztheagent/openclaw-ironmesh@0.2.0), ironmesh-acp stdio adapter (acp-core-v1@0.3.0), ironmesh-a2a HTTP gateway (AgentCard + JSON-RPC + envelope inbox). Capability-persistence fix, multi-peer routing, MCP --peer manual bootstrap._emit_audit_with_reservation helper, audit-chain verify on startup, two new Grafana panels, OPERATOR_RUNBOOK trust-store recovery section, [lxmf] install extra.ironmesh upgrade, Windows service wrapper, OpenTelemetry tracing, TS client 0.2.0 with TOFU pin enforcement.ironmesh setup wizard, full contributor docs, CodeQL, Reticulum smoke tests.conv_multiturn + persona_debate examples, release checklist enforcing doc-sync.set-state CLI landed. Atomic trust-store writes, tamper-evident audit, full 13-job CI matrix.wiztheagent/ironmesh:0.8.3) + GitHub release. Full multi-hop mesh, dashboard console, e2e tests.Raspberry Pi running Ollama talks to your desktop coding agent. No cloud. No API keys. No third parties.
Agents on a network with no internet coordinate tasks, share data, and run workflows over LoRa radio.
Self-contained AI network that works when the internet doesn't. Solar-powered Pi cluster. Local models.
Agents in isolated environments that can never touch the internet. Full encryption at rest and in transit.
All agent communication stays on your LAN. Nothing leaves your network. Nothing gets logged by anyone.
Phone, desktop, and server agents all talk directly to each other. mDNS discovery. Zero config.
Local-first. Offline-capable. Mesh-ready. Zero-config. No cloud required. Ever.