The speaker describes an agent that takes chat requests, uses an LLM and tools in multiple rounds, then responds through actions. In Minecraft, players give Rocky requests through the game chat, and its tools let it move, build, dig, farm, or attack a pig.
Claude plays Minecraft!
An unnamed AI Engineer speaker demonstrates Rocky, a Minecraft-playing agent, and explains how it was built with Mineflayer and Amazon Bedrock at an AWS booth.
Rocky can answer questions, jump, find a player, locate a pig, travel to it, and hit it. The speaker also demonstrates digging a two-by-two hole and notes that Rocky can find its way out. The demo is open source and requires a Minecraft client.
Minecraft and Mineflayer run together in a container because Mineflayer holds state and cannot run on Lambda. An early version used LangChain on Lambda and Cohere models hosted on SageMaker, but the growing set of tools became complex. The demonstrated setup runs Minecraft and Mineflayer locally and calls an Amazon Bedrock agent using Claude 3 Haiku.
The speaker shows Rocky’s system prompt, which describes a playful, friendly Minecraft agent, and action definitions that return control to the client. Dig accepts depth and width parameters, allowing the model to infer dimensions from requests such as “small hole.” The project includes CloudFormation and CDK infrastructure code.
An experimental build action sends a structure description to Claude, which returns JSON for Mineflayer to interpret as blocks and coordinates. The prompt limits the available blocks and sets placement rules to keep the structure coherent. Rocky builds a double-decker couch from the request.
Takeaways
- Keep stateful game clients such as Mineflayer in a runtime that can maintain state; let a managed agent handle model orchestration.
- Define agent actions with explicit parameters so natural language requests can map to concrete values such as dig depth and width.
- Return control from actions to the client when the agent needs an external system to carry them out.
- Constrain model-generated building output with a defined JSON format, allowed blocks, and placement rules.
- Track complexity as tool count grows; the speaker found the LangChain setup harder to manage as Rocky gained actions.
Mentioned in this talk
Search inside this talk
What was claimed 5
- feature
Amazon Bedrock: Can jump, move to a position, locate players, find and hit pigs, dig, and build structures“include jumping, moving to a position, locating a player”
YouTube Unverified1 source· Talk
- feature
Mineflayer: Open source bot framework for Minecraft“Mineflayer, the bot framework that works with Minecraft”
YouTube Unverified1 source· Talk
- feature
Amazon Bedrock: Provides a common API facade for multiple models“provides a facade for one or more models”
YouTube Unverified1 source· Talk
- feature
Agent S: Supports return of control for agent actions“A key feature for this demo is return of control”
YouTube Unverified1 source· Talk
- uses
“this agent is using Claude 3 Haiku”
YouTube Unverified2 sources· Talk










