A collection of production-ready AI agents for cloud operations — built on AWS Bedrock with proper security guardrails. Each agent is self-contained, scoped to a specific operations domain, and follows the same safe-by-default architecture.
Not toy demos. Every agent has: least-privilege IAM, an audit trail (DynamoDB), a kill switch (SSM Parameter), Bedrock Guardrails (content filtering + topic blocking), and read-only defaults. Write actions require explicit human approval.
| Agent | Domain | What it does |
|---|---|---|
devops |
Infrastructure Ops | Check deployments, query logs, describe resources |
cost |
FinOps | Analyze spend, detect anomalies, recommend savings |
security |
Security Ops | Triage Security Hub findings, analyze GuardDuty alerts |
incident |
SRE / Incident Response | Triage CloudWatch alarms, gather context, draft runbook |
iac-review |
IaC Safety | Review Terraform plans, flag risky changes before apply |
All agents follow the same pattern:
User → API Gateway → Orchestrator Lambda → Bedrock Agent (Claude 3)
↓
Tool Lambdas (domain-specific)
↓
DynamoDB audit + CloudTrail
Shared modules (in shared/) provide reusable Terraform for:
audit-table/— DynamoDB table for agent action loggingguardrails/— base Bedrock Guardrail configurationiam-base/— common IAM patterns (read-only tool role, agent role)
| Layer | Control |
|---|---|
| IAM | Read-only by default; write via a separate approval-gated role |
| Bedrock Guardrails | Block prompt injection, off-topic, and bypass attempts |
| Approval gate | Destructive actions pause for human confirmation |
| Audit log | Every invocation + tool call → DynamoDB + CloudTrail |
| Kill switch | SSM parameter → instantly disable any agent |
- Triage and diagnosis (read, analyze, suggest — the agent thinks, the human acts)
- Off-hours first response (agent gathers context; on-call engineer approves with one click)
- Onboarding (new team members ask natural-language questions about the infra)
- Routine sweeps (scheduled "is anything unhealthy / overspending / exposed?")
- Without guardrails deployed (an ungated agent is an unaudited root user)
- As a replacement for understanding (you must be able to verify its answers)
- In automated tight loops (each Bedrock call costs ~$0.003–0.01; loops get expensive)
- For compliance sign-off (the agent assists; a human signs)
The devops agent has full Terraform ready to deploy. The remaining agents (cost, security, incident, iac-review) include their Lambda code and documentation; Terraform for those is planned.
cd agents/devops/terraform
terraform init
terraform plan -var="region=us-east-1"
terraform apply| Resource | ~Monthly |
|---|---|
| Bedrock (Claude 3 Haiku, ~100 calls/day) | $3–5 |
| Lambda | ~$0 (free tier) |
| DynamoDB | ~$0 (free tier) |
| API Gateway | ~$0 (free tier) |
| Total | ~$4–6/agent |
aws-devops-agent/
├── README.md ← this file
├── shared/ ← reusable Terraform modules
│ ├── audit-table/
│ ├── guardrails/
│ └── iam-base/
├── agents/
│ ├── devops/ ← infrastructure operations
│ ├── cost/ ← FinOps / cost analysis
│ ├── security/ ← Security Hub / GuardDuty triage
│ ├── incident/ ← alarm triage + context
│ └── iac-review/ ← Terraform plan review
└── docs/
├── ARCHITECTURE.md
├── SECURITY.md
└── WHEN-TO-USE.md
MIT