LLM Reasoner and Automated Planner: A new NPC approach
Israel Puerta-Merino, Jordi Sabater-Mir
TL;DR
The paper addresses the challenge of creating plausible, human-like NPCs without exhaustively hand-specifying decisions for every scenario. It introduces a hybrid architecture where a Large Language Model acts as a decision-maker (Reasoner) to select goals, while a classical automated planner (AP) generates executable action sequences to achieve those goals, using a dedicated interface to integrate world state, memories, and domain definitions. Implemented in the Rhymas simulation framework on The FireFighter Problem, the system demonstrates coherent, context-aware behavior across multiple agent roles, with performance limited by LLM latency and hardware constraints. The work highlights the potential of combining LLM-based reasoning with formal planning to deliver flexible, adaptable NPCs for formative simulations and serious games, while outlining concrete future improvements such as larger models, hybrid reasoning, and broader environment testing.
Abstract
In domains requiring intelligent agents to emulate plausible human-like behaviour, such as formative simulations, traditional techniques like behaviour trees encounter significant challenges. Large Language Models (LLMs), despite not always yielding optimal solutions, usually offer plausible and human-like responses to a given problem. In this paper, we exploit this capability and propose a novel architecture that integrates an LLM for decision-making with a classical automated planner that can generate sound plans for that decision. The combination aims to equip an agent with the ability to make decisions in various situations, even if they were not anticipated during the design phase.
