Towards LLM-Agents that Play Dungeons Dragons Using Iterative Prompting

Playing Dungeons & Dragons (D&D) requires players to attend every session of a campaign, which is often hindered by scheduling conflicts. The disruptions caused by these conflicts could lead to stalled or cancelled games. To address this challenge, we propose using AI player substitutes. Specifically, we develop LLM-agents capable of social interaction and exploration within textual D&D scenarios, using Concordia—a library to simulate multi-agent dialogue and interactions. We iteratively prompt our LLM-agents to foster collaboration, task progression, and comply with the narrative context in two distinct campaign settings. We annotate natural language transcripts generated in Concordia, categorising player actions into the three action and dialogue categories. Our preliminary findings indicate that iterative prompting enhances agents’ narrative compliance, collaborative behaviour and progression towards campaign goals. These promising results suggest LLM-agents could be viable stand-ins for human players, and warrant further investigation.

Authors

Institutions

Publication Details

Journal
Explore Bristol Research
Published
2025-11-14
Primary Topic
Artificial Intelligence in Games
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Towards LLM-Agents that Play Dungeons Dragons Using Iterative Prompting

Nirav Ajmeri, Kenton O'Hara, Vishal Joshi
Explore Bristol Research
Artificial Intelligence in Games
article

Towards LLM-Agents that Play Dungeons Dragons Using Iterative Prompting

Nirav Ajmeri, Kenton O'Hara, Vishal Joshi
article en

Abstract

Playing Dungeons & Dragons (D&D) requires players to attend every session of a campaign, which is often hindered by scheduling conflicts. The disruptions caused by these conflicts could lead to stalled or cancelled games. To address this challenge, we propose using AI player substitutes. Specifically, we develop LLM-agents capable of social interaction and exploration within textual D&D scenarios, using Concordia—a library to simulate multi-agent dialogue and interactions. We iteratively prompt our LLM-agents to foster collaboration, task progression, and comply with the narrative context in two distinct campaign settings. We annotate natural language transcripts generated in Concordia, categorising player actions into the three action and dialogue categories. Our preliminary findings indicate that iterative prompting enhances agents’ narrative compliance, collaborative behaviour and progression towards campaign goals. These promising results suggest LLM-agents could be viable stand-ins for human players, and warrant further investigation.

Explore Bristol Research
Institute of Infection and Immunity (CA), University of Arizona Cancer Center
UK Research and Innovation
Reduced inequalities
Openalex Percentile: Top 13%
Artificial Intelligence in Games
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.