I think it would be cool if you could extract some of this to another gem but without the LLM capabilities.
Maybe the sandbox could be one dependency gem and then the LLM gem could diverge from the non-LLM version.
Havent exactly figured the use case but I wanted to create a repl in a rails app as a first test (but have no interest in the LLM portion).
Curious to hear your thoughts.