make sure we actually have an agent