Skip to content
NewA calmer, faster ZeroHour

Study tests what limits damage when AI agents err on databases

Original title: When an AI agent makes a mistake in a database, what decides the damage?

Hugging Face daily papersby Abdullah Kaya, Cevheri Bozoglan, Yusuf Gundogdu ()1 min read3
AI summary · x-ai/grok-4.7Summaries by Vani AI

Layer B ran 9,468 trials with small open-weight models across nine engines, plus 2,916 more.

A preregistered study asks whether the model, a guard, or the database engine decides the damage when an AI agent issues a mistaken statement. Layer A replays 22 scripted mistakes on four relational engines under permission and recovery arms. Layer B uses a minimal tool-calling agent and six small open-weight models, 4B to 12B plus one 35B mixture-of-experts model, on nine engines. Three of seven preregistered hypotheses met their decision rule; post-hoc analyses are exploratory.

Unconfirmed: Post-hoc analyses S1-S13 are exploratory and uncorrected, and some engine outcomes disagree by measure.

Key facts
  • Layer A has 792 cells and 874 recovery-drill runs, including 10-minute repeats.
  • Core engines include PostgreSQL, MySQL, SQLite, ClickHouse, Cassandra, MongoDB, Valkey, Kafka, and OpenSearch.
  • A secondary run added MariaDB, Redis, and Elasticsearch, 2,916 trials.
  • H5 was uninformative because agents never found the credential in that task.
Explain this AI news with Vani AIWhat was announced, what is new and why it matters, in a new chat

From the original article

1 min read at huggingface.co

AI agents now run statements against production databases, and several of the incidents that followed deleted production data, which came back only through backups or the provider's help. We ask what decides the damage when such an agent makes a mistake: the model, a guard layer in front of the database, or the database engine itself. The study has two preregistered layers.

Hugging Face daily papers

By Abdullah Kaya, Cevheri Bozoglan, Yusuf Gundogdu · huggingface.co

Read the full article at Hugging Face daily papers

A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.