A data-agent team says hardcoded capabilities made its LLM worse at complex queries
Tired40s · reddit · 2026-07-23
A team built an LLM data agent for Excel-style questions and found that a simple ReAct loop in V1 handled complex queries better than a heavily decomposed V2.
What went wrong in V2
- They split the system into many hardcoded capabilities such as rowcount, columnlist, and filteredranking.
- Each capability had its own parsing, retry, and escalation logic, plus stacked review loops.
- The result was a patchwork of narrow rules that did not share state, so modules re-asked users for information already confirmed elsewhere.
- Some deterministic modules also silently produced wrong computations, and the guardrails only checked grounding, not logic correctness.
The takeaway
The authors think the real failure was removing the model’s feedback loop: once the decision tree is pre-baked, complexity stops scaling and only accumulates.
Current redesign
They are moving back toward:
- a small set of general tools: schema lookup, query, calculate, ask-user
- a mandatory self-verification step before the final answer
They also ask for real-world patterns on structured params vs free-form SQL, and for techniques that catch logic errors, not just hallucinations.
More from coding & agent
- Memory is becoming the biggest upgrade for AI agents, according to one builder — vaibhavbetter · 2026-07-23
- Codex is being prepped as a phone-controlled voice assistant with worker agents — imjustnewatai · 2026-07-23
- Devin’s “unsolved problems” claim gets mocked as just Fable plus a few backend calls — basedjensen · 2026-07-23
- MCP OAuth boils down to three primitives: discovery, dynamic registration, and grant — lordVader1138 · 2026-07-23
- Supabase says AI coding agents have made it the backend for millions of apps — ycombinator · 2026-07-23
- Duke study says better memory, not a bigger model, lifted ARC-AGI-3 scores by 18 points — imjustnewatai · 2026-07-23