🛰️ Daily AI Frontier
‹ back to 2026-10-10

HarnessSQL: Harness-Native Training for SQL Agents in Realistic Database Environments

Research LLM Agents

Ranking

Overall 79
Content 95
Popularity 41

Observed public metrics from 1 member.

Representative image for HarnessSQL: Harness-Native Training for SQL Agents in Realistic Database Environments

Merged summary

TL;DR - HarnessSQL trains text-to-SQL agents inside the same stateful execution harness used at deployment, enabling them to inspect schemas, test queries, diagnose failures, and revise solutions. This substantially improves compact models on realistic, long-horizon database tasks.

  • Uses isolated executable databases, hidden execution oracles, and verified teacher trajectories for full-sequence supervised fine-tuning.
  • Adds reinforcement learning with execution-based rewards after supervised post-training.
  • Raises Spider 2.0-SQLite execution accuracy from 15.5% to 45.2% for Qwen3-8B and from 22.2% to 54.8% for Qwen3-14B.
  • Transfers effectively to out-of-distribution interactive benchmarks, including BIRD-Interact and LiveSQLBench.

Sources (1)

HarnessSQL: Harness-Native Training for SQL Agents in Realistic Database Environments

arXiv cs.CL Haolin Yang, Jipeng Zhang, Jian Xie, Shuaishuai Gong, Sirui Han, Yike Guo 2026-10-08 arXiv:2610.12274
Public signals Hugging Face upvotes 0
Providers: Hugging Face · Upvotes 0 OpenAlex · N/A Publisher · N/A Semantic Scholar · N/A X · N/A Fetched 2026-11-09 15:35:40.581579 UTC

TL;DR - HarnessSQL trains text-to-SQL agents inside the same stateful execution harness used at deployment, enabling them to inspect schemas, test queries, diagnose failures, and revise solutions. This substantially improves compact models on realistic, long-horizon database tasks.

  • Uses isolated executable databases, hidden execution oracles, and verified teacher trajectories for full-sequence supervised fine-tuning.
  • Adds reinforcement learning with execution-based rewards after supervised post-training.
  • Raises Spider 2.0-SQLite execution accuracy from 15.5% to 45.2% for Qwen3-8B and from 22.2% to 54.8% for Qwen3-14B.
  • Transfers effectively to out-of-distribution interactive benchmarks, including BIRD-Interact and LiveSQLBench.
item →