Loading...
Loading...
Run a deep root-cause investigation on the AWS DevOps Agent. Use when the user describes an incident, alarm, outage, or unexplained behavior — keywords like "5xx", "503", "OOM", "latency spike", "deployment failure", "rollback", "sev1", "investigate", "root cause", "debug", "alarm fired", "service down". Polls and streams progress, then surfaces recommendations.
npx skill4agent add aws/agent-toolkit-for-aws investigating-incidents-with-aws-devops-agentAgentSpace routing (SigV4 only): Ifis available in your tool list and the multi-space orchestration skill has NOT been invoked yet this session, invoke it first to determine whichlist_agent_spacesto use. Then passagent_space_idon all tool calls below. For bearer token auth this is unnecessary — the token is already scoped to one space.agent_space_id
chatting-with-aws-devops-agenttitlepackage.jsonpom.xmlCargo.tomlrequirements.txtMakefilegit log --oneline -10git diff --stataws_devops_agent__investigate(
title="ECS 503 errors on checkout-service since commit abc1234 deployed 2h ago. CDK: ECS Fargate behind ALB. Error: upstream connect error."
)
→ {"status": "investigation_started", "taskId": "...", "executionId": "...", "message": "...", "next_steps": "..."}taskIdexecutionIdTip: Pack as much context as possible into the— service name, error type, time window, recent deploys. The agent uses this to scope its analysis.title
aws_devops_agent__get_task(task_id="TASK_ID")
→ {"task": {"taskId": "...", "status": "IN_PROGRESS", ...}}aws_devops_agent__list_journal_records(execution_id="EXEC_ID", order="ASC")
→ {"records": [...]}next_tokenPLANNINGSEARCHINGANALYSISFINDINGACTIONSUMMARYSUGGESTION🔬 2 min in: Agent found error rate spiked to 23% at 14:32 UTC. Checking X-Ray traces for downstream failures.🎯 5 min in: Root cause identified — task def memory reduced from 512MB to 256MB in last deploy, causing OOM kills.
aws_devops_agent__list_journal_records(execution_id="EXEC_ID", order="DESC", limit=10)aws_devops_agent__list_recommendations(task_id="TASK_ID")
→ {"recommendations": [...]}aws_devops_agent__get_recommendation(recommendation_id="REC_ID")aws-devops-agentaws-mcpaws devops-agent create-backlog-task \
--agent-space-id SPACE_ID \
--task-type INVESTIGATION \
--title '...' \
--priority HIGH \
--description '...' \
--region us-east-1
→ taskIdaws devops-agent get-backlog-task --agent-space-id SPACE_ID --task-id TASK_ID --region us-east-1aws devops-agent list-journal-records --agent-space-id SPACE_ID --execution-id EXEC_ID --page-size 50 --region us-east-1list_journal_recordsget_task