DuckDB v2.0 CLI agent mode cuts agent-read tokens by 59% on TPC-H benchmarks
josh_wills · x · 2026-10-10
DuckDB v2.0 CLI ships an agent mode that optimizes terminal output for AI coding agents: compact Markdown tables, explicit truncation notices, early aborts of runaway queries, JSON error reporting, and upfront cost announcements for long queries. Claude Code answered all 22 TPC-H questions correctly across 132 runs, with tokens read dropping from 123.6k to 50.8k (-59%). Net cost savings were only 0.5% since each turn re-reads a large system prompt, and runs took slightly more turns (237 vs 224).
More from coding & agent
- Anchor Browser lands in Hermes Agent: cloud browser handles logins without pasting passwords — ghumare64 · 2026-12-02
- Developer uses Neon to fix the weirdest bugs Opus left in centrifuge controllers — jonathanberte · 2026-12-02
- NVIDIA launches Nemotron 4, built for long-running coding agents that work for days — nvidia · 2026-12-02
- Solo filmmaker makes 3.5-min AI short film: 21 shots with Midjourney, Seedance 2.5 and ElevenLabs — DavidmComfort · 2026-12-02
- Claude Code + ARIA via MCP: debugging agent evals from 4/12 to 9/12 — CoreWeaveDevs · 2026-12-02
- GitHub Copilot Fusion Max reportedly tops Terminal-Bench at 71.2% while undercutting rivals — DanWahlin · 2026-12-02