Freytag Forge

Interactive fiction engine where a world model keeps an LLM narrator honest

A browser story engine for freeform roleplay: players type anything and an LLM narrator answers, while a deterministic world model tracks every person, object and state, an authored plot keeps its arc, secrets reveal only when earned and a clock makes detours cost. Stories are Markdown.

Trade-offs

  • Unlike Inform-style parsers it keeps the nouns and drops the verb list: the world model never decides what an action does, only what exists and where, and the narrator writes the outcome.
  • Moves that would break what comes next warn the player first instead of being refused, so the story can be pushed off course on purpose.

Q&A2

Positions and states live in the engine rather than the model's memory, a bolted desk cannot be carried off, and reveals use the story's own authored text.

Reviews

Loading reviews

    More in uv

    See all 7 →
    • omnipkgPython package manager that runs conflicting versions side by side
    • pyappdistBuilds native installers for Python apps straight from pyproject.toml
    • HandlerA2A protocol client with a terminal UI, a scriptable CLI and an MCP server
    • ApplyKitSelf-hosted AI toolkit for tailored resumes, cover letters and applications
    • uvlinkMoves .venv and node_modules out of synced folders and links them back
    • uv-vscodeVS Code extension that makes uv scripts and dependencies first-class

    More in Game dev

    See all 22 →
    • Rigby2DOpen-source 2D skeletal animation editor for games and film
    • Raising HellA Tamagotchi-style virtual pet game for the M5Stack Cardputer ADV
    • WhimTexA sprite and texture editor inside Unity, with layers that stay editable
    • GodotMakerAgent workflow that turns a game idea into a tested Godot project
    • CSG_BlockoutLevel blockout in Godot with native CSG nodes, from drawn rooms to playtest
    • SculptForgeOpen-source digital sculpting app for Linux, macOS and Windows

    More in LLMs

    See all 28 →
    • HashCortxLocal-first desktop workspace for chat, coding agents and agent teams
    • MetaScreenerMulti-LLM ensemble for systematic review screening
    • BigMoeOnEdgeEngine that streams MoE experts from flash to run models larger than memory
    • AntirionAI gateway in one Rust binary, with the admin console built in
    • NightRunLocal LLM runtime that boots from USB with no conventional operating system
    • AurelioLocal wealth and planning app with an AI advisor that proposes changes