task environment peas in artificial intelligence