← All projects
Project record1 mention
Originally shared on Hacker News

LLM-driven narrative game

An LLM-driven narrative game where the story advances through generated progression options. It uses a memory hierarchy (Arc -> Scene -> Moment -> Line) that compacts the story to a constant amount of tokens per layer to keep context manageable, with ongoing work on tuning the amount of divergence in the generated story options.

Last shared
01 / The problem

What it addresses

The main technical challenge is context compaction for long-running LLM narratives: how to compress the story to a constant token budget per layer, and how to get the right amount of divergence when generating story progression options.

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. LLM-driven narrative game

    An LLM-driven narrative game where the story advances through generated progression options. It uses a memory hierarchy (Arc -> Scene -> Moment -> Line) that compacts the story to a constant amount of tokens per layer to keep context manageable, with ongoing work on tuning the amount of divergence in the generated story options.

    Problem: The main technical challenge is context compaction for long-running LLM narratives: how to compress the story to a constant token budget per layer, and how to get the right amount of divergence when generating story progression options.

    Posted by @kennethwolters · Original source ↗

    Source text · @kennethwolters · · Source ↗

    LLM-driven narrative game. Main technical issue is how go do compaction. I’ve devised a memory hierarchy that compacts the story to a constant amount of tokens per layer. Arc -> Scene -> Moment -> Line.