Only read from agent if agent enabled.