add replica agent