We demonstrate the following cases that are expertly crafted by AgentVerse.
In the NLP class, the professor and students engage in interactive communication. When students have a question, they raise their hands and patiently wait for the professor to call on them. Only after being called on by the professor, can students speak and ask their questions.
Use the following command to launch the NLP Classroom example:
python agentverse_command/main_simulation_gui.py --task simulation/nlp_classroom_9players
classroom.mp4
A prisoner's Dilemma is a thought experiment that challenges two completely rational agents to a dilemma: they can cooperate with their partner for mutual benefit or betray their partner ("defect") for individual reward.
Use the following command to launch the Prisoner Dilemma example:
python agentverse_command/main_simulation_gui.py --task simulation/prisoner_dilemma
prison.mp4
In the Software Design example, a code writer, a code tester and a code reviewer collaborate on the code generation problem. Given a problem, the code writer first composes the code implementation. The code tester runs the unit tests and provides the feedback. The code viewer then generates a review. After collecting the test feedback and review, the code writer iteratively refines the code.
Use the following command to launch the Software Design example:
python agentverse_command/main_simulation_gui.py --task simulation/sde_team/sde_team_2players
sde.mp4
In the database diagnosis scenario, the Chief DBA monitors the system anomalies (e.g., slow queries, locks, crash down). If detected, the domain experts are alerted to analyze root causes, share insights, and suggest optimization solutions together. The Chief DBA then provides a summarized report to the user.
python agentverse_command/main_simulation_gui.py --task simulation/db_diag
db_diag.mp4
In the context of the text evaluation scenario, we recommend users explore the ChatEval repo. They've implemented a multi-agent referee team on AgentVerse to assess the quality of text generated by different models. When given two distinct pieces of text, roles within ChatEval can autonomously debate the nuances and disparities, drawing upon their assigned personas, and subsequently provide their judgments. Experiments indicate that their referee team, enriched with diverse roles specified in config.yaml, aligns more closely with human evaluations. This demo is built upon the Fastchat repo, and we'd like to express our appreciation for their foundational work.
chateval.mp4
Currently available only in release-0.1
. In the game, agents can walk around the game world, and interact with one another. As a player, you take on the role of an agent and can engage with others at any time. There are 6 characters in the Pokémon environment who appeared in Pokemon Emerald: May, Professor Birch, Steven Stone, Maxie, Archie and Joseph.
To launch the Pokemon game, first launch a local server with the following command:
uvicorn pokemon_server:app --reload --port 10002
Then open another terminal in the project's root path and run the following command:
cd ui
# If you do not have npm installed, you need to install it before running the following commands
# https://docs.npmjs.com/downloading-and-installing-node-js-and-npm
# We have tested on [email protected], [email protected]
npm install
npm run watch
Wait for the compilation to complete, and have fun! (WASD for moving around, and SPACE for launching a conversation.)