mertmetin/worldline
TypeScript
Public
README.md
2026
Worldline
An agentic AI game master with a world that remembers
An AI game master where you can type anything and the story branches for real. Claude never edits the world directly: it proposes changes through tools, a deterministic checker validates each one against a world graph, and rejected changes go back to the model with a reason so it can fix its plan before it narrates.
## highlights
- A manual Claude tool loop: move, create, update, relate and share_fact all go through one validator
- Rejected tool calls return as is_error results with the rule that failed, so the agent self-corrects
- Branching timeline that snapshots the world each turn, so you can rewind and try something else
- Invariant checks after every turn, and a per-turn trace of the agent's tool calls
- Offline mode with a rule-based stand-in, so the UI and checker run without an API key