Skip to content

Agentic AI Dungeon Game

Congratulations! You’ve created an Agentic AI Dungeon adventure game that uses many of the available generators found within the @aws/nx-plugin. 🎉🎉🎉

We recommend you try your hand at extending the codebase with the following capabilities on your own:

  1. Add the license generator to your project which will automatically manage LICENSE files and source code headers in your workspace.
  2. Contribute your own generator to simplify the addition on new tRPC APIs.
  3. Add a new resetToAction api (using your above generator) in GameAPI which allows you to go back in time and delete all actions from a given point. Update the UI to add a button on a conversation bubble to reset to this point (and call the newly created API).
  4. Explore the various component guides using the left navigation.

Want to keep playing and add an edge device first? Continue with Optional: roll dice with Greengrass. The Story Agent calls a tool that requests a roll from a device and uses the returned value in the game. Keep your deployed dungeon for that route; it includes instructions to remove just the extension or the whole application.

  1. To destroy the AWS resources that were created, run the following command:
Terminal window
pnpm nx destroy-sandbox infra

This will prompt you for a list of stacks to delete which should comprise of the dungeon-adventure-infra-sandbox/Application/GameUI/waf and dungeon-adventure-infra-sandbox/Application.

  1. Enter y to continue. CloudFormation will destroy your stacks.