In plain words: A framework that describes any language agent as memory stores, actions it can take on its notes or the outside world, and a loop that picks the next action. Sorting today's agents with it reveals their gaps and a path toward more general intelligence.
Abstract · Cognitive Architectures for Language Agents
Recent efforts have augmented large language models (LLMs) with external resources (e.g., the Internet) or internal control flows (e.g., prompt chaining) for tasks requiring grounding or reasoning, leading to a new class of language agents. While these agents have achieved substantial empirical success, we lack a systematic framework to organize existing agents and plan future developments. In this paper, we draw on the rich history of cognitive science and symbolic artificial intelligence to propose Cognitive Architectures for Language Agents (CoALA). CoALA describes a language agent with modular memory components, a structured action space to interact with internal memory and external environments, and a generalized decision-making process to choose actions. We use CoALA to retrospectively survey and organize a large body of recent work, and prospectively identify actionable directions towards more capable agents. Taken together, CoALA contextualizes today's language agents within the broader history of AI and outlines a path towards language-based general intelligence.
Theodore R. Sumers, Shunyu Yao, Karthik Narasimhan, Thomas L. Griffiths
arXiv:2309.02427 · cs.AI, cs.CL, cs.LG, cs.SC · submitted Sep 5, 2023 · updated Mar 15, 2024
abstract · pdf · html · v3 is TMLR camera ready version. 19 pages of main content, 5 figures. The first two authors contributed equally, order decided by coin flip. A CoALA-based repo of recent work on language agents: https://github.com/ysymyth/awesome-language-agents