Datasets:

Modalities:
Text
Formats:
parquet
ArXiv:
License:
File size: 11,929 Bytes
e733928
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9360f8e
 
e733928
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
b1e5be8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
---
license: cc-by-nc-4.0
dataset_info:
- config_name: oracle
  features:
  - name: task_id
    dtype: string
  - name: domain
    dtype: string
  - name: system_prompt
    dtype: string
  - name: user_prompt
    dtype: string
  - name: selected_tools
    list: string
  - name: restricted_tools
    list: 'null'
  - name: mcp_endpoint
    dtype: string
  - name: number_of_runs
    dtype: int64
  - name: reset_database_between_runs
    dtype: bool
  - name: gym_servers_config
    dtype: string
  - name: verifiers
    dtype: string
  splits:
  - name: calendar
    num_bytes: 287514
    num_examples: 61
  - name: csm
    num_bytes: 1463009
    num_examples: 103
  - name: drive
    num_bytes: 469510
    num_examples: 64
  - name: email
    num_bytes: 466399
    num_examples: 67
  - name: hr
    num_bytes: 1691979
    num_examples: 102
  - name: hybrid
    num_bytes: 1270996
    num_examples: 88
  - name: itsm
    num_bytes: 1422432
    num_examples: 103
  - name: teams
    num_bytes: 1305140
    num_examples: 61
  download_size: 991194
  dataset_size: 8376979
- config_name: plus_10_tools
  features:
  - name: task_id
    dtype: string
  - name: domain
    dtype: string
  - name: system_prompt
    dtype: string
  - name: user_prompt
    dtype: string
  - name: selected_tools
    list: string
  - name: restricted_tools
    list: 'null'
  - name: mcp_endpoint
    dtype: string
  - name: number_of_runs
    dtype: int64
  - name: reset_database_between_runs
    dtype: bool
  - name: gym_servers_config
    dtype: string
  - name: verifiers
    dtype: string
  splits:
  - name: calendar
    num_bytes: 291906
    num_examples: 59
  - name: csm
    num_bytes: 1465984
    num_examples: 102
  - name: drive
    num_bytes: 481171
    num_examples: 64
  - name: email
    num_bytes: 478847
    num_examples: 67
  - name: hr
    num_bytes: 1714711
    num_examples: 102
  - name: hybrid
    num_bytes: 1287591
    num_examples: 88
  - name: itsm
    num_bytes: 1447378
    num_examples: 103
  - name: teams
    num_bytes: 1145920
    num_examples: 52
  download_size: 982687
  dataset_size: 8313508
- config_name: plus_15_tools
  features:
  - name: task_id
    dtype: string
  - name: domain
    dtype: string
  - name: system_prompt
    dtype: string
  - name: user_prompt
    dtype: string
  - name: selected_tools
    list: string
  - name: restricted_tools
    list: 'null'
  - name: mcp_endpoint
    dtype: string
  - name: number_of_runs
    dtype: int64
  - name: reset_database_between_runs
    dtype: bool
  - name: gym_servers_config
    dtype: string
  - name: verifiers
    dtype: string
  splits:
  - name: calendar
    num_bytes: 296762
    num_examples: 59
  - name: csm
    num_bytes: 1473824
    num_examples: 102
  - name: drive
    num_bytes: 486100
    num_examples: 64
  - name: email
    num_bytes: 484265
    num_examples: 67
  - name: hr
    num_bytes: 1726316
    num_examples: 102
  - name: hybrid
    num_bytes: 1295972
    num_examples: 88
  - name: itsm
    num_bytes: 1460550
    num_examples: 103
  - name: teams
    num_bytes: 1150823
    num_examples: 52
  download_size: 989853
  dataset_size: 8374612
- config_name: plus_5_tools
  features:
  - name: task_id
    dtype: string
  - name: domain
    dtype: string
  - name: system_prompt
    dtype: string
  - name: user_prompt
    dtype: string
  - name: selected_tools
    list: string
  - name: restricted_tools
    list: 'null'
  - name: mcp_endpoint
    dtype: string
  - name: number_of_runs
    dtype: int64
  - name: reset_database_between_runs
    dtype: bool
  - name: gym_servers_config
    dtype: string
  - name: verifiers
    dtype: string
  splits:
  - name: calendar
    num_bytes: 286286
    num_examples: 59
  - name: csm
    num_bytes: 1450583
    num_examples: 102
  - name: drive
    num_bytes: 475636
    num_examples: 64
  - name: email
    num_bytes: 473047
    num_examples: 67
  - name: hr
    num_bytes: 1703152
    num_examples: 102
  - name: hybrid
    num_bytes: 1279121
    num_examples: 88
  - name: itsm
    num_bytes: 1434621
    num_examples: 103
  - name: teams
    num_bytes: 1140547
    num_examples: 52
  download_size: 981152
  dataset_size: 8242993
