Skip to content

Commit d13c412

Browse files
committed
update
1 parent b0b018a commit d13c412

File tree

4 files changed

+85
-2
lines changed

4 files changed

+85
-2
lines changed

README.md

+8
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,14 @@ agentverse-tasksolving --task tasksolving/humaneval/gpt-3.5 --dataset_path data/
280280
You can take a look at `agentverse/tasks/tasksolving` for more experiments we have done in our paper.
281281

282282

283+
## AgentVerse Showcases
284+
285+
### Simulation Showcases
286+
Refer to
287+
288+
### Task-Solving Showcases
289+
Refer to
290+
283291

284292

285293
<!--

README_simulation_cases.md

+75
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
2+
## 👾 Simple Demo Video
3+
4+
We demonstrate the following cases that are expertly crafted by AgentVerse.
5+
6+
7+
#### NLP Classroom
8+
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.
9+
10+
Use the following command to launch the NLP Classroom example:
11+
```bash
12+
python agentverse_command/main_simulation_gui.py --task simulation/nlp_classroom_9players
13+
```
14+
15+
https://github.com/OpenBMB/AgentVerse/assets/11704492/6ea07850-595e-4a28-a82e-f863011353c2
16+
17+
18+
#### Prisoner Dilemma
19+
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.
20+
21+
Use the following command to launch the Prisoner Dilemma example:
22+
```bash
23+
python agentverse_command/main_simulation_gui.py --task simulation/prisoner_dilemma
24+
```
25+
26+
https://github.com/OpenBMB/AgentVerse/assets/11704492/017c46e5-c738-4fca-9352-b008e2d518bd
27+
28+
29+
#### Software Design
30+
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.
31+
32+
Use the following command to launch the Software Design example:
33+
```bash
34+
python agentverse_command/main_simulation_gui.py --task simulation/sde_team/sde_team_2players
35+
```
36+
37+
https://github.com/OpenBMB/AgentVerse/assets/11704492/5058066a-abee-490d-8659-b4e54661626a
38+
39+
40+
#### [Database Administrator (DBA)](https://github.com/TsinghuaDatabaseGroup/DB-GPT)
41+
42+
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.
43+
44+
```bash
45+
python agentverse_command/main_simulation_gui.py --task simulation/db_diag
46+
```
47+
48+
https://github.com/OpenBMB/AgentVerse/assets/11704492/c633419d-afbb-47d4-bb12-6bb512e7af3a
49+
50+
#### [Text Evaluation (ChatEval)](https://github.com/chanchimin/ChatEval)
51+
In the context of the text evaluation scenario, we recommend users explore the [ChatEval](https://github.com/chanchimin/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](#2-configuring-the-agents), aligns more closely with human evaluations. This demo is built upon the [Fastchat](https://github.com/lm-sys/FastChat) repo, and we'd like to express our appreciation for their foundational work.
52+
53+
54+
https://github.com/OpenBMB/AgentVerse/assets/75533759/58f33468-f15b-4bac-ae01-8d0780019f85
55+
56+
#### Pokemon
57+
**Currently available only in [`release-0.1`](https://github.com/OpenBMB/AgentVerse/tree/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](https://bulbapedia.bulbagarden.net/wiki/May_(game)), [Professor Birch](https://bulbapedia.bulbagarden.net/wiki/Professor_Birch), [Steven Stone](https://bulbapedia.bulbagarden.net/wiki/Steven_Stone), [Maxie](https://bulbapedia.bulbagarden.net/wiki/Maxie), [Archie](https://bulbapedia.bulbagarden.net/wiki/Archie) and [Joseph](https://bulbapedia.bulbagarden.net/wiki/Mr._Stone).
58+
59+
To launch the Pokemon game, first launch a local server with the following command:
60+
```bash
61+
uvicorn pokemon_server:app --reload --port 10002
62+
```
63+
Then open another terminal in the project's root path and run the following command:
64+
```bash
65+
cd ui
66+
# If you do not have npm installed, you need to install it before running the following commands
67+
# https://docs.npmjs.com/downloading-and-installing-node-js-and-npm
68+
69+
npm install
70+
npm run watch
71+
```
72+
Wait for the compilation to complete, and have fun! (WASD for moving around, and SPACE for launching a conversation.)
73+
74+
https://github.com/OpenBMB/AgentVerse/assets/11704492/4d07da68-f942-4205-b558-f155e95782e7
75+

README_tasksolving_cases.md

Whitespace-only changes.

setup.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
setuptools.setup(
1212
name="agentverse",
1313
version="0.1.8",
14-
author="OpenBMB",
15-
author_email="chenweize1998@gmail.com",
14+
author="AgentVerse Team",
15+
author_email="agentverse2@gmail.com",
1616
description="A versatile framework that streamlines the process of creating custom multi-agent environments for large language models (LLMs).",
1717
long_description=long_description,
1818
long_description_content_type="text/markdown",

0 commit comments

Comments
 (0)