AWS DevOps Agent: What It Is, When to Use It, and How
At re:Invent 2025, AWS introduced a new class of what it calls "frontier agents" — autonomous systems aimed at whole jobs rather than single prompts. One of the most practical is the AWS DevOps Agent: an always-on SRE that investigates incidents the moment they fire, correlates telemetry with code and deployments to find root cause, proposes a mitigation plan, and then recommends the changes that stop the incident from recurring. It went to public preview in December 2025 and reached general availability in April 2026. Here's a clear-eyed look at what it is, why you'd want it, the scenarios it fits, and how it actually works.
What it is
AWS DevOps Agent is a managed service that "resolves and proactively prevents incidents, continuously improving reliability and performance." In plainer terms, it behaves like an experienced on-call DevOps engineer that never sleeps. When an alert or support ticket comes in, it starts investigating immediately — querying your metrics, logs, traces, deployment history, and CI/CD pipelines in parallel — and produces a root-cause narrative plus a concrete, step-by-step mitigation plan.
It is built on Amazon Bedrock AgentCore (AWS's runtime for production agents) and is designed to work across multicloud and hybrid environments, not just native AWS resources. Crucially, it is not a chatbot bolted onto CloudWatch: it builds a live model of your system — a topology of resources and their relationships — and reasons over that model during an investigation.
Why you'd want it
The core pain it targets is the cost of incident response in complex architectures. When something breaks, engineers spend the first — and most expensive — minutes manually correlating data across five different consoles while an SLA clock ticks. That work is repetitive, high-pressure, and easy to get wrong at 3 a.m. The DevOps Agent shifts that opening phase from reactive firefighting to autonomous investigation, so the on-call engineer, in AWS's framing, "wakes up to a root cause instead of an active incident."
AWS reports preview results of up to 75% lower mean time to resolution (MTTR) and ~94% root-cause accuracy. Treat vendor numbers as directional rather than guaranteed — your mileage depends heavily on how well your telemetry is instrumented — but the direction is the point: the agent compresses the slow correlation work, not the human judgment about whether to actually apply a fix.
💡 The mental model. Think of it less as "automation that clicks buttons for you" and more as an investigator that hands you a finished case file — timeline, correlated evidence, suspected cause, and a proposed remediation with validation and rollback steps — while a human stays in the loop to approve action.
When to use it — the scenarios that fit
- Production incident response. A CloudWatch alarm fires for elevated latency or error rate; the agent investigates across metrics, logs, and recent deploys before anyone has joined the bridge call. This is the headline use case.
- "Was it the deploy?" The single most common root-cause question. The agent analyzes the temporal relationship between a deployment event and the onset of an incident, pulling GitHub/GitLab history to flag a suspect change.
- Cross-service / cross-account blast radius. When an issue ripples through a topology of microservices, the agent's resource map helps it trace the failure to its origin instead of stopping at the first symptomatic service.
- Reducing alert fatigue and toil. Routine investigations that don't need a senior engineer get triaged automatically, freeing the team for work that does.
- Proactive reliability reviews. Beyond live incidents, the agent analyzes patterns across historical incidents and recommends targeted improvements to observability (monitoring, alerting, logging), infrastructure (autoscaling, capacity), and deployment pipelines (testing, validation).
Where it fits least well: greenfield systems with little telemetry or deployment history (the agent has little to correlate), and organizations that aren't ready to let an agent read across their observability and source-control tools. It's an amplifier for teams that already practice observability — not a substitute for instrumenting your systems.
How it works
The service is organized around a few concepts worth understanding before you adopt it.
Agent Spaces and a dual console
Everything lives inside an Agent Space — a logical container that defines what the agent can access and investigate: your AWS account configurations, third-party integrations, and access permissions. There's a deliberate split of duties:
- Administrators use the AWS Management Console to create Agent Spaces, configure integrations, and set access controls.
- Operations teams use the DevOps Agent web app for day-to-day work — steering investigations, browsing the cross-account topology, and reviewing prevention recommendations.
Topology — learning your system
The agent automatically builds an application topology: a graph of your resources and how they relate. This is what lets it correlate, say, a CPU spike on an EC2 fleet with a metric anomaly downstream and a deployment an hour earlier — it understands the relationships rather than treating each signal in isolation.
Built-in integrations
The agent works within your existing toolchain rather than replacing it. Out of the box it integrates with:
| Category | Supported tools |
|---|---|
| Observability | Amazon CloudWatch, Datadog, Dynatrace, New Relic, Splunk |
| Code & CI/CD | GitHub (Actions + repos), GitLab (workflows + repos) |
| Coordination | Slack, ServiceNow, AWS Support cases |
During an investigation it can route observations, findings, and mitigation steps through your existing channels (Slack, ServiceNow), and even open an AWS Support case directly from an investigation with the full context attached. There's also a context-aware Chat — ask about resources in the Topology view, steer an active investigation, or filter prevention recommendations in natural language.
Extending it with MCP servers
The built-in integrations cover the common stack, but most teams have custom monitoring or operational data sources. That's where the Model Context Protocol (MCP) comes in — the same open standard we've written about for agentic workflows generally. You can connect your own MCP servers to give the agent access to additional tools and data. A few specifics that matter in practice:
- Transport & auth. Servers must implement the Streamable HTTP transport and support one of OAuth 2.0 (Client Credentials or 3LO), API-key/token auth, or AWS Signature V4 (SigV4) — handy for servers behind API Gateway.
- Account-level registration, space-level allowlisting. You register an MCP server once at the account level, then each Agent Space chooses exactly which tools it needs.
- Read-only by default. AWS's guidance is explicit: allowlist only the specific read-only tools an Agent Space requires, and grant credentials read-only access. Custom MCP servers also widen the prompt-injection surface, so least privilege isn't optional here.
⚠️ Security is a shared responsibility. An agent that can read your logs, code, and cloud APIs is exactly the kind of powerful-but-risky tool we covered in Least Privilege for AI Agents. Scope its access tightly, keep tool access read-only, allowlist per Agent Space, and use private connections for internal servers. The agent proposes mitigations; deciding what it's allowed to do on its own is your call.
A concrete walkthrough
AWS's reference architecture for an "agentic SRE" wires it together like this. A CloudWatch alarm fires and, via EventBridge and a small Lambda, calls the DevOps Agent's webhook. The agent then queries multiple sources at once — CloudWatch metrics, Splunk logs, GitHub deployment history — correlates the timeline, and identifies the likely cause. It generates a structured mitigation plan in phases (Prepare → Pre-Validate → Apply → Post-Validate, with a revert path) and posts the investigation to Slack. The on-call engineer reviews a finished analysis instead of starting from a blank console.
Provisioning it with Terraform or OpenTofu
If you manage AWS as infrastructure as code, you can stand up the agent's control plane declaratively —
but with a catch worth knowing up front. The DevOps Agent does not have native resources
in the standard hashicorp/aws provider yet. Its resources live in the AWS Cloud Control
provider, hashicorp/awscc (version ≥ 1.66.0), which auto-generates Terraform
resources from AWS's CloudFormation registry — and AWS published the
AWS::DevOpsAgent::AgentSpace type there. That gives you two resources:
awscc_devopsagent_agent_space— creates the Agent Space (the logical boundary that defines which accounts the agent can see, which tools it connects to, and who can use it).awscc_devopsagent_association— links a monitored account (and its integrations) to that Agent Space.
AWS even publishes an official "Getting started with AWS DevOps Agent using Terraform" guide whose
configuration provisions the Agent Space, the IAM roles, the operator app, and the cross-account
associations together. The IAM trust policy is the usual gotcha: the principal is
aidevops.amazonaws.com (not devops-agent.amazonaws.com), with
aws:SourceAccount and aws:SourceArn conditions scoped to the exact Agent Space ARN
for confused-deputy protection. Since OpenTofu consumes the same provider registry, the
identical awscc configuration runs unchanged under tofu — the skills transfer
either way, as we noted in our Terraform vs. OpenTofu piece.
⚠️ Two limits to expect. First, this provisions the control plane — the Agent
Space, associations, and IAM — not the investigations or the MCP-server registrations, much of which is
configured at runtime. Second, because awscc mirrors the CloudFormation registry, anything AWS
hasn't modeled there yet (some capability-provider and MCP wiring) won't have a Terraform resource until it
lands in the registry. Provision what you can as code; expect a little console work for the rest.
Availability and cost
The agent launched in public preview at re:Invent 2025 (December 2, 2025) at no additional cost in US East (N. Virginia), and reached general availability in April 2026. As with any GA AWS service, check the current pricing page and supported Regions before you build a budget around it — preview pricing rarely survives GA unchanged.
The bottom line
AWS DevOps Agent is one of the clearest examples yet of agentic AI doing a real operational job rather than a demo. It won't replace your SREs — and it shouldn't — but it can absorb the slow, repetitive correlation work that eats the first hour of every incident, and turn a backlog of "we should fix that" into ranked, actionable recommendations. If your team already invests in observability and practices disciplined deployments, it's a strong force multiplier. If you don't, it's a good reason to start: the better your telemetry, the better an agent like this performs. The skills underneath — observability, incident response, IaC, and the cloud architecture it all runs on — are exactly what our certification labs are built around.
Sources
- AWS — About AWS DevOps Agent
- AWS DevOps Blog — Building an end-to-end agentic SRE using AWS DevOps Agent
- AWS — Connecting MCP servers to AWS DevOps Agent
- AWS — Getting started with DevOps Agent using Terraform
- Terraform Registry —
awscc_devopsagent_agent_space - AWS What's New — DevOps Agent (preview)
- InfoQ — AWS announces general availability of DevOps Agent
- AWS — Top announcements of re:Invent 2025