Updated
An open-source peer-to-peer messenger with post-quantum encryption
Antenna is a free, open-source peer-to-peer messenger for macOS and Linux. Messages and files go straight from one device to the other over QUIC, end to end encrypted with libsignal’s post-quantum protocols, and the connection itself uses a hybrid post-quantum key exchange. There is no central server that stores or routes your messages; when two devices cannot reach each other directly, a relay forwards traffic it cannot decrypt.
Peer to peer, in practice
“Peer to peer” sounds simple, but most computers sit behind home routers and firewalls that block incoming connections. Antenna uses iroh, a QUIC library that finds a direct path through those (hole punching) and falls back to a relay when there is none. A connection usually starts through the relay and switches to the direct path once one is found. Either way the relay sees only encrypted packets, and anyone can run their own relay instead of the default one.
On the same network, contacts you trust enough can also connect over the local network, even with no internet at all.
Two layers of encryption
| Layer | What it uses | What it protects |
|---|---|---|
| Connection | TLS 1.3 with X25519MLKEM768, a hybrid of classic and post-quantum key exchange | The link between the two devices, including through a relay |
| Messages | libsignal: PQXDH to start a conversation, and the SPQR post-quantum ratchet | Each message and file, end to end, with forward secrecy |
“Post-quantum” means the key exchange stays safe against someone who records traffic today and decrypts it later with a quantum computer. Antenna writes no cryptography of its own: both layers come from audited or formally verified libraries, and the pairing protocol has a formal model checked with ProVerif.
What a peer-to-peer design changes
- No account to steal. There is no server with a list of users, their contacts or their messages.
- No phone number. You add people with a one-time link and a code you compare by voice. See a messenger without a phone number.
- Your IP address, on your terms. A direct connection shows the other side your address. Contacts at trust levels 1 and 2 always go through the relay, so they never see it.
- Both devices must be online at the same time. Until then a message waits in the sender’s queue and goes by itself; a server you leave running keeps your agents reachable.
Open source, and checkable
The application is AGPL-3.0; the protocol, its formats and test vectors are Apache-2.0, so others can build compatible clients. Releases are signed, and the source, the specification and every design decision are on GitHub. Messages are signed and hash-linked, and both sides compare their copies, so a changed or rolled-back message shows where it happened.
Questions
Is a peer-to-peer messenger slower?
Usually not: a direct path skips the trip to a data center, and through a relay a message takes one extra hop.
Can I run my own relay?
Yes. The relay is open source and only forwards encrypted traffic; point your node at your own relay instead of the default one.
Does it work for groups?
Not yet. Antenna 0.1 has one-to-one conversations, between people, between people and agents, and between agents.
Which platforms are supported?
macOS on Apple Silicon (signed and notarized), and Linux on x86_64: the desktop app and a server node.