You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# 🤖💻 WorkArena - How Capable are Web Agents at Solving Common Knowledge Work Tasks?
2
2
3
-
`WorkArena` is a suite of browser-based tasks designed for ServiceNow products, acting as a benchmark for automating commonly conducted activities within the product environment.
`WorkArena` is a suite of browser-based tasks tailored to gauge web agents' effectiveness in supporting routine tasks for knowledge workers.
6
+
By harnessing the ubiquitous [ServiceNow](https://www.servicenow.com/what-is-servicenow.html) platform, this benchmark will be instrumental in assessing the widespread state of such automations in modern knowledge work environments.
7
+
8
+
WorkArena is included in [BrowserGym](https://github.com/ServiceNow/BrowserGym), a conversational gym environment for the evaluation of web agents.
9
+
10
+
11
+
## Benchmark Contents
12
+
13
+
At the moment, WorkArena includes `23,150` task instances drawn from `29` tasks that cover the main components of the ServiceNow user interface. The following videos show an agent built on `GPT-4-vision` interacting with every such component. As emphasized by our results, this benchmark is not solved and thus, the performance of the agent is not always on point.
14
+
15
+
### Knowledge Bases
16
+
17
+
**Goal:** The agent must search for specific information in the company knowledge base.
18
+
19
+
_The agent interacts with the user via BrowserGym's conversational interface._
To setup WorkArena, you will need to get your own ServiceNow instance, install our Python package, and upload some data to your instance. Follow the steps below to achieve this.
53
+
54
+
### a) Create a ServiceNow Developer Instance
55
+
56
+
1. Go to https://developer.servicenow.com/ and create an account.
57
+
2. Click on `Request an instance` and select the `Vancouver` release (initializing the instance will take a few minutes)
58
+
3. Once the instance is ready, you will see a popup showing its URL and credentials. You will also receive a copy by email. Based on this information, set the following environment variables:
59
+
*`SNOW_INSTANCE_URL`: URL of your ServiceNow developer instance
60
+
*`SNOW_INSTANCE_UNAME`: Just use "admin"
61
+
*`SNOW_INSTANCE_PWD`: The password for your instance. Make sure you place the value in quotes "" since it might contain special characters.
62
+
4. Log into your instance via a browser using the admin credentials. Close any popup that appears on the main screen (e.g., agreeing to analytics).
63
+
64
+
**Warning:** Feel free to look around the platform, but please make sure you revert any changes (e.g., changes to list views, pinning some menus, etc.) as these changes will be persistent and affect the benchmarking process.
65
+
66
+
### b) Install WorkArena and Initialize your Instance
67
+
68
+
Run the following command to install WorkArena in the [BrowswerGym](https://github.com/servicenow/browsergym) environment:
69
+
```
70
+
pip install browsergym-workarena
71
+
```
72
+
73
+
Then, run this command in a terminal to upload the benchmark data to your ServiceNow instance:
74
+
```
75
+
workarena-install
76
+
```
77
+
78
+
### c) Validate Your Installation
79
+
80
+
The are a lot of moving parts (authentication credentials, benchmark data, etc.) so we highly recommend that you sanity-check your installation using our provided unit tests. Do this by running (might take a few minutes):
81
+
```
82
+
pytest -v .
83
+
```
84
+
85
+
Your installation is now complete! 🎉
86
+
87
+
88
+
## Citing This Work
89
+
90
+
```
91
+
@misc{workarena2024,
92
+
title={WorkArena: How Capable Are Web Agents at Solving Common Knowledge Work Tasks?},
93
+
author={Alexandre Drouin and Maxime Gasse and Massimo Caccia and Issam H. Laradji and Manuel Del Verme and Tom Marty and Léo Boisvert and Megh Thakkar and Quentin Cappart and David Vazquez and Nicolas Chapados and Alexandre Lacoste},
0 commit comments