Reproduce “HarnessSQL: Harness-Native Training for SQL Agents in Realistic Database Environments” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Haolin Yang, Jipeng Zhang, Zhiqiang Qian, Jian Xie, Shuaishuai Gong, Yike Guo, Sirui Han

HarnessSQL trains SQL agents to inspect databases, execute queries, respond to errors, revise, and submit through a fixed tool interface. It uses verified interaction trajectories for supervised fine-tuning (SFT) followed by reinforcement learning (RL) in the same harness. On 135-task Spider 2.0-SQLite, Qwen3-8B reaches 45.2% execution accuracy, up from 15.5% at base; matched-inference comparisons also favor harness-native training, with evidence focused on SQLite.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.