Drama Engine: A Framework for Narrative Agents
This addresses the need for more interactive and evolving narrative tools for users in creative domains, though it appears incremental as it builds on existing multi-agent concepts.
The paper tackles the problem of creating dynamic narrative agents by introducing the Drama Engine, a framework that adapts multi-agent system principles to enable context-aware companions that develop over time, with applications in multi-agent chats and creative writing.
This technical report presents the Drama Engine, a novel framework for agentic interaction with large language models designed for narrative purposes. The framework adapts multi-agent system principles to create dynamic, context-aware companions that can develop over time and interact with users and each other. Key features include multi-agent workflows with delegation, dynamic prompt assembly, and model-agnostic design. The Drama Engine introduces unique elements such as companion development, mood systems, and automatic context summarising. It is implemented in TypeScript. The framework's applications include multi-agent chats and virtual co-workers for creative writing. The paper discusses the system's architecture, prompt assembly process, delegation mechanisms, and moderation techniques, as well as potential ethical considerations and future extensions.