Applications of Generative Agents: From Video Games and Beyond

Exploring how generative AI-powered agents applied to simulative environments are poised to transform education, healthcare, and the enterprise.

Daniele Nanni
6 min readMay 23, 2023

Welcome to this article that delves into the applications and use cases of generative agents, extending beyond the realm of games. These AI-driven entities have the potential to revolutionise various domains, including video games, role-play and simulation scenarios, and social prototyping. Let’s dive into the potential of generative agents as we explore their diverse applications and transformative capabilities.

This is the third article of my series about Generative Agents. To read the previous parts, see the links below:

[Part 1] How generative agents will revolutionise believability in Video Games

[Part 2] An architectural framework for Generative Agents

Video Games and Virtual Worlds

Generative agents, as AI-driven characters replacing traditional NPCs, have the potential to disrupt the concept of procedurally generated content.

Procedural Content Generation (PCG) is a technique used in video game design and development to generate game content such as levels, environments, biomes, characters, items, and quests, among others, using algorithms and computational methods. In PCG, game content is not handcrafted by developers, but rather generated automatically by software, which can save time and resources, as well as provide a potentially infinite amount of content for players to explore.

PCG has become an active research area in video game design because it can enhance player experience by creating unique and unpredictable game content, increasing replayability and immersion. Some popular games like Minecraft and No Man’s Sky use PCG to generate entire worlds, biomes and assets with endless variations. These games have gained immense popularity among players, partly due to the infinite possibilities and unpredictability offered by PCG.

Despite the popularity of PCG-based games, procedurally generated content presents certain limitations as it fails to adapt effectively to changing game constraints, such as game state, world lore, storylines, and player diversity. This weakness can be addressed successfully with new approaches such as the implementation of machine learning, evolutionary algorithms, and neural networks that allow the environment to incorporate the player’s input. However, these techniques suffer from other issues caused by unpredictable behaviour from players which leads to erratic, illogical or non-coherent results.

By allowing mixed-initiative co-creativity capabilities [4] within the game, generative agents can create procedurally generated content that is constrained by world state and genre conventions, while also being responsive to player input. This approach, which integrates key facts and entities from the game world with NPC dialogue generated by large language models, has been explored within quests and quest-related dialogue in fantasy-based RPGs with the intent of deepening immersion and providing an enhanced user experience [1].

Generative agents have the potential to revolutionise procedural generation by enabling the dynamic creation of storyworlds — Image by the author. Icons by Freepik.

The player-centric method empowers players to influence the type and style of quests they are offered and receive unique, non-repetitive accompanying narratives without sacrificing in-game integrity. A templated text generation and a structured coherence mechanism can also be implemented to ensure that the final NPC dialogue aligns with the game world state as encoded within a knowledge graph.

Role-play, simulation and modelling scenarios

Generative agents can significantly enhance the depth and immersion of role-playing scenarios by generating dynamic and believable characters. These AI-driven characters can be designed to act in a similar way as humans based on a set of requirements, personal information, motivational drivers, and statements. By replicating real-world scenarios, generative agents can help users develop empathy, improve problem-solving skills, and refine their communication abilities in various situations.

Utilising large language models and machine learning algorithms, generative agents can embody characters that respond to user input and adapt their behaviour to match the context, history, and personal traits. These responsive characters can provide a more engaging and life-like experience for users, further enhancing the role-playing environment.

Replicating real-world scenarios with generative agents can benefit users in numerous ways. For instance, it can facilitate immersive learning experiences for students, allowing them to explore complex concepts or historical events from different perspectives. If trained correctly it could be possible to create immersive simulations where students can talk to historical characters and ask them questions about relevant events that they experienced in their life. In professional training, generative agents can help employees practise interpersonal skills, negotiation techniques, or crisis management in a controlled and risk-free environment.

