state ready and our agent ready to call algorithms