The agent inspects each managed host directly — reading its real SSH configuration and operating-system facts — to build an accurate inventory. Discovered values are the source of truth; manual entries only fill gaps, and every field records whether it was discovered or set by hand, so your inventory never silently drifts.