The possible fields of application for generative agents in role-playing scenarios are vast and varied. Some possible use cases are listed below:

  1. Entertainment: As discussed, in video games or interactive storytelling, generative agents can create dynamic characters that react to players’ actions and decisions, offering a more immersive and engaging experience.
  2. Education: Generative agents can create realistic simulations to teach students about historical events, social dynamics, or scientific concepts, enabling them to explore these topics from different angles and build a deeper understanding. For example, personas that power generative historical characters can be crafted by teachers in a way that they can respond to students with accurate historical facts about themselves and the events they have witnessed.
  3. Business Training: Companies can employ generative agents to create training simulations for employees to practise negotiations, conflict resolution, or team-building exercises, improving their skills in a safe, controlled environment.
  4. Therapy and Counselling: Mental health professionals can use generative agents to simulate challenging situations for patients to practise coping mechanisms, communication skills, or explore alternative solutions to personal issues. This can be done under their supervision and in a space that is safe for the patients.
  5. Emergency Response Training: Generative agents can simulate crisis situations for first responders, medical professionals, or military personnel, allowing them to practise decision-making and communication skills under pressure.

By generating dynamic and believable characters that interact with users in a realistic manner, these agents enable users to fully engage with the simulated scenarios and develop valuable skills in empathy, problem-solving, and communication. The adaptability and responsiveness of generative agents contribute to creating immersive experiences that cater to individual users’ needs and preferences and also tailor them according to the use case. As a result, they offer a more personalised and effective learning or training environment, empowering users to explore concepts, situations, and challenges from different perspectives.

Social Prototyping and AI personas

Generative agents have the potential to transform the way collaboration is done in creative environments.

Developing AI personas explicitly optimised for collaboration with individuals and teams in ideation and problem-solving would be possible by personifying agents with traits, skills, and characteristic of human behaviours and attitudes. This approach, which synthesises strategies from various fields such as software development, gaming, and psychology, enhances user experiences and fosters seamless collaboration with AI agents.

By utilising generative agents, designers can also gather more data on user behaviour, make informed decisions, and create products that better cater to users’ needs. This approach also reduces reliance on traditional user testing, saves time and resources, and ensures diverse and inclusive design. Product teams can benefit from improved product design processes with faster iteration and validation, cost savings, enhanced creativity, and informed decision-making regarding product features, priorities, and resource allocation.

While generative agents offer numerous benefits in social prototyping and UX design, it is important to recognise that machines may not be able to fully predict or replicate human behaviour. This limitation can be potentially mitigated by fine-tuning the language model with tailored data that come from real users in order to improve accuracy and relevance of generated personas.

Conclusion

Generative agents have the potential to revolutionise interactive experiences across diverse domains. From video games to role-play scenarios and social prototyping, these AI-driven entities offer dynamic interactions, immersive storytelling, and innovative problem-solving. With their ability to generate personalised content, adapt to user input, and enhance collaboration, generative agents have opened up new frontiers in human-computer interaction.

As we continue to explore and refine their capabilities, the future holds immense potential for generative agents to create intelligent, immersive, and collaborative experiences that push the boundaries of creativity and engagement.

In the next article we will explore some of the current limitations and challenges associated with generative agents.

Read part 4 here

References:

[1] Georgios N Yannakakis, Antonios Liapis, and Constantine Alexopoulos. 2014.
Mixed-initiative co-creativity. In Proceedings of the 9th Conference on the Foundations of Digital Games. FDG, Liberty of the Seas, Caribbean, 8. http://www.fdg2014.org/papers/fdg2014_paper_37.pdf

[2]Max Kreminski, Melanie Dickinson, Michael Mateas, Noah Wardrip-Fruin. 2020.
Why Are We Like This?: The AI Architecture of a Co-Creative Storytelling Game https://dl.acm.org/doi/pdf/10.1145/3402942.3402953

[3]Marie-Laure Ryan, Jan-Noël Thon. 2014.
Storyworlds across Media. University of Nebraska Press. https://digitalcommons.unl.edu/cgi/viewcontent.cgi?referer=&httpsredir=1&article=1273&context=unpresssamples

Attributions:

Icons by freepik.com

--

--

Daniele Nanni

Developing Neo-Cybernetics to empower humanity. Exploring AI's impact on our world.