English

Narrative Context Protocol: An Open-Source Storytelling Framework for Generative AI

Computation and Language 2025-07-30 v5 Artificial Intelligence

Abstract

Here we introduce Narrative Context Protocol (NCP), an open-source narrative standard designed to enable narrative interoperability, AI-driven authoring tools, real-time emergent narratives, and more. By encoding a story's structure in a "Storyform," which is a structured register of its narrative features, NCP enables narrative portability across systems as well as intent-based constraints for generative storytelling systems. We demonstrate the capabilities of NCP through a year-long experiment, during which an author used NCP and a custom authoring platform to create a playable, text-based experience based on her pre-existing novella. This experience is driven by generative AI, with unconstrained natural language input. NCP functions as a set of "guardrails" that allows the generative system to accommodate player agency while also ensuring that narrative context and coherence are maintained.

Keywords

Cite

@article{arxiv.2503.04844,
  title  = {Narrative Context Protocol: An Open-Source Storytelling Framework for Generative AI},
  author = {Hank Gerba},
  journal= {arXiv preprint arXiv:2503.04844},
  year   = {2025}
}
R2 v1 2026-06-28T22:09:50.496Z