Add agent ID to the output