AI Dungeon is a free-to-play single-player and multiplayer text adventure game which uses artificial intelligence to generate unlimited content. You can easily find it by typing AI Dungeon on Google. I found it completely by chance, and was curious to see if we can reenact USB scenarios with it. And it actually works! To be perfectly honest, the AI isn't always perfect and the thing is first-and-foremost designed to reenact medieval fantasy scenarios, but you can reset the last action at will or go back to undo your actions at will until you get something that suits you.
Here are a few screencaps of my first try (sorry for the size, the text was cut a little). I picked the mystery setting, chose to play as a spy, and gave her a clearly female name. Here is what I managed to get. (I'm trying the advanced version of the AI - there's a seven days free trial for it. There's a free version, but the AI seems less flexible.)

https://zupimages.net/up/20/32/tyid.png

https://zupimages.net/up/20/32/1yyk.png