renamed StateAgent to PsychicAgent