The building blocks for a self-building RPG game using Google Agent Development Kit (ADK)
I know what you're thinking, that's pretty childish. But what does it mean to be an adult? Think about that.
One of the most important things that you should do with AI is have fun with it. I know, its serious stuff, don’t give it your personal data and all that. But sometimes, its good to have just some plain fun! That’s what we’re going to do with ADK today, we will try and make some dynamic RPG characters based on some prompts and try and add them to our own narrative to be spun in.
The Architecture
So here it is in it’s simplest form:
Quite easy to understand actually, world_agent builds and updates the world, npc_agent engages in dialogue, character_reader_agent reads the characters created by the character_manager_agent and updated by the character_creator_agent. This will create characters and then update them in a JSON document.
Let’s try a narrative
Here is some character creation:
Which shows up as a JSON for the character:
That can, again be updated by the update agent. Now, let’s spin a narrative for Herbert:
And voila, all the details of the character, which can be updated over time.
Conclusion
In conclusion, agents and ADK are great for these dynamic narratives, and they can be used to make narratives that are a bit more non-linear and ever changing than the ones a singular person could make. This is essentially creating a world that is only slightly nudged by you but created entirely in the mind of the agent. Fascinating stuff!
Here is the repository if you would like to check it out: https://github.com/ankurr0y/Self-building-RPG-maker/tree/main





