cd /news/artificial-intelligence/teaching-an-ai-agent-to-roast-my-aws… · home › topics › artificial-intelligence › article
[ARTICLE · art-182320] src=builder.aws.com ↗ pub= topic=artificial-intelligence verified=true sentiment=↑ positive

Teaching an AI Agent to Roast My AWS Architecture (So Production Doesn't)

A cloud engineer built an AI architecture reviewer on Amazon Bedrock that ingests architecture screenshots or CloudFormation/Terraform templates via an S3 event notification and Lambda, then passes them to a multimodal foundation model such as Anthropic Claude or Amazon Nova through the Bedrock Converse API with structured output enabled. The agent returns jokes alongside a serious JSON checklist mapped to the AWS Well-Architected Framework pillars of Security, Reliability and Cost Optimization, aiming to surface problems before production rather than at a 3 AM pager alert.

recommendation

Constrain the persona and force structured JSON output mapped to the Well-Architected pillars; an unconstrained 'be funny' prompt only yields dad jokes instead of usable remediation.

more in playbook: Designing agent systems
by read2 min views1 publishedDec 5, 2026
Teaching an AI Agent to Roast My AWS Architecture (So Production Doesn't)
Image: Builder (auto-discovered)

Teaching an AI Agent to Roast My AWS Architecture (So Production Doesn't)

Teaching an AI Agent to Roast My AWS Architecture (So Production Doesn't)

Why wait for a 3 AM pager alert to discover your cloud setup is held together by hope and duct tape? Learn how to build a brutally honest, rubber-duck-debugging AI architecture reviewer using Amazon Bedrock.

Every cloud engineer has that one architecture diagram they’re quietly proud of—and terrified to show during a Well-Architect Review. Mine involved three AWS Lambda functions playing hot potato with an Amazon SQS queue, an Amazon DynamoDB table with a partition key that aged like milk, and IAM permissions generously set to "Resource": "*" "just for testing."

Instead of waiting for my AWS bill (or my tech lead) to humble me, I decided to build an AI agent on Amazon Bedrock whose sole purpose is to roast my architecture before it hits production.

The Premise: Rubber Duck Debugging, But the Duck Talks Back

Traditional rubber duck debugging relies on you explaining your code to an inanimate object until you spot your own mistake. The problem? Rubber ducks are far too polite.

By pairing a multi modal foundation model (like Anthropic Claude or Amazon Nova) with a cheeky system prompt, you can turn an architecture diagram—or a Cloud Formation/Terraform template—into a ruthless code review session.

How the "Cloud Gordon Ramsay" Architecture Works

Input Ingestion: Drop an architecture screenshot or IaC template (template.yaml) into an Amazon S3 bucket.

Trigger: An S3 Event Notification invokes an AWS Lambda function.

The Roast Engine: Lambda passes the diagram image and template to Amazon Bedrock (Converse API) with structured output enabled.

Actionable Fix: Alongside the jokes, the model outputs a serious JSON checklist mapped to the AWS Well-Architected Framework pillars (Security, Reliability, Cost Optimization).

The Secret Sauce: System Prompting for Humor + Utility

If you just ask an LLM to "be funny," you’ll get cheesy dad jokes. To get sharp, genuinely useful feedback, constrain the persona and force structured remediation:

── more in #artificial-intelligence 4 stories · sorted by recency
── more on @amazon bedrock 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/teaching-an-ai-agent…] indexed:0 read:2min 2026-12-05 · —