Expand description
Everything the local network does: finding other AgentMux instances (mDNS and UDP discovery), the listeners and ports srv opens for them, the firewall check, and the swarm broadcast to the peers found.
Modules§
- discovery
- LAN instance discovery via mDNS/DNS-SD.
- firewall
- Would the OS firewall let LAN peers reach us? Pure rule logic, no OS calls.
- firewall_
setup - Run the elevated firewall helper when the person asks for the setup (
docs/specs/SPEC_LAN_FIREWALL_SETUP_2026_10_01.md4.2, step 3). The helper isagentmux.exe --configure-lan-firewall, in the install folder above this program’s own ({app}\runtime\agentmux-srv-<version>.exe, and the same in a portable folder). It reads the firewall without elevation and asks Windows for administrator permission itself, only when a change is needed, so this module never elevates anything. It is started by the person’s click and never by itself: a cancel is final until the next click. - listeners
- LAN-facing listener management.
- mdns_
diag - Why can’t this host announce itself on mDNS? One line for the log.
- mdns_
health - Is our mDNS service really announced on an IPv4 interface?
- peer_
words - A LAN peer in words: how it is installed and whether it runs agents. A host can run two installs (the Microsoft Store copy and a setup.exe one), and a peer that is an install with no agents answers every lookup of an agent with “not found”; saying which peer it was shows the real cause.
- ports
- The fixed port range srv’s listeners live in, so a firewall rule can name
them (
docs/specs/SPEC_LAN_FIREWALL_SETUP_2026_10_01.md§4.1). - seen_
agents - The agents a LAN peer has listed, kept after the peer goes quiet.
- swarm_
broadcast - A Swarm broadcast to agents on a LAN peer
(
docs/specs/SPEC_SWARM_REFINEMENTS_2026_10_17.md§4.2).