DEV Community

Cover image for Have Fun with AWS PartyRock
Osman Recai ร–demis for AWS Community Builders

Posted on • Originally published at

Have Fun with AWS PartyRock

Hello folks, hope you are well ๐Ÿ‘‹

Amazon recently launched PartyRock. It's really fun to play with and at the same time also opens up opportunities for everyone to create apps and experiment with LLMs. This includes experimenting with various foundational models, understanding text-based prompting, and learning how to effectively chain prompts.

In a nutshell, it lets you build AI-generated apps in a Playground powered by Amazon Bedrock. Just go to and create your own funny apps, based on prompt engineering, and share them with the world.


PartyRock provides you with a Playground, where you can drag and drop widgets like:

  • user input
  • static text
  • AI-powered: text generation, image and chatbot ๐Ÿš€

You can think of the Playground as a list of functions (Widgets) backed up by Prompts. Every function produces results via prompt engineering, and these results can be concatenated throughout the entire setup via a dynamic variables chain.

Here in the example, the value of the User-Input Widget is included in the Prompt of the second Widget below. See also how the output is populated via variables to the second prompt.

Image description

Use Case

Let's say you want to build an app that analyzes your business requirements and conducts automatic EventStorming sessions. Based on the results, it generates the domain objects and a fully working serverless architecture with CDK code. ๐Ÿ™‚

Just hit the landing page and describe your idea:

Image description

Here we go, you can find the app here:

Play with it

Enter your business requirement in User Input-Widget e.g:

"A logistics company wants to improve its fleet management through a smart system that optimizes routes, tracks vehicle status, and manages deliveries. The system aims to enhance operational efficiency, reduce fuel consumption, and ensure timely deliveries."

The Output:

  • Generates your domain events.
  • Produces the CDK Code, including components like Lambda, EventBridge, DynamoDB, etc.

Image description

The CDK code comments out certain parts, but you can go deeper into specific implementation details in the next step via the Technology Wizard. For instance, if you wish to view details about the implementation of the generated lambdas, simply enter the name, and the output will be displayed in the next Component Widget. ๐Ÿ‘‡๐Ÿฝ

Image description

You can also add new widgets, edit an existing widget, and play with the prompt, mode, and temperature settings.

Image description

Happy coding ๐Ÿฅณ

Top comments (2)

ben profile image
Ben Halpern

TIL about the .aws domain

daveparr profile image
Dave Parr

This is pretty neat! Thanks for the tip!