
I Built an Open-Source Gauntlet to Benchmark AI Agents and Decide Which to Trust With Your Data
Every data platform now ships agents, skills and MCP servers, but nobody can tell you which AI agent to trust with your warehouse. Day 1 of an open-source project to change that: a neutral decider that runs real tasks, lets the platform grade the agent, and tracks correctness, failed queries, cost and tokens. It starts with Amazon Redshift and aims at warehouses and lakehouses. Run it on your own account.
Series: The Data Agent Gauntlet (1 article)
- 1I Built an Open-Source Gauntlet to Benchmark AI Agents and Decide Which to Trust With Your Data This article
Within about a year, "let an AI agent work on the warehouse" went from a demo to a product roadmap item. AWS shipped an Agent Toolkit with plugins for coding agents in May 2026, and added Amazon Redshift skills to it in August. Warehouse vendors publish MCP servers so agents can query their data. The tooling arrived fast. The question every data team will ask next did not get an answer: which agent can I actually trust with my platform?
Today that answer comes from a vendor slide, a demo on a clean dataset, or one engineer's afternoon. I'm building an open-source project to give teams something better: evidence they can reproduce on their own account. This is Day 1.

Why this gap exists
Three public facts, taken together, explain why choosing an agent is harder than it looks.
The agent ecosystem is moving into data platforms. AWS announced the Agent Toolkit for AWS in May 2026, with plugins that help coding agents build on AWS. In August it integrated Amazon Redshift , where installing the
aws-data-analytics plugin sets up both the MCP server configuration and the Redshift skills. AWS has also published a ChatGPT Work plugin built on the same Redshift skills . Other warehouse vendors are on the same path: according to industry guides, BigQuery, Databricks and Snowflake each offer MCP server support .
Realistic data work is hard for agents. The Spider 2.0 research benchmark was built from real enterprise text-to-SQL workflows across BigQuery, Snowflake and SQLite, and its published results showed a large gap between tidy benchmarks and enterprise work: at release, the best system it reported solved roughly a fifth of the tasks, against about 91% for the same model on the earlier, simpler Spider 1.0. Models have improved since, so don't read that as today's number. Read it as the shape of the problem: the distance between a clean benchmark and your messy warehouse is large.
General benchmarks don't answer a platform question. A benchmark can tell you an agent is strong at writing SQL in general. It can't tell you whether that agent handles your platform's dialect, system views, permissions and guardrails, or what it costs you when it gets them wrong.
That last gap is the one this project targets.
What I'm building
A neutral, open-source decider for AI agents on data platforms. Four principles shape it:
- The platform decides, not the agent. The agent never grades itself. After each task, the harness runs its own checks against the platform: result sets against a reference query, catalog state, objects in storage.
- Measure what the platform received. The harness reads the statements the agent actually sent, from the platform's query history. A correct answer after several failed attempts is not the same as a clean one, and you should be able to see the difference.
- Cost belongs in the verdict. Agents are billed by tokens. An agent that needs many retries to reach the right answer costs more than one that gets it right first time, so the aim is to report cost per passed task and tokens per task next to correctness, not just a pass rate.
- Repeatable and yours. Anyone runs it on their own account, with their own agent. The result is evidence you can reproduce, not a claim to take on trust.
The intended output is a verdict: which agent to trust, on which platform, for which kind of job. That's the goal. Today the verdict is the scorecard you read yourself.
What exists on Day 1
The first working version is
data-agent-gauntlet (CLI: dagt ), Apache-2.0, at github.com/geodelab/data-agent-gauntlet .Piece | What it does |
|---|---|
Real tasks | Query, schema design, loading, troubleshooting and optimization tasks on Amazon Redshift Serverless, using the public TICKIT sample dataset |
Objective checks | Result sets compared with a reference query, catalog state, S3 objects. The harness runs them |
Two arms | baseline (no plugin) and skills (for example, aws-data-analytics installed), so you can measure whether skills help |
Habit detection | Flags PostgreSQL habits that don't work on Redshift: string_agg , CREATE INDEX , SERIAL , stl_ / stv_ views and more |
Failed-query tracking | Reads the agent's statements from sys_query_history |
Safe sandbox | A CloudFormation stack, an agent IAM role scoped to one workgroup and one bucket, a daily compute cap and one-command teardown |
A task is a small YAML file:
id: query-listagg-venuescategory: queryprompt: | For every city in bench.venue, return the city and a single string listing all of its venue names (every venue row, including duplicates), sorted alphabetically and separated by a comma followed by a space (", "). Return one row per city: venuecity, venues. Order the result by venuecity.checks:- type: result_match ordered: true reference_sql: | SELECT venuecity, LISTAGG(venuename, ', ') WITHIN GROUP (ORDER BY venuename) FROM bench.venue GROUP BY venuecity ORDER BY venuecityThe prompt never says "use LISTAGG". A PostgreSQL-minded agent reaches for
STRING_AGG , and the habit detector records it.
The first lesson: benchmark the benchmark
Before I trusted any result, I ran the harness against a real agent and read every failure. Several were mine, not the agent's: a check that queried a column that doesn't exist, a prompt that allowed two valid readings, and a tolerance too tight for how approximate counting behaves on small groups. I fixed all three before relying on a single number.
If you build or run an agent benchmark, read the failing checks before you blame the agent. A benchmark nobody has tried to break is a measurement of its author's assumptions.
Who it's for
- Data teams choosing an agent. See how an agent behaves on your platform, with your permissions, before you roll it out.
- Platform and skills authors. Test whether a skill or MCP server changes agent behaviour, and get concrete failing cases to fix. The Agent Toolkit for AWS takes issues on GitHub, so findings can reach the people who own the fix.
- Agent builders. A repeatable way to see where your agent trips on real data work.
- Consultants and architects. Evidence for a customer conversation about which agent fits which platform.
Where it's going

