←back to thread

Gremllm

(github.com)
121 points andreabergia | 1 comments | | HN request time: 0s | source
Show context
awwaiid ◴[] No.44467323[source]
I was chatting with Simon Willison (who's LLM library I use to power gremllm) on Discord and he suggested D&D use-cases. Kinda works!!!

    >>> from gremllm import Gremllm
    >>> player = Gremllm('dungeon_game_player')
    >>> player.go_into_cave()
    'Player has entered the cave.'
    >>> player.look_around()
    {'location': 'cave', 'entered_cave_at': '2025-07-02T21:59:02.136960'}
    >>> player.pick_up_rock()
    'You picked up a rock.'
    >>> player.inventory()
    ['rock']
(further attempts at this have ... varying results ...)
replies(2): >>44467883 #>>44468452 #
1. Fraterkes ◴[] No.44467883[source]
Just want to say that I'm not an ai guy at all, but this has made me more excited about it than anything in a while. Really cool! Did you also do the one where you put "spells" in your code?