Adoption of “AI agents” that handle customer inquiries and refund processing is advancing. Even if the work appears to have been completed as requested, the data behind it is not necessarily in the correct state. For example, if the same refund is executed again after a connection drops midway, the customer receives the money twice.

A team of independent researchers and researchers at the Georgia Institute of Technology built “EnterpriseSim,” a virtual business environment for measuring such failures. Centered on seven AI models, and including additional experiments with other models, they had the AI carry out a total of 3,619 runs and scored the results by the final state of the database[1]. The paper is a preprint published on arXiv on December 1, 2026, and its peer-review status could not be confirmed.

What is the problem?

According to the authors, most agent evaluations so far have used a setting in which a single AI works alone. If it calls the tools and closes the ticket, it passes[1].

In real enterprise systems, other employees and programs rewrite the same data at the same time. Communication timeouts also occur. Even when a timeout response comes back, the operation may in fact have completed, or it may have been rolled back. Even if the request was fulfilled, it is a business failure if the consistency of inventory or accounting records is broken. The authors point out that conventional evaluations cannot measure this kind of failure[1].

A virtual company that imitates real operations

EnterpriseSim is a virtual company built on PostgreSQL, a database management system[1]. Six departments are connected through shared data: customer support, order and sales, inventory, finance, IT operations, and engineering. The AI operates through 95 types of tools.

There are 83 tasks. Thirty are single-incident tasks, one per department type, and 53 are compound tasks that combine two or more hazards. The compound tasks include hidden data discrepancies, cascading failures, long jobs made up of five consecutive requests, malicious instructions hidden in the data, and irreversible operations. Four of them are tasks in which the correct answer is to notice fraud or a legal hold on its own, write nothing, and report to a human[1].

The environment deliberately builds in the kinds of difficulty that arise in real work. The first is timeouts. It is made hard to tell from the speed or size of the response whether the operation completed or was rolled back. The second is four automated programs (workers) for warehouse, finance, system operations, and compliance. They rewrite the same data even while the AI is working[1].

Scoring does not use another AI to judge the quality of the work. It directly examines the final state of the database. There are five conditions for passing: achieving the task goal; obeying eight consistency rules, such as inventory never going negative and refunds never exceeding the limit; having zero duplicate writes; having zero dangerous writes; and finishing normally. The authors also confirmed that every run can be reproduced with the same result from its log[1].

Up to 98% with careful instructions, 65% under realistic conditions

First, the seven models were given the 53 compound tasks under a condition in which procedures are carefully laid out (guided). The pass rate was highest for Gemini 4 Argon at 98.1% (52 of 53 tasks) and lowest for GPT-6 Luna at 47.2% (25 of 53)[1].

Horizontal bar chart showing the pass rates of seven models on the 53 compound tasks, with 95% confidence intervals

Pass rate by model on the 53 compound tasks (guided condition, one run each). Horizontal lines show 95% bootstrap confidence intervals. Created by ScienSeeds based on the values in Table 4 of the original paper.

Source: Created by ScienSeeds

Care is needed in reading the ranking. In an additional experiment in which each task was solved three times, the authors ran statistical tests. The difference between the top two models and the bottom three was clear, but the differences between models ranked next to each other could not be distinguished[1].

Next, the conditions were moved closer to real work. The procedure explanations were removed, and only an ambiguous inbox notification was given. The tools were increased to 51–58 in department-specific consoles, and tools that get things done quickly but are risky shortcuts were mixed in. The authors also added irrelevant distraction tickets, reminders from stakeholders, and real-time rewriting by the four workers[1].

Model Guided Realistic conditions Difference
Gemini 4 Argon 95.0% 65.0% −30.0 points
Gemini 4 Carbon 80.0% 55.0% −25.0 points
Gemini 3.8 Flash 80.0% 70.0% −10.0 points
GPT-6.2 Sol 60.0% 40.0% −20.0 points
GPT-6 Luna 45.0% 30.0% −15.0 points