Only the first column exists. The other two are plans, and the order may change as I learn. The next step is the first with-and-without-skills comparison, with enough repeats to show the spread. After that: more agents, more platforms, and a clear verdict instead of a scorecard.
What this isn't, yet
- Not a leaderboard. I'm not claiming which agent is best. One platform and one tested agent isn't enough to rank anyone.
- Not a statistics paper. Agents vary from run to run. Early runs use few repeats, so treat small differences as noise until the repeats are in.
- Not tune-proof. Once a benchmark matters, people tune to it. Hidden task variants and regular refreshes are on the roadmap for that reason.
- Not a training system. It doesn't train models. It produces evidence, such as failing statements and traces, that agent and skill authors can learn from.
- Sandbox effects are real. A scoped sandbox role can turn a reasonable query into a counted failure, for example when it can't read a valid system view. I'm treating that as a harness problem to fix.
Try it on Day 1
Use a sandbox AWS account.
git clone https://github.com/geodelab/data-agent-gauntlet && cd data-agent-gauntletpython -m venv .venv && source .venv/bin/activatepip install -e ".[dev]"
dagt validate # offline check of the task filesdagt setup --region us-east-1 --profile <sandbox-admin-profile>dagt doctordagt run --arm baseline --run-id main# optional: install the aws-data-analytics plugin, thendagt run --arm skills --run-id maindagt report results/maindagt teardownA few things I hit setting this up, so you don't have to:
- No default VPC. Redshift Serverless needs one, or explicit subnets in at least three Availability Zones.
dagt setuptakes--subnet-idsfor accounts that don't have a default VPC.
- Expired credentials. If you use IAM Identity Center or assumed-role credentials, refresh them before a run. Run
dagt doctorfirst.
- Plugin order. The baseline arm must run with the plugin not installed, so run baseline first.
- Teardown. The stack costs next to nothing while idle, but run
dagt teardownwhen you're done.
How to help
Run it on your platform and share your
summary.md as a GitHub issue. Add tasks. Tell me which agent or data platform you want next. If you find a failing check that looks wrong, that's the most valuable report of all.
AWS services referenced
Amazon Redshift Serverless, Amazon Redshift Data API, AWS CloudFormation, AWS Identity and Access Management (IAM), AWS Security Token Service (STS), AWS Secrets Manager, Amazon S3.
Sources
- Announcing Agent Toolkit for AWS (AWS, May 2026)
- Amazon Redshift integrates with Agent Toolkit for AWS (AWS, August 2026)
- Bring Amazon Redshift analytics to ChatGPT Work (AWS Big Data Blog)
Ganesh Kumar P — Solutions Architect, Aivar Innovations | AWS Certified Solutions Architect – Professional | AWS Certified Data Analytics – Specialty
Series: The Data Agent Gauntlet (1 article)
- 1I Built an Open-Source Gauntlet to Benchmark AI Agents and Decide Which to Trust With Your Data This article
Enjoyed reading this content? Let the author know!
Your likes, comments, shares, and saves help creators reach more builders.
Loading recommendations
Loading article