Cognitive Models and AI Algorithms Provide Templates for Designing Language Agents — arXiv2