Vercel removes 80% of agent tools and achieves 100% success rate with file system agent
Vercel's internal text-to-SQL agent (d0) was built with many specialized tools, heavy prompt engineering, and complex context management that made it fragile, slow, and expensive to maintain, achieving only an 80% success rate.
The original multi-tool architecture constrained the model's reasoning by pre-filtering context and wrapping every interaction in validation logic. Its worst-case query took 724 seconds, 100 steps, and 145,463 tokens before failing.
The file system agent achieved 100% success rate (up from 80%), ran 3.5x faster, and used 37% fewer tokens, with the same previously failing query completing in 141 seconds with 19 steps and 67,483 tokens.
Show all 10 reported metrics
Frequently asked questions
What did this team achieve with this AI workflow?
The file system agent achieved 100% success rate (up from 80%), ran 3.5x faster, and used 37% fewer tokens, with the same previously failing query completing in 141 seconds with 19 steps and 67,483 tokens.
What tools did this team use?
Claude Opus 4.5, AI SDK, Next.js, Vercel Slack Bolt, Cube, Slack.
What results were reported?
Query success rate (new architecture): 100%; Query success rate (old architecture): 80%; Response speed improvement: 3.5x faster; Token reduction: 37% fewer tokens (source-reported, not independently verified).
What failed first in this deployment?
The original multi-tool architecture constrained the model's reasoning by pre-filtering context and wrapping every interaction in validation logic.
How is this back office ops AI workflow structured?
Natural language question submitted → Semantic layer file exploration → SQL query execution.