AWS releases aws-bench to test AI agents on real cloud tasks
· Do Minh Tuan · Developer Corner 💻
AWS has released aws-bench, an open-source benchmarking framework for evaluating AI agents on actual cloud work, not on multiple-choice questions about the cloud. The tasks run against real AWS resources, in disposable sandbox accounts, with automated checks deciding whether the agent solved the problem.
The timing makes sense to me. Agents are moving from writing code snippets to touching live infrastructure, and the question underneath the enthusiasm is whether we can trust one to fix a broken server without taking down the account.
Right now nobody has a good answer, because most benchmarks measure the wrong thing. A model can recite the command that fixes a security group and still fail completely when it has to find the right group, check what else depends on it, make the change, and confirm the system came back healthy.
Why the old tests do not transfer
The benchmark report lands in front of a CTO, someone reads that model X scores well on cloud tasks, and a decision gets made. That number usually comes from a static test. The model sees a tidy question and picks the tidiest answer.
Live operations look nothing like that. The agent has to query APIs, read a messy topology, decide what is safe to change, and then verify its own work. Each of those steps is a chance to be confidently wrong, and confidence is exactly what these models are good at.
This is why I care about where the test runs more than what the leaderboard says afterward.
What aws-bench actually does
AWS spins up real infrastructure inside sandbox accounts. The framing in the announcement is a flight simulator, and it is a fair comparison: real controls, real turbulence, no damage if the pilot crashes.
Agents get tasks around troubleshooting misconfigurations, working with IAM security policies, and provisioning infrastructure on demand. IAM is the one that raises my eyebrows, because identity policy work is where small mistakes have wide consequences and where the correct answer is often 'that change should not be made.'
Instead of grading prose, aws-bench runs automated verifiers against the live account. The agent can write a beautiful explanation of what it did and still fail if the bucket policy is still public or the instance is still unreachable. That is the right shape for a test, and it is the part I would look at first if I were evaluating the tool. A benchmark is only as good as its grader. If the verifier checks the wrong thing, you get a clean score and a false sense of safety.
It is open source and designed to be extended, so teams can add scenarios that match their own mess: the legacy VPC, the half-migrated account, the tagging scheme that only one person understands.
What I am skeptical about
A benchmark in a sandbox is still a benchmark. It tells you how an agent behaves on the scenarios someone chose to include. That is a real improvement over a quiz, and it is not the same as knowing how the agent behaves on your infrastructure with your naming, your exceptions, and your one service nobody dares touch.
I would also want to know the cost of running an evaluation. Real accounts mean real spend, even if it is small per run. A suite you can only afford to run once a quarter will not shape day-to-day engineering decisions.
And there is the usual problem with any public benchmark: once it is famous, it becomes a target. My bet is that vendors will tune for the scenarios that get published. The answer is to write your own tasks on top of it, and to keep a few you never publish.
Whatever benchmark you use, the operational habits matter more than the score.
Do not hand an agent long-lived root credentials. Use temporary session tokens from AWS STS and give the agent only the permissions the task needs. And wrap its tool calls so retries cannot duplicate work. If a network timeout makes the agent call a create-instance action three times, you want one instance, not three. That is a small engineering decision that separates a useful agent from an expensive surprise.
I would add one more: run agents in an account that contains nothing you would miss. The announcement's sandbox model is worth copying internally before you let anything near production.
For a founder, the useful part is that 'our agent can handle cloud maintenance' is now a claim you can ask a vendor to prove, in an environment, with checks you can inspect.
That matters in outsourcing conversations too. If a partner tells you their AI tooling reduces operations work, the follow-up question is which tasks, verified how, and what happens when the agent is wrong. Teams that can answer with a scenario list and a verifier are in a different league from teams that answer with a demo.
I would not automate tier-one operations on the strength of a benchmark alone. I would use it to narrow the field, then run a small pilot on infrastructure where a mistake is recoverable, and watch what the agent does when the task is impossible. An agent that says 'I cannot safely fix this' is worth more to me than one with a better score.
What I am watching next
The thing I am watching next is whether the scenario library grows past the clean cases. The interesting tests are the ones where the right move is to stop, ask, or roll back. If aws-bench ends up measuring only successful fixes, it will reward agents that bulldoze through ambiguity, and that is the last behavior I want in production.
Written with AI assistance, reviewed and edited by Do Minh Tuan.