NODES AI: Online Conference for Graph + AI - April 15, 2026 | Register Today

Neo4j logo

Graph-Powered Storyworlds: Using Neo4j To Keep 1M+ Word LitRPG Epics Coherent With AI

Session Track: Graph + AI in Production

Session Time:

Session description

If you ask an LLM to help write a million-word LitRPG series, it will happily invent skills, rewrite backstories, and teleport characters across the map. What it will not do reliably is remember your world the way a serious author needs.

In this session, Prem will show how Neo4j became the backbone of an AI-assisted authoring platform for long-form LitRPG series. Starting from raw manuscripts in formats like DOCX or Markdown, we automatically extract a narrative knowledge graph in Neo4j that captures characters, stats, items, locations, quests, scenes, timelines, and the relationships between them. That graph acts as the single source of narrative truth behind a fleet of LLM-based assistants.

We will walk through how the graph is kept in sync as chapters evolve, how Cypher queries express narrative quality rules such as continuity checks and world consistency, and how agents use Neo4j both as long-term memory and as a safety rail for generation. You will learn practical graph modeling patterns for narrative domains, how to turn Neo4j queries into targeted context for LLMs, and how to use graphs to keep complex, evolving AI-generated content coherent over multiple books and revisions.

If you work with agents, GraphRAG, or any system where “just vector search” is not enough, this talk is for you.

Speaker

photo of Prem Chandrasekaran

Prem Chandrasekaran

Author, Coding Architect, Technology Leader, DDD Enthusiast

Prem is a technology leader and change agent with a solid track record of leading large technology teams and helping businesses tackle mission-critical challenges. Currently serving as the Market Tech Director at Thoughtworks, a global technology consulting company, he has over 25 years of experience in leading software teams. He strives to enrich the lives of stakeholders and end-users while maintaining high internal and external quality. Passionate about the application of iterative methods and the use of open source software, Prem reliably and rapidly realizes value. Over the past two decades, he has assisted a diverse range of clients across sectors such as financial services, online retail, education, and healthcare startups. His specialties include technical innovation, architecture, continuous delivery, agile/iterative transformation, and employee development.