OOIION-1262: Agent config builder supporting both instrument and platform device