Why a Regular AI Chat Was Not Enough for My Fictional World
Ilya Gurikov
I run a tabletop role-playing game set in Eon, a world I created entirely from scratch.
This is not an established setting with existing encyclopedias, maps, and official reference books. I have to create its history, geography, factions, characters, and rules myself. The world also never stays unchanged: after every game session, new events, relationships, and consequences of the players’ decisions appear.
At some point, it became clear that one main storyline was not enough. Every game requires dozens of details: random encounters, unusual merchants, mutants, items, weapon modifications, small quests, and answers to questions that are impossible to predict in advance.
Neural networks are good at helping create this kind of content. In a few minutes, they can produce a settlement description, an enemy concept, or a list of travel events.
But the longer I worked on Eon through regular chats, the clearer it became: generating text alone did not solve my problem.
The model does not know the world the way I do. It gradually loses context, repeats ideas I have already used, and sometimes introduces details that contradict the existing lore.
That is how Demiurge Assistant emerged—a project where AI should not simply answer questions, but work with a controlled knowledge base about the world.

The world that no longer fit in my head
Eon began as a world for a single campaign. Over time, new places, cults, factions, mutants, and characters appeared around the original story.
Things happened during the game that I had never planned. The players formed unexpected alliances, entered conflicts, ignored prepared storylines, and traveled to places I had never expected to take them.
After every session, the world changed a little.
I had to remember who knew whom, which characters had changed their goals, which events had already happened, and what information the players had learned. At the same time, some information had to remain available only to the game master: hidden motives, secret relationships, future events, and the true properties of certain items.
Meanwhile, Eon still needed to be expanded.
Suppose I need a merchant whom the group will meet in a ruined city during the next game. Inventing the character is not particularly difficult. Fitting them into the existing world is much harder.
Why are they here? Which faction are they connected to? What do they know about recent events? Do their goods match the world’s technological level? Have I already created a similar character under a different name?
At this point, a creative task gradually turns into information work.
The problem was not a lack of ideas. It was becoming increasingly difficult to create new content while keeping the relationships between existing parts of the world in my head.
I therefore needed an assistant that would not require me to explain what Eon is and which rules govern it before every conversation.
What Eon Is Made Of



Where a regular AI chat started getting in the way
At first, I worked on the world through regular conversations with neural networks.
That was enough for one-off requests. The model could quickly invent several random encounters, describe a settlement, create an unusual mutant, or suggest abilities for an enemy.
Problems began when I wanted to continue the work a few days later or use the result in another part of the campaign.
Every conversation had to begin with an explanation
To get an answer that actually fit Eon, I had to explain the structure of the world again: which factions existed, which technologies were available, and what had already happened in the campaign.
The more complex the question became, the longer the introductory context grew.
At some point, I noticed that I was spending more time explaining the world than discussing the idea itself.
You can create a dedicated campaign chat, write a long system prompt, or upload documents. This improves the result, but it does not solve the problem completely.
The model can still change an established fact, confuse character roles, or suggest an existing idea under a new name. It can also introduce technology that does not fit the rules of the world or accidentally use information intended only for the game master.
The larger Eon became, the harder these mistakes were to notice.
Facts and inventions looked the same
A regular chat returns a single piece of text.
One response can mix confirmed facts about the world, the model’s interpretations, new ideas, and incidental narrative details. Sometimes the neural network suggests changing an existing character but does not separate that suggestion from the facts it received in the input context.
For a human reader, the boundary between them is not always obvious.
If the entire answer is simply copied into a wiki, an invented detail can quietly become part of the canon. A few months later, it may be difficult to remember whether it was an original rule of the world or a successful improvisation by the model.
A good result remained trapped inside the chat
Even when the neural network created an interesting character, the work did not end there.
Their name, description, relationships, and involvement in events still had to be transferred manually into different parts of the knowledge base: the NPC card, timeline, faction list, and game master notes.
This created a strange effect. AI accelerated the creation of a draft while simultaneously creating more work to organize the result.
Chat and a Controlled Process



Regular chat: Prompt → Response → Chat history
Demiurge Assistant: World database → Context retrieval → LLM → Proposal → Review → World update
In a regular chat, the result remains a message. In Demiurge, useful parts of the answer can become reviewable changes to the knowledge base.
Why RAG alone was not enough either
The most obvious way to give a model knowledge about the world is to use RAG.
In simplified terms, the system finds relevant document fragments, adds them to the context, and passes them to the model together with the question:
Documents → fragment search → context → response
This is a useful approach. It avoids placing the entire knowledge base into every request and selects only the material related to the current question.
But with every new request, the model still reconstructs its understanding of the world from the retrieved fragments.
Andrej Karpathy has a related idea that he calls LLM-Wiki. Instead of reconstructing knowledge directly from source documents every time, the model gradually creates and maintains a separate connected wiki.
In this approach, new sources are not merely indexed. The LLM extracts facts, updates existing pages, creates new links, and marks potential contradictions.
As a result, a persistent knowledge layer appears between the source material and the user, evolving together with the project.
This idea is very close to what I want from Demiurge Assistant. Important information should not disappear into chat history. It should accumulate, become connected, and remain available for future requests.
A role-playing world, however, has one characteristic that changes the problem.
LLM-Wiki works with sources. Demiurge works with world state
In a typical LLM-Wiki scenario, the user already has material: articles, books, documents, or notes. The model reads them and turns them into a connected knowledge base.
The main task is to keep that knowledge base up to date.
In a role-playing campaign, information does not always exist in advance.
A new character can appear directly during a conversation with the model. A city can fall under another faction’s control after a game session. An item can gain a new owner, and a secret once known only to the game master can become available to the players.
This is no longer just an addition to the text. The state of the world changes.
That is why automatically updated Markdown pages are not enough for Demiurge. The system must understand that the world contains distinct entities, directed relationships, rules, events, and access levels.
But the main difference is not the storage format.
It is the right to write.
In LLM-Wiki, the model performs a significant part of the work of updating the wiki. In Demiurge, generated information first becomes a proposal.
The game master can accept it, edit it, save only part of it, or reject it completely. Until it has been reviewed, new information is not considered a confirmed part of the world.
I therefore do not see Demiurge as the opposite of LLM-Wiki. It is better understood as a more domain-specific and cautious interpretation of a similar idea.
LLM-Wiki asks:
How can a collection of sources become a continuously evolving knowledge base?
Demiurge adds another question:
How can AI participate in the development of a changing world without being given control over its canon?
RAG, LLM-Wiki, and Demiurge Assistant

The core hypothesis behind Demiurge Assistant
The project is based on a fairly simple idea.
Long-term work with a complex fictional world requires more than a chat with a large context window. It requires a knowledge management system in which an LLM helps create and connect data without becoming the source of truth.
A regular chat primarily generates text.
Demiurge should work with a model of the world: characters, locations, rules, events, relationships, and a separation between public and secret information.
The model does not have to produce a perfect result immediately.
It can create a draft, suggest a relationship between characters, or notice a possible contradiction. But the final decision about what actually exists in Eon remains with a human.
I want to turn generation from a one-off answer into a sequential process.
First, the system finds relevant context. Then the model creates a draft. Useful parts of the answer are extracted in a structured form and shown to the game master as a proposal. Only after review do confirmed changes enter the world database and become available to future requests.
This is not an attempt to build yet another interface on top of an LLM.
The goal is to prevent the result of a conversation from disappearing into message history while also preventing the model from quietly rewriting the world.
Reviewing Changes


What I want to build toward
In an ideal scenario, I want to write to the assistant:
Create a merchant for this location. Do not repeat existing NPCs; account for the local factions, available technologies, and the latest events in the campaign.
And receive more than a well-written paragraph.
The system should propose a complete character, including their motivation, goods, relationships, secret, and story hook. If the result introduces new information about the world, it should be shown separately to the game master and saved only after approval.
The next time the assistant is asked a question, it should already remember this character and account for their existence.
For now, Demiurge Assistant remains an experiment.
Draft generation, entity population, and relationship creation now work reliably. Only one person besides me has used the project, so it is still too early to describe it as a proven product for a broad audience.
But the core hypothesis can already be tested in practice:
Can an LLM become more than an idea generator—a useful co-author that knows the world without being given the power to rewrite it unnoticed?
That is the question I am trying to answer as I continue developing Demiurge Assistant.