Skip to content

EnterpriseSim: A Transactional Gym and Benchmark for AI Agent Reliability

Dolly Sah, Tanmay Sah, Harshul Jain, Tanya Sah, Saroj Pradhan

cs.AI

Abstract

Most AI agent benchmarks test agents in single-actor settings. If an agent calls tools and closes a ticket, it passes. Production enterprise systems behave differently. An agent can satisfy a user's request while breaking the database, such as duplicating a refund after a network timeout, overwriting a concurrent security patch, or acting on a frozen account. To solve this problem, we introduce EnterpriseSim, an open-source, PostgreSQL-based gym of 83 tasks (30 single-incident, 53 with 2+ hazards) across six connected departments. It injects ambiguous timeouts, runs four live background worker bots over shared records, evaluates SQL state directly without LLM judges, and replays every run deterministically. We run 3,619 episodes in total and find four main results. First, under guided prompts on these 53 multi-hazard tasks, model pass rates span 47.2% to 98.1%, yet none of the 7 evaluated models pass a concurrent security patch race unguarded. Second, switching to vague inbox alerts, 55-tool consoles, distraction tickets, and live contention drops every model by 10pp to 30pp, lowering the top model from 95% to 65%. Third, across seven runtime safety layers, a commit gate before PostgreSQL prevents all observed single-agent unsafe writes with 0% false blocking and under 10 ms p99 latency, while parallel multi-writer budget caps still require database locks. Fourth, models frequently spot silent data bugs they fail to fix safely and get stuck in repetitive loops under long safety prompts.

Create a lesson

Metadata

Comments
14 pages, 8 figures, 14 tables