Skip to content

Add DnD vision example with 3 agents and 2 scenes#151

Open
Goguzgungor wants to merge 1 commit intomicrosoft:mainfrom
Goguzgungor:feature/dnd-vision-example
Open

Add DnD vision example with 3 agents and 2 scenes#151
Goguzgungor wants to merge 1 commit intomicrosoft:mainfrom
Goguzgungor:feature/dnd-vision-example

Conversation

@Goguzgungor
Copy link
Copy Markdown

Summary

  • Adds a new example notebook demonstrating TinyTroupe's vision capabilities through a DnD tabletop RPG scenario
  • Three agent JSON files: a Dungeon Master (Greg), an experienced player (Talia), and a new player (Jordan)
  • Two scenes: Scene 1 shows a world map to the DM who narrates and shares it with players; Scene 2 introduces a dungeon map, NPC allies, and an enemy
  • Covers agent.see() with single/multiple images and the SHOW agent-to-agent action

New files

  • examples/agents/Greg_DM.agent.json — DM persona
  • examples/agents/Talia_Player.agent.json — experienced player persona
  • examples/agents/Jordan_Player.agent.json — new player persona
  • examples/DnD Adventure with Vision (image modality).ipynb — example notebook
  • examples/images/dnd/ — 5 images (world map, dungeon map, knight NPC, cleric NPC, lizard enemy)

Test plan

  • All 3 agent JSONs validated against existing schema
  • Notebook runs end-to-end without errors (283s, 29 API calls)
  • Agents behave as real DnD players (not AI assistants) thanks to broadcast_internal_goal
  • SHOW action successfully shares images between agents
  • Existing test_jupyter_examples.py will automatically pick up this notebook

Demonstrates TinyTroupe's vision capabilities through a tabletop RPG
scenario. A Dungeon Master agent sees maps and character art, then
shares them with two player agents via the SHOW action.

- Greg_DM.agent.json: experienced DM, software engineer
- Talia_Player.agent.json: veteran player, plays a knight
- Jordan_Player.agent.json: new player, plays an elf cleric
- Notebook with 2 scenes covering see() and SHOW actions
@Goguzgungor
Copy link
Copy Markdown
Author

@microsoft-github-policy-service agree

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant