Get the daily emailDaily email
  1. Home
  2. Research
  3. This story

Study: what decides the damage when an AI agent makes a mistake in a database

A preregistered study asks whether the model, a guard layer or the database engine decides the damage when an AI agent errs against a database. It applied 22 canonical mistakes to four relational engines under different permission and recovery setups, then…

Published Read the original

Ranked #16 of 18 on Sunday, November 29

Study: what decides the damage when an AI agent makes a mistake in a database

Why it matters

If you give agents production database access, recovery features and permissions matter more than which model you pick.

What happened

1 min read

A preregistered study asks whether the model, a guard layer or the database engine decides the damage when an AI agent errs against a database. It applied 22 canonical mistakes to four relational engines under different permission and recovery setups, then ran an agent driven by six small open-weight models across nine engines including PostgreSQL, MongoDB and Kafka in 9,468 trials. The main finding: engines differ less in what a mistake destroys than in what they let you undo.

inscraper analysis

Our analysis

The methodology is unusually transparent: preregistered, every deviation reported, and an honest admission that only three of seven hypotheses held, some by construction. The big caveat is that only small local models (4B-12B) were tested, so frontier agents may behave differently. Post-hoc analyses are exploratory and uncorrected. The practical message for teams wiring agents to databases still stands: design least-privilege access and a tested recovery path first.

More in Research