Text this: Learning and decision-making in artificial animals