configs:
- config_name: oracle
  data_files:
  - split: calendar
    path: oracle/calendar-*
  - split: csm
    path: oracle/csm-*
  - split: drive
    path: oracle/drive-*
  - split: email
    path: oracle/email-*
  - split: hr
    path: oracle/hr-*
  - split: hybrid
    path: oracle/hybrid-*
  - split: itsm
    path: oracle/itsm-*
  - split: teams
    path: oracle/teams-*
- config_name: plus_10_tools
  data_files:
  - split: calendar
    path: plus_10_tools/calendar-*
  - split: csm
    path: plus_10_tools/csm-*
  - split: drive
    path: plus_10_tools/drive-*
  - split: email
    path: plus_10_tools/email-*
  - split: hr
    path: plus_10_tools/hr-*
  - split: hybrid
    path: plus_10_tools/hybrid-*
  - split: itsm
    path: plus_10_tools/itsm-*
  - split: teams
    path: plus_10_tools/teams-*
- config_name: plus_15_tools
  data_files:
  - split: calendar
    path: plus_15_tools/calendar-*
  - split: csm
    path: plus_15_tools/csm-*
  - split: drive
    path: plus_15_tools/drive-*
  - split: email
    path: plus_15_tools/email-*
  - split: hr
    path: plus_15_tools/hr-*
  - split: hybrid
    path: plus_15_tools/hybrid-*
  - split: itsm
    path: plus_15_tools/itsm-*
  - split: teams
    path: plus_15_tools/teams-*
- config_name: plus_5_tools
  data_files:
  - split: calendar
    path: plus_5_tools/calendar-*
  - split: csm
    path: plus_5_tools/csm-*
  - split: drive
    path: plus_5_tools/drive-*
  - split: email
    path: plus_5_tools/email-*
  - split: hr
    path: plus_5_tools/hr-*
  - split: hybrid
    path: plus_5_tools/hybrid-*
  - split: itsm
    path: plus_5_tools/itsm-*
  - split: teams
    path: plus_5_tools/teams-*
---
<div align="center">

<h1><img src="assets/csmgym.png" alt="Logo" width="48" style="vertical-align:middle; margin-right:8px;" /> EnterpriseOps-Gym: Environments and Evaluations for Stateful Agentic Planning and Tool Use in Enterprise Settings</h1>

<p>
  <a href="https://enterpriseops-gym.github.io/"><img src="https://img.shields.io/badge/Website-blue?logo=google-chrome&logoColor=white" /></a>
  <a href="https://arxiv.org/abs/2603.13594"><img src="https://img.shields.io/badge/Paper-red?logo=arxiv&logoColor=white" /></a>
  <a href="https://github.com/ServiceNow/EnterpriseOps-Gym"><img src="https://img.shields.io/badge/GitHub-black?logo=github" /></a>
</p>

<p><i>EnterpriseOps-Gym is a containerized, resettable enterprise simulation benchmark for evaluating LLM agents on stateful, multi-step planning and tool use across realistic enterprise workflows</i></p>

</div>

<div align="center"><img src="assets/teaser.png" alt="EnterpriseOps-Gym Overview" width="80%" /></div>

## About

**EnterpriseOps-Gym** is a large-scale benchmark for evaluating the agentic planning and tool-use capabilities of LLM agents across enterprise operations. It comprises **1,150 expert-curated tasks** spanning **8 enterprise domains**, each running against live containerized MCP servers backed by realistic, fully synthetic databases.

Unlike static QA benchmarks, EnterpriseOps-Gym evaluates agents on **final environment state** using SQL verifiers - meaning agents are rewarded for achieving the correct outcome, not for following a rigid action sequence. Tasks require long-horizon multi-step reasoning, strict policy compliance, and precise tool invocation under complex data dependencies.

> **Best model performance: 34.1% success rate** - leaving significant headroom for future research.

## Key Features

- 🛠️ **512 tools** across 8 enterprise domains
- 🗄️ **164 database tables** with avg 1.7 foreign-key dependencies per table
- 🔢 **9.15 avg steps** per task (up to 34), with **5.3 avg verification conditions**
- 📏 **89k avg context length** per task
- 🔒 Tasks enforce **access control, policy compliance, and referential integrity**
- ✅ Evaluation is **outcome-based** via executable SQL verifiers — not action-sequence matching
- 🐳 Fully **containerized** sandbox — reproducible and isolated per task run

## Evaluation Framework

The evaluation code is available at [ServiceNow/EnterpriseOps-Gym](https://github.com/ServiceNow/EnterpriseOps-Gym).

The framework supports:
- **Multiple orchestrators**: ReAct, Planner-ReAct, Decomposing Planner
- **Multiple LLM providers**: Anthropic, OpenAI, Azure OpenAI, Google Gemini, DeepSeek, vLLM, and more
- **Parallel execution** via [Ray](https://www.ray.io/) for large-scale runs
- **Automatic scoring** with per-task and per-mode breakdowns

```python
from datasets import load_dataset

ds = load_dataset("ServiceNow-AI/EnterpriseOps-Gym", "oracle", split="teams")
```

## Domain Information

The dataset is organized by **domain** (split) and **mode** (configuration subset).

### Domains

| Domain | Tasks | Avg Steps | Max Steps | Tools |
|--------|------:|----------:|----------:|------:|
| Calendar | 100 | 7.05 | 17 | 37 |
| CSM | 186 | 12.10 | 27 | 89 |
| Drive | 105 | 8.68 | 29 | 55 |
| Email | 104 | 6.25 | 22 | 79 |
| HR | 184 | 10.54 | 34 | 89 |
| ITSM | 181 | 9.00 | 31 | 93 |
| Teams | 100 | 9.41 | 18 | 70 |
| Hybrid | 155 | 7.79 | 19 | Multi-domain |
| **Total** | **1,115** | **9.15** | **34** | **512** |

### Modes (Tool-Set Configurations)

Each mode controls the set of tools exposed to the agent, simulating realistic tool-retrieval scenarios:

| Mode | Description |
|------|-------------|
| `oracle` | Only the exact tools needed for the task |
| `plus_5_tools` | Oracle tools + 5 randomly sampled distractor tools |
| `plus_10_tools` | Oracle tools + 10 randomly sampled distractor tools |
| `plus_15_tools` | Oracle tools + 15 randomly sampled distractor tools |

## Field Descriptions

Each row in the dataset corresponds to one task instance and contains the following fields:

| Field | Type | Description |
|-------|------|-------------|
| `task_id` | `string` | Unique identifier for the task |
| `domain` | `string` | Domain name (e.g., `teams`, `csm`, `hr`) |
| `system_prompt` | `string` | Agent role definition and domain-specific policies |
| `user_prompt` | `string` | Natural language task instruction |
| `verifiers` | `string` (JSON) | Array of SQL-based outcome verification scripts that check final environment state |
| `gym_servers_config` | `string` (JSON) | MCP server configuration(s) specifying which containerized gym server(s) to connect to |
| `selected_tools` | `list[string]` | Names of tools available to the agent in this mode |

## Example Use Cases

**EnterpriseOps-Gym** can be used for:

- **Benchmarking LLM agents** on realistic enterprise workflows across IT, HR, CRM, and collaboration domains
- **Evaluating tool-use and planning** under long-horizon, multi-step, policy-constrained settings
- **Studying tool retrieval robustness** by comparing oracle vs. distractor-augmented tool modes
- **Developing new orchestration strategies** — the framework natively supports ReAct, Planner-ReAct, and Decomposing Planner
- **Studying failure modes** of state-of-the-art models on high-complexity enterprise tasks (best model: 34.1%)
- **Extending the benchmark** with new domains, tasks, or verifiers using the released Docker sandbox infrastructure

## Citation

```bibtex
@misc{malay2026enterpriseopsgymenvironmentsevaluationsstateful,
      title={EnterpriseOps-Gym: Environments and Evaluations for Stateful Agentic Planning and Tool Use in Enterprise Settings}, 
      author={Shiva Krishna Reddy Malay and Shravan Nayak and Jishnu Sethumadhavan Nair and Sagar Davasam and Aman Tiwari and Sathwik Tejaswi Madhusudhan and Sridhar Krishna Nemala and Srinivas Sunkara and Sai Rajeswar},
      year={2026},
      eprint={2603.13594},
      archivePrefix={arXiv},
      primaryClass={cs.AI},
      url={https://arxiv.org/abs/2603.13594}, 
}