Play Minecraft with an AI! | S03 E05 | Build On Generative AI

Let's discover how you can play Minecraft with a bot controlled by an AI!

Tiffany Souterre
Amazon Employee
Published Mar 4, 2024
In this episode Tiffany Souterre is showing us how to connect Claude to a bot through the Bedrock API. We first discover the Mineflayer library which allows you to create a bot inside the game. We can interact with the bot through a chat window.
A bot in Minecraft
Then we see how to connect the bot to Bedrock through with the SDK for python (Boto3).
Now whenever we talk to the bot through the chat, the message is sent to Claude via Bedrock and sends the response back.
With a little prompt engineering, it is possible to not just make it answer something but also make it act upon what you say in the chat.
In following episodes we'll see how we can use prompt engineering to make more than just having a conversation with the bot. Stay tuned!
Check out the recording here:
Loading...

Any opinions in this post are those of the individual author and may not reflect the opinions of AWS.

Comments