https://github.com/kolbytn/mindcraft/blob/main/src/agent/agent.jsyou can use this framework for convincing bots for most vidya games
1. find an API to interact with the game and get game state, ex mineflayer
2. write recipes for actions, ex collectAllBlocks
3. write examples for actions so the LLM can call recipes
the bot periodically updates a store of memory by using an LLM prompt. Uses LLM to select next action