Paritosh Singh

Case study · P/03 · Agent CI · AWS Bedrock

Agent ReplayRegression tests for AI agents, judged by set logic

Your agent writes its own behavioural contract by running. You review that contract in a pull request like code, and the build fails when a later run breaks it. No rubric and no LLM-as-judge: a verdict is exact set logic over recorded tool calls. Built at the WeMakeDevs × AWS hackathon.

Read the code ↗
pytest tests keep verdicts reproducible
339
recorded runs derive the contract
5
long-lived AWS keys in CI
0

The problem

Agents regress silently. A prompt tweak or a model update can make an agent skip a check it used to make, and an LLM grading another LLM will not reliably notice. I wanted a regression test that is exact, cheap and reviewable in a normal pull request.

How it works

=== vulnerable-dependency: FAIL ===
first divergence: step 6  MISSING_STEP  check_vulnerabilities

The diff a reviewer sees for that regression is a few removed requires lines in the contract, not a trace dump.

Engineering decisions

Every pull request is gated on the contract through a GitHub Actions workflow that assumes an AWS role via OIDC, so there are zero long-lived AWS keys in the repository or its secrets.

The serverless backend runs on AWS Lambda, DynamoDB and S3, and 339 pytest tests cover contract derivation, the comparator and the forbidden-call rules so that a verdict is reproducible from the contract file and the run's own trace.

Stack

More projects

All projects →