Skip to main content
Every Dromeus node talks to the network through AXL, Gensyn’s peer-to-peer network node. AXL runs as a separate process on each machine, encrypts and routes traffic between machines, and gives Dromeus a local HTTP bridge. It runs entirely in user space: it needs no TUN interface and no root access. This guide sets up AXL for a group whose machines are on different networks.

How the pieces connect

  • Each machine runs one AXL node and one Dromeus node.
  • Dromeus reaches its AXL node over HTTP on loopback, at the axl_bridge_url in its node configuration.
  • AXL nodes link to each other over TLS. A node only needs a link to one other node in the group: AXL routes traffic onward. In the quickstart, three nodes link only to the fourth and still train together.
  • At least one node must accept incoming links. It is the group’s bootstrap peer. Any participant with an open port can be one; Dromeus hosts nothing.

1. Get the AXL node

On Linux (x86_64, aarch64) and macOS on Apple silicon, installing Dromeus installs a pinned AXL build as the dromeus-axl command. See Installation. On other platforms, build it from source.

2. Create a persistent identity

An AXL node’s identity is an ed25519 key. Without a key file, AXL creates a new identity in memory every time it starts. That is fine for a one-machine trial, but in a real group each node’s public key is sealed into the run manifest, so a node must keep the same key for the whole run.
Keep private.pem private. Anyone with it can act as your node.

3. Write the AXL configuration

Use this on the machine that accepts incoming links. It needs a public address, and its firewall must allow inbound TCP on the listen port.
axl.json
AXL has more settings; see the AXL configuration reference.
Keep bridge_addr on 127.0.0.1. Anything that can reach the bridge can send and receive as your node. Dromeus only accepts an axl_bridge_url on loopback.

4. Start AXL and check it

Keep it running for the whole training run. Then point the node configuration’s axl_bridge_url at the bridge, http://127.0.0.1:9002 here, and run:
doctor checks that the bridge answers, that it reports this node’s public key, and how many peer links are up. A node with an outbound-only configuration reports one link, to its bootstrap peer.

Pinned AXL build

A group runs one AXL build. The draft records it in environment.axl_version, and make_draft fills it in from the bundled build: currently AXL commit 628e28ace077f26dfe8d0259009b357216a9d8d4. dromeus doctor warns when the draft names a different build than the one installed. It can’t see which build the running AXL process is, so make sure every machine runs the build the draft names.

Other platforms

Where no AXL build is bundled, build the pinned commit with Go 1.25.5 or later:
Whoever writes the draft on such a machine must name the build, because there is no bundled one to fill it in: dromeus draft ... --axl-version 628e28ace077f26dfe8d0259009b357216a9d8d4.