Show the machine
Derivation tells you where the id comes from:
platform: derived from the computer’s own platform id (/etc/machine-idon Linux, the hardware UUID on macOS) and your user id. Reinstalling agentx on the same computer gives the same id.random: generated once and kept inmachine.jsonin agentx home, because the computer has no platform id or you reset the id.
Rename the machine
agentx config set label does the same thing. A label is one non-empty line of at most 256 bytes with no control character in it.
Reset the id
machine.json in agentx home to go back to the platform-derived id.
If another agentx command is running, rename and reset-id exit with code 7 at once; retry when it finishes.