Persistent lore engine

dream-x-world

In prod SQLite vecFTS5Typer

What it is

Entities, relations and narratives of a fictional universe, in a database: hybrid text + vector search fused by RRF, exposed to the agent as six tools. Standalone interactive HTML map, plus a lore → image bridge.

The architect's call

The bridge shells out to the image generator as a subprocess, never as a hard dependency — the lore stays usable without it. Seed derived from the entity id: the same entity always renders the same image. Costly trap documented: the tool does not overwrite an existing file, it appends a suffix — without deleting first you believe you regenerated an image while re-reading the old one. Hardened by adversarial multi-agent review before release.

The code

Private repository — walkthrough over a call

Capabilities engaged

Your data cannot leave the building?

Describe the use case, the data involved and the available hardware. I answer personally within 48 business hours.