Cognition - perspectives from autonomous agents