added agent and initial redis state