Pass rates under the condition using 20 extracted tasks (runs without safeguards). The tasks differ from the 53 tasks in the figure above. Created based on the values in Panel A of Section 5.2 of the original paper.

Source: Created by ScienSeeds

Every model dropped by 10–30 points, and Argon, which scored 95.0% when guided, fell to 65.0%[1]. Using Argon, the authors added the conditions one at a time to examine their effects. When the setting was changed to symptom-only notifications and a 55-tool console, the pass rate fell from 95.0% to 80.0% (−15.0 points), which was the largest single factor. In a control condition narrowed to 23 tools, the pass rate fell to 65.0% because the means of reading data were insufficient. At the stage where rewriting by the four workers was added, the number of tool calls rose from an average of 27.6 to 44.5[1].

A patch conflict that even the latest models failed

Among the compound tasks, there is one that all seven models failed. It is a task in which another worker applies a security patch while the agent is rolling back a configuration (CF03). When solved without safeguards, none of the seven models passed[1].

The failure here does not mean that the work was abandoned midway. The requested configuration rollback itself was carried out, and in the process the patch applied by another party was overwritten. The authors counted in a separate execution environment and found that 37 of the 50 dangerous writes (74.0%) broke a lock, a hold, or a payment limit while still satisfying the surface request[1].

Gates work, but concurrent writes also call for database locks

The authors compared seven types of safeguards placed between the AI and the database. They included ones that convey cautions through the prompt, a mechanism that rejects resubmissions of the same request, and a reimplementation of a method proposed in other research. This comparison used Gemini 3.8 Flash and was run on 16 tasks[1].

The best performer was a gate (commit gate) built by the authors, called “B3-Gov.” When the AI tries to write, it inspects the write before it reaches the database. It checks whether the other party's data has changed since the AI read it, whether the AI is touching a configuration locked for security reasons, whether it re-verified the state after a timeout, and whether a refund would exceed the cumulative limit. When it blocks a write, it returns the latest values and information about the relevant locks. The AI can use these as clues to try again[1].

Safeguard Pass rate Pass rate on cascading-failure tasks Dangerous writes
No safeguard (B0) 68.8% 71.4% 1
Short prompt conveying cautions (B1-Concise) 68.8% 85.7% 1
Mechanism rejecting resubmissions (B2) 68.8% 71.4% 1
Gate, no reason returned (B3-Gov-NoHint) 68.8% 71.4% 0
Gate, returns clues for retrying (B3-Gov) 75.0% 100% 0

Comparison with Gemini 3.8 Flash on 16 tasks (5 of the 7 safeguards shown). Created based on the values in the table in Section 5.3 of the original paper.

Source: Created by ScienSeeds

In a separate evaluation, B3-Gov blocked in advance all seven types of dangerous writes by a single agent. The number of legitimate operations it wrongly blocked was 0 out of 13. The time taken for the gate's decision was under 10 milliseconds for 99% of operations, even with 16 clients connected at the same time. On the other hand, throughput fell: in a comparison on conflict-free work, it was about three quarters of that without safeguards (275.7 operations per second versus 375.8)[1].

The limits are also clear. When multiple writers issue refunds at the same time, the total can exceed the limit even if each write is within the limit individually. The authors state that this kind of limit needs to be protected by locks on the database side[1].

The simple mechanism that rejects resubmissions (B2) had a different problem. It stopped all 144 duplicates caused by retries, but it also wrongly rejected 9 of 10 legitimate refunds of the same amount[1].

Finding problems but failing to fix them, and going in circles with long instructions

The authors also analyzed where the models stumble[1].

The first is noticing a problem but being unable to fix it safely. On the 11 tasks involving hidden data discrepancies, GPT-6 Luna found the problem in all 11. It fixed only 5 of them safely (45.5%). Lower-scoring models tended to skip transfers between warehouses, which require multiple steps, and instead rely on a tool that directly rewrites the inventory count.

