What Stops a Small Language Model From Driving a Database Agent
Cevheri Bozoglan, Yusuf Gundogdu, Abdullah Kaya, Koray Sirin
Key points
From the paper's conclusion- We also report a confound we believe affects published local-model benchmarks, ours included: with no context cap, one 7.1 GB model was admitted at its full 262,144-token window and held 51 GB on a 64 GB machine, producing runs indistinguishable in any ordinary log from a model timing out.
Abstract
Small open-weight language models are assumed to fail at agentic database work because they lack the reasoning capacity for it. We test that against a production system. Over eleven days we drove the agent mode of an open-source SQL client with 39 open-weight models served locally and one hosted control, across six task surfaces: 8,199 runs, 110,711 ledger events, 14,008 refused tool calls. Of the 2,100 model-attributed agent-mode losses, 1,590, or 75.7%, came from runs that had invoked at least one tool. That majority is what survives resampling models rather than runs: it holds in 99.7% of clustered resamples and in 15 of the 22 models with at least twenty losses. Within it, transport, a run that used the tools and never got a deliverable through, is the largest class at 36.2% and capability, a run that invoked no tool at all, the smallest at 17.3%; we report that ordering as a property of this corpus rather than a general finding, since clustered by model it holds in only 74.5% of resamples. Transport failures decompose into a few mechanical argument shapes. Production ledgers record refusal codes and never the model's arguments, so these were invisible for ten days; capturing them exposed five server defects, one of which demanded a field on one tool, forbade it on the sibling that composed it, then failed the run for its absence. Five server changes, touching no model, prompt or sampling setting, moved six models by 6 to 21 cells out of 30. We also report a confound we believe affects published local-model benchmarks, ours included: with no context cap, one 7.1 GB model was admitted at its full 262,144-token window and held 51 GB on a 64 GB machine, producing runs indistinguishable in any ordinary log from a model timing out. The corpus, the scorer and a verifier that regenerates every figure are released.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Loud Failures, Quiet Failures: Fault Detection and Recovery in Tool-Using Language Model AgentsarXiv · 2026
- Tool-Calling LLM Agents Under Realistic MCP Faults: Scale Does Not Purchase Fault TolerancearXiv · 2026
- When Tools Fail, Agents Fabricate: Silent Failure and Verification-First Oversight in Tool-Using LLM AgentsarXiv · 2026
- Fidelity Collapses with Table Size, Not Turn Count: Delivery Architecture in a Deployed Tool-Using AgentarXiv · 2026
- No Task Fails Every Time: Why One-Shot Audits Are Structurally Blind to Agent DamagearXiv · 2026
- Beyond Leaderboards: A Method for Application-Specific Capability Profiling of Large Language ModelsarXiv · 2026