MYTHCRAWL

  • Local AI generates every room, monster, and quest
  • Deterministic engine rolls real damage and loot
  • No cloud, no API keys, runs on your hardware
mythcrawl

AI Generates

Rooms, monsters, items, NPCs, quests, abilities, dialogue. All invented in real-time by a local language model running on your hardware.

You Explore

Type anything. The AI describes the moment. The engine resolves the outcome. If the damage kills it, it's dead.

Get Started

git clone https://github.com/Memel06/mythcrawl.git
cd mythcrawl && npm install
# drop any GGUF model into models/
# Gemma 4 E2B? run: npx --no node-llama-cpp source download --release latest
npm start

Commands

look / l
Describe the current room
north south east west
Move (or n s e w)
search
Search for hidden loot
map
ASCII mini-map
inspect <target>
Examine something closely
take / drop / use / equip
Item management
inventory / i
View inventory
attack / defend / flee
Combat actions
talk <name>
Talk to an NPC
buy / sell
Trade with merchants
quests
Quest log
rest / sleep
Rest (tent or encampment for full effect)
stats
Character sheet
help / ?
All commands

Prefix any free-form action with try — e.g. try to intimidate the wraith — and the AI will interpret it.

Saves

Games save to ~/.mythcrawl/saves/ as JSON — the complete world state, every room, item, NPC, quest, and ability the AI has generated. Loading restores the world exactly as it was.