> ## Documentation Index
> Fetch the complete documentation index at: https://dromeus.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Node configuration and shared draft reference

> Every field of a Dromeus node configuration file, and how make_draft arguments map to the shared draft, its environment versions and transport limits.

Each Dromeus node uses two files: its own node configuration, which only that machine uses, and the group's shared draft, written once with `make_draft` and copied unchanged to every node.

## Node configuration

```yaml node.yaml theme={null}
role: initiator                         # exactly one node; the others: participant
draft_path: /path/to/draft.yaml
axl_bridge_url: http://127.0.0.1:9002   # this machine's AXL bridge, loopback only
run_root: runs/regression/node-0        # checkpoints, logs and run state
invitation_path: runs/regression/invitation.json
bootstrap_uri: axl://regression-2026-11 # the same on every node
invitation_timeout_seconds: 300         # participants: how long to wait for the invitation
enrollment_window_seconds: 900          # initiator only, optional: when joining closes
```

| Field | Meaning |
| - | - |
| `role` | `initiator` for exactly one node; `participant` for the rest |
| `draft_path` | The group's shared draft |
| `axl_bridge_url` | This machine's AXL HTTP bridge. Must be HTTP on loopback. |
| `run_root` | Directory for this node's checkpoints, logs and run state |
| `invitation_path` | Where the initiator writes the invitation, and where each participant expects it |
| `bootstrap_uri` | A name for the group's formation, the same on every node |
| `invitation_timeout_seconds` | Participants: how long to wait for the invitation file |
| `enrollment_window_seconds` | Initiator only, optional: seconds until the invitation expires and joining closes |

The initiator writes the invitation to `invitation_path`. Copy that file to the same path on every participant. With `enrollment_window_seconds`, participants refuse an expired invitation and the initiator stops with a `FormationError` if the group isn't complete in time. Expiry compares wall clocks, so keep every node's clock NTP-synchronized. Without it, invitations don't expire.

Run `dromeus doctor --config node.yaml` to check the file, the draft and the AXL bridge before you start.

## Shared draft

Write the draft with `dromeus.make_draft` or `dromeus draft`. Don't edit the hashes by hand: change the task and write a new draft. The arguments map to the draft like this:

| `make_draft` argument | Draft field | Notes |
| - | - | - |
| `run_id` | `run_id` | Use a new ID for every run |
| `participants` | `expected_participant_count` | Even, 4 to 16 |
| `rounds` | `round_count` | |
| `local_steps` | `local_steps`, `algorithm_config.inner_steps` | Optimizer steps per round |
| `axl_version` | `environment.axl_version` | Defaults to the bundled AXL commit |
| `noloco` | `algorithm_config`, `artifact_codecs` | `top_k_fraction` turns on int8 compression |
| `privacy` | `privacy`, `training.sampling` | Private runs use Poisson sampling |
| `transport` | `transport` | Retry, chunk and window limits for the network |
| `divergence` | `divergence_detection` | Optional warnings |
| `seed` | `peer_scheduler_seed`, `consensus_sketch.seed` | Peer schedule order |

The `training` block records the task's optimizer, batch size, sampling, and the hashes of its definitions and code.

### Environment versions

`environment` records the Dromeus and PyTorch versions of the machine that wrote the draft, and the AXL build. Every node must install the same Dromeus and PyTorch versions; a node refuses a draft written for different ones. PyTorch is matched by release, so `2.13.0` on macOS, `2.13.0+cpu` on Linux and `2.13.0+cu130` on a CUDA machine can share a group. Each node logs its exact build in its `node_start` event.

### NoLoCo

`dromeus.NoLoCo` sets the outer step:

| Field | Default | Meaning |
| - | - | - |
| `alpha` | `0.5` | NoLoCo outer-step parameter |
| `beta` | `0.7` | NoLoCo outer-step parameter |
| `gamma` | `0.7` | NoLoCo outer-step parameter |
| `top_k_fraction` | `None` | When set, the outer gradient sends only its largest entries as int8, and slow weights are sent as int8. `None` sends exact values. |

### Transport limits

`dromeus.TransportLimits` bounds network transfers. Without a `transport` argument, `make_draft` uses:

| Field | Default |
| - | - |
| `max_payload_bytes` | `8388608` (8 MiB) |
| `max_retries` | `3` |
| `retry_timeout_seconds` | `5.0` |
| `chunk_size_bytes` | `65536` (64 KiB) |
| `window_size` | `2` |

### Format version

The draft uses manifest version 7, the only version this release accepts. Drafts from earlier releases are rejected.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.