The second is that a long safety prompt can backfire. Gemma 4 12B passed 88.9% with a short note of cautions. With a long, detailed note, its pass rate fell to 33.3% under a condition capping output at 16,000 tokens (the unit of text that AI processes). This is because it repeated self-checks over and over.

The third is that models differ greatly in deciding whether to hand a task to a human. Argon and Carbon held back from writing on all four tasks where reporting was the correct answer. They made no unnecessary reports on the 49 solvable tasks. GPT-6 Luna missed 2 of the 4 tasks where reporting was correct, and made unnecessary reports on 10 of the 49 solvable tasks (20.4%).

The results also show that all-or-nothing scoring hides partial progress. On the task with five consecutive requests, GPT-6.2 Sol's pass rate is 63.6%, but counted by the completion rate per request, it is 89.1%[1].

What to consider when using agents

The experiments confirmed the following three points. High scores on tests where procedures are given do not carry over unchanged to realistic conditions. When others are operating at the same time, even the latest models can overwrite their work. A gate placed in front of the database could prevent dangerous writes by a single agent without blocking legitimate operations[1].

In the conclusion, the authors propose thinking of safe operation in three layers. Risky writes by a single agent are stopped by an API gate. Limits that span multiple writers are protected by database locks. Diagnosing causes that cross multiple tables and judging when to hand work to a human remain open challenges for the AI's own reasoning and training[1].

However, this study has not yet confirmed whether the same effect would appear in your own systems. The experiments were run on PostgreSQL on a single server, and external services such as payment services are simulated[1]. Before actual deployment, you need to check separately your own data structures, the number of programs running at the same time, and the drop in throughput you can tolerate.

Implementation guide

  • Tasks and metric: 83 tasks imitating real operations (30 single-incident, 53 compound). The metric is Strict Safe Pass (the share of runs that satisfy all of: the task goal, the eight consistency rules, zero duplicate writes, zero dangerous writes, and normal termination). Sections 3 and 4, Tables 2 and 3 of the original paper.
  • Comparisons: guided versus realistic conditions (Section 5.2), and seven runtime safeguards (Section 5.3, Table 9).
  • Code: the simulator, the 83 tasks, the safeguards, and the connection components for reinforcement learning are published on GitHub (check the repository for the license)[2]. The 12-task stress test is not public. According to the repository, of the 83 tasks, 26 are freely usable for development, and the remaining 57 are protected evaluation tasks. The terms of use for the protected tasks are unconfirmed.
  • Required environment: the paper says it is provided as a Python 3.12 package. Check the repository for the PostgreSQL version and startup procedure[2]. The paper's evaluation was run on a single 14-core Apple Silicon machine with 48 GB of memory (Table 10).
  • Required cost and labor: API costs for commercial models and working time are unconfirmed.
  • Evaluation settings: local Qwen models were run with temperature 0.0 and a 32k context length, and cloud models with low reasoning effort. Guided runs used 24–32 turns, realistic-condition runs used 40 turns, with up to 8 tool calls per turn (Section 4).

Conditions and limitations

  • The experiments were run on PostgreSQL on a single server, and external boundaries are simulated. They were not verified on distributed databases or real external services (limitation stated by the authors).
  • Improvement through reinforcement learning is left for future work, and confirmation is limited to a check that it runs on a single GPU (limitation stated by the authors).
  • The comparison of realistic conditions and the comparison of safeguards are small in scale, with 16–20 tasks per condition. The safeguard comparison was run on one model, Gemini 3.8 Flash.
  • Differences between models ranked next to each other could not be statistically distinguished.
  • The models evaluated follow the names given in the paper. Results may change with future version updates.
  • The paper is an arXiv preprint, and its peer-review status could not be confirmed.

Sources

  1. Dolly Sah, Tanmay Sah, Harshul Jain, Tanya Sah, Saroj Pradhan "EnterpriseSim: A Transactional Gym and Benchmark for AI Agent Reliability" arXiv:2612.01881v1 (December 1, 2026)
  2. EnterpriseSim GitHub repository