Case study · Agentic cloud infrastructure

DevOps and Cloud Engineering

20 tasks, 19 built end to end and 1 peer review, each a broken system that looks like a live company setup, on a local copy of AWS. The agent has to design, deploy with Terraform, fix the incident without losing data and tear down cleanly. In most final rounds, no model run passed.

  • Terraform
  • PostgreSQL
  • ClickHouse
  • NATS JetStream
Results at a glance
Tested against Claude Opus, Claude Sonnet, GPT Sol and GPT Astra
tasks, 19 built end to end and 1 peer review
20
panel runs passed in most of the final rounds
0 / 6
data and messaging systems in play
6
stages per task: design, deploy, fix and tear down
4
Client
An AI lab, through an AI data platform
Our role
Writer & reviewer
Focus
Incident response, Data safety, Hidden checker
01
The client

An AI lab, through an AI data platform

We built this work for an AI lab, through the data platform it uses to source expert tasks. Our engineers took part in every stage, from designing and writing tasks to reviewing them and making sure they hold up against the strongest models. The lab wanted to see how an agent behaves on broken infrastructure, where a fix that looks right but loses data is worse than no fix at all.

We work under NDA, so the client, the platform and the project's internal name are not shown. The numbers and the sample below are published with that in mind.

02
What we built

Agentic DevOps and incident tasks

Companies are starting to let AI agents work on real infrastructure, so AI labs need to know how an agent behaves when a live system is broken. Here the agent gets a broken system that looks like a live company setup, running on a local copy of AWS, and a hidden checker grades the result.

  • A realistic broken system

    A company-style setup on emulated AWS: container services, access management, storage, load balancers and schedulers.

  • A real investigation

    The agent has to investigate the running system to work out what went wrong.

  • Terraform from start to finish

    Design the infrastructure, deploy it, fix the incident and tear everything down cleanly.

  • A hidden checker

    A verifier, separate from the reference solution, that grades the end state of the system.

In production, a fix that looks right but loses data is worse than no fix at all. These tasks check the end state of the system, not just the code the agent writes.
Why it matters
03
How we validated it

Every task had to pass these checks

  1. Every deduction maps to a rule

    The checker only deducts for something the written rules say, so a grade can always be explained.

  2. Known-bad solutions

    We wrote a bad solution for every check to prove it catches the mistake.

  3. Valid alternatives replayed

    Different correct designs were replayed to make sure the checker never fails a correct answer.

  4. Every failure trace-reviewed

    We read every AI attempt after each round. A failed run counted only after a reviewer traced it to a real agent mistake, and when models passed too often we released a harder version.

How the tasks were tested

Models tested
A panel of Claude Opus, Claude Sonnet and GPT Sol, plus GPT Astra.
Attempts per task
Several runs per round, repeated on every new version of the task.
Independent sessions
Each run was a separate attempt, graded on its own.
Pass bar
The reference solution had to pass every round, while the model panel had to fail almost every run. Most final rounds ended with 0 of 6 passing.
04
The numbers

Systems used

20
tasks, 19 built end to end and 1 peer review
0 / 6
panel runs passed in most of the final rounds
6
data and messaging systems in play
Databases
ClickHouse, PostgreSQL with logical replication, rqlite and CouchDB.
Messaging
NATS JetStream and RabbitMQ quorum queues.
Cloud
Emulated AWS services such as ECS, IAM, S3, load balancers and schedulers.
Infrastructure as code
Terraform, from design and deployment through to a clean teardown.
  • Systems in play: ClickHouse, PostgreSQL with logical replication, NATS JetStream, RabbitMQ quorum queues, rqlite and CouchDB.
  • The peer-reviewed task went through 5 review rounds with its author.
  • Tasks went through several versions, each followed by a full trace review.
05
Sample task

Bring the orders service back

A simplified example for illustration. It is not a task from the client’s set.

incident.md
The orders service stopped accepting new orders after last night’s deploy. Using Terraform, restore the service without losing any existing orders, then tear down anything you created.
Setup
A local emulated copy of AWS running a small company-style system.
Why models get it wrong
In production, a fix that looks right but loses data is worse than no fix at all, so the agent has to be careful as well as quick.
How it is graded
  • A hidden verifier checks the final state of the system, not the code the agent wrote.
  • Every check was tested against a known-bad solution, and valid alternative designs were replayed.
  • Each failed run was trace-reviewed before it counted.
06
What we learned

What the project taught us

  1. 01
    Investigation is the real test

    Working out what went wrong matters as much as the fix itself.

  2. 02
    Harden fairly

    Harder versions have to stay fair to the agent. Every new version got a full trace review.

  3. 03
    Test the grader from both sides

    Known-bad solutions prove the checker catches mistakes; replayed alternatives prove it never fails a correct design.

Work with us

Need infrastructure tasks that test real incident response?

We build DevOps and cloud tasks on emulated infrastructure with fair hidden checkers, known-bad solutions and trace-reviewed failures.

Talk to our teamSee all AI training work