This is Glulxe, the reference interpreter for Glulx, a portable VM for interactive fiction.
This experimental build includes LLM-powered natural language input processing. When enabled, players can use conversational input while games continue to work without modifications.
The LLM integration is implemented through a modified CheapGlk library, leaving the Glulxe VM itself unchanged. Games can be played traditionally or with natural language interpretation enabled.
This is an experiment to explore how LLMs can enhance interactive fiction through better natural language understanding while preserving the puzzle-solving nature of IF.
Note: I added a WebAssembly build of Glulxe to make testing easier. This web interface uses that WASM build to run games directly in the browser. Here we don't use CheapGLK to communicate with external hosted model API provided but delegate that to the browser with regular JS.
Credits:
Glulx VM and CheapGLK: Andrew Plotkin
LLM Experiment and WASM build: Beshr Kayali Reinholdsson
Links:
GitHub Repository |
Modified CheapGlk |
Glulx Specification
Security Note: API keys are encrypted and stored in your browser's local storage. They never leave your device except when making API calls to your configured endpoint. Only use this on trusted devices.