EnterpriseSim: A Transactional Gym and Benchmark for AI Agent Reliability

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

arXiv:2612.01881 · 2026-12-02 공개 · arXiv · PDF

postgresql enterprise-sim ai-agent-reliability multi-hazard-tasks safety-layers commit-gate database-locks tool-consoles

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.

한국어 요약

한 줄 요약

EnterpriseSim은 83개의 엔터프라이즈 시나리오를 기반으로 AI 에이전트의 신뢰성을 평가하는 PostgreSQL 기반 오픈소스 벤치마크이다.

핵심 기여도

핵심 아이디어

기존 AI 에이전트 벤치마크는 단일 에이전트 환경에서 API 호출 성공 여부만 평가하지만, 실제 엔터프라이즈 시스템에서는 여러 에이전트가 공유 데이터를 동시에 수정하며 네트워크 타임아웃, 경쟁 조건, 데이터 일관성 문제 등이 발생한다. 이를 해결하기 위해 EnterpriseSim은 PostgreSQL 기반으로 6개 부서의 연결된 데이터베이스 환경을 구축하고, 4개의 배경 워커를 실행하며 SQL 상태를 직접 평가하는 방식을 채택했다. 특히, 53개의 다중 위험 태스크는 실무에서 발생할 수 있는 복잡한 상황을 재현하며, 7개의 런타임 안전 메커니즘을 비교 평가한다.

기술적 접근법

주요 결과

의의 및 한계

EnterpriseSim은 단일 에이전트 중심의 기존 벤치마크와 달리, 복수 에이전트가 공유 데이터를 수정하는 실전 엔터프라이즈 환경을 정확히 모의한 최초의 시스템이다. PostgreSQL 기반의 SQL 직접 평가와 배경 워커를 통한 동시성 테스트는 AI 에이전트의 신뢰성을 평가하는 새로운 기준을 제시한다. 그러나 53개 태스크는 여전히 실제 엔터프라이즈 시스템의 복잡성을 완전히 반영하지 못하며, 일부 시나리오에서는 모델이 반복 루프에 빠지는 문제가 지속된다.

실용적 활용

EnterpriseSim은 클라우드 관리, 재고 시스템, 금융 플랫폼 등 복수 에이전트가 공유 데이터를 수정하는 엔터프라이즈 환경에서 AI 에이전트의 신뢰성을 평가하는 데 활용 가능하다. 또한, 런타임 안전 메커니즘(예: commit gate)의 효과를 비교하는 데 사용될 수 있으며, 실제 시스템에 적용 전의 테스트베드 역할을 할 수 있다.