Investigating Incidents with AWS DevOps Agent
This lesson explains AWS DevOps Agent, generally available since 31 March 2026 and added to the SOA-C03 exam guide in version 1.1, an AI agent that investigates incidents, proposes mitigations and recommends preventive changes.
Learning outcomes
After completing this lesson, you will be able to:
- Describe what DevOps Agent does during and after incidents.
- Configure Agent Spaces and access.
- Identify integrations and triggers.
What the agent does
DevOps Agent works in three areas. During an incident it runs an investigation: it correlates CloudWatch metrics and logs, X-Ray traces, recent code changes and deployments, and data from connected observability tools to identify error patterns, the probable root cause and a timeline. It records its reasoning in an investigation journal and offers mitigation plans, which are specifications with implementation guidance that engineers or agentic tools such as Kiro can carry out. After incidents it analyses patterns across past investigations and produces prevention recommendations for gaps in observability, infrastructure configuration and deployment pipelines. It can also perform on-demand site reliability engineering tasks and open an AWS Support case with the investigation context attached.
The following diagram shows the agent's work during and after an incident.

During or after the incident?
Agent Spaces, topology and access
An Agent Space defines what the agent can access: which AWS accounts and resources, which integrations and which users. Teams may create one per application, one per on-call team or a central space. Creating an Agent Space creates the IAM roles the agent uses to inspect resources in your accounts, so its access is governed by IAM like any other principal. The agent builds a topology: a map of the application's components, their relationships and deployment history, which it refines as it completes tasks. Operators use the agent's web app, with access granted through an operator access link or IAM Identity Center, to start and steer investigations and ask questions.
Integrations and triggers
The agent integrates with CloudWatch and with third-party observability tools such as Datadog, Dynatrace, New Relic and Splunk; with Grafana, Prometheus and custom tools through Model Context Protocol (MCP) servers; with GitHub and GitLab for code and deployment history; with ServiceNow and webhook-based tools such as PagerDuty for tickets; and with Slack for incident channels. Investigations start in three ways, summarised in the following table.
| Trigger | Example |
|---|---|
| Manual | An on-call engineer starts an investigation in the web app from the latest alarm or an error-rate spike |
| Alert-based | A CloudWatch alarm or third-party alert starts an investigation automatically |
| Ticket-based | A new ServiceNow incident or PagerDuty webhook starts an investigation and the agent updates the ticket |
Customers on Business Support+, Enterprise Support and Unified Operations plans receive monthly DevOps Agent credits as part of their support plan.
How investigations start
An investigation from an alarm
At 02:10 a CloudWatch alarm on the checkout service's 5XX rate fires and automatically starts a DevOps Agent investigation. Within minutes the journal shows that errors began four minutes after a deployment through GitHub Actions, that the new task definition lowered the database connection pool size, and that RDS DatabaseConnections is flat while application threads wait for connections. The mitigation plan recommends rolling back the ECS service to the previous task definition. The on-call engineer reviews the evidence and performs the rollback. Later the agent's prevention recommendation proposes an alarm on connection pool wait time and a deployment alarm that would have rolled back automatically.
What defines the scope of what AWS DevOps Agent can access?
Show answer
An Agent Space, which also creates the IAM roles the agent uses.
Exam Tips
Remember for the exam
- DevOps Agent investigates incidents by correlating metrics, logs, traces, code changes and deployments.
- It produces mitigation plans during incidents and prevention recommendations afterwards.
- An Agent Space scopes the agent's access and creates its IAM roles.
- Investigations start manually, from alerts or from tickets.