Cognitive Architectures for Language Agents

Theodore R. Sumers, Shunyu Yao, Karthik Narasimhan, Thomas L. Griffiths
9/5/2023
602 citations
cs.AIcs.CLcs.LG

Official code: ysymyth/awesome-language-agents (1,263 stars, TeX, last commit 2025-01-16).

Abstract

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

List of language agents based on paper "Cognitive Architectures for Language Agents"

1,26393TeXJul 4, 20231 years ago
artificial-intelligenceawesome-listlanguage-agentlanguage-modelllm+1 more

Similar Papers

Cite this paper

@article{sumers2023cognitive,
  title  = {Cognitive Architectures for Language Agents},
  author = {Theodore R. Sumers and Shunyu Yao and Karthik Narasimhan and Thomas L. Griffiths},
  year   = {2023},
  eprint = {2309.02427},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2309.02427v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2309.02427.svg)](https://codeofpaper.com/paper/2309.02427)

Discussion