Agent Mode in the DuckDB CLI

DuckDB tested its CLI agent mode with Claude Code on 22 TPC-H questions using a scale-factor-100 dataset, with each question run three times with and without agent mode. All 132 runs returned correct answers. Agent mode reduced the output Claude read from 123.6k to 50.8k tokens, but the saved output amounted to about 0.5% of total input, so it did not reduce overall cost or runtime; agent-mode runs also took 237 turns versus 224.

AI-written summary, checked against the cited sources. How summaries work

Image: DuckDB

Read at DuckDB