Add the check agent method