Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ Documentation is available at https://kiro.dev/docs/powers/

---

### aws-devops-agent
**AWS DevOps Agent** - AI agent for AWS operational intelligence. Investigate incidents, optimize costs, review architecture, map topology, chat with the agent, get remediation, run automated release tests (UI and API), and trigger pre-merge code change risk analyses — all enhanced with your local workspace context.
### aws-ops-agent
**AWS Ops Agent** - AI agent for AWS operational intelligence. Investigate incidents, optimize costs, review architecture, map topology, chat with the agent, get remediation, run automated release tests (UI and API), and trigger pre-merge code change risk analyses — all enhanced with your local workspace context.

**MCP Servers:** aws-devops-agent (remote MCP Server, supports Bearer token + SigV4 auth), aws-mcp
**MCP Servers:** aws-ops-agent (remote MCP Server, supports Bearer token + SigV4 auth), aws-mcp

---

Expand Down
30 changes: 0 additions & 30 deletions aws-devops-agent/mcp.json

This file was deleted.

34 changes: 17 additions & 17 deletions aws-devops-agent/POWER.md → aws-ops-agent/POWER.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: "aws-devops-agent"
displayName: "AWS DevOps Agent"
name: "aws-ops-agent"
displayName: "AWS Ops Agent"
description: "AI agent for AWS operational intelligence. Investigate incidents, optimize costs, review architecture, map topology, chat with the agent, get remediation, run automated release tests (UI and API), and trigger pre-merge code change risk analyses — all enhanced with your local workspace context."
keywords:
- "devops"
Expand Down Expand Up @@ -64,11 +64,11 @@ keywords:
author: "AWS"
---

# AWS DevOps Agent — Kiro Power
# AWS Ops Agent — Kiro Power

You are enhanced with the **AWS DevOps Agent**, an AI-powered operational intelligence system for AWS environments. It connects via a dedicated remote MCP server (`aws-devops-agent`) with `aws-mcp` as a fallback.
You are enhanced with the **AWS Ops Agent**, an AI-powered operational intelligence system for AWS environments. It connects via a dedicated remote MCP server (`aws-ops-agent`) with `aws-mcp` as a fallback.

**Your superpower**: Combine local workspace knowledge (files, git, terminal) with the DevOps Agent's cloud knowledge (CloudWatch, X-Ray, IAM, topology) by packing local context into tool parameters.
**Your superpower**: Combine local workspace knowledge (files, git, terminal) with the Ops Agent's cloud knowledge (CloudWatch, X-Ray, IAM, topology) by packing local context into tool parameters.

**Extended capabilities**: In addition to investigations and chat, you can run **automated release testing** (UI and API) against pre-configured test profiles, and trigger **pre-merge code change risk analyses** on GitHub PRs, GitLab MRs, or local branches.

Expand All @@ -78,20 +78,20 @@ You are enhanced with the **AWS DevOps Agent**, an AI-powered operational intell

| Server | Transport | Auth | Role |
|--------|-----------|------|------|
| `aws-devops-agent` | Remote (Streamable HTTP) | Bearer token | **Option A** — simplest setup, scoped to one AgentSpace |
| `aws-devops-agent-sigv4` | Local signing proxy (stdio) | SigV4 from AWS credentials | **Option B** — full access, multi-space routing, no token expiry |
| `aws-ops-agent` | Remote (Streamable HTTP) | Bearer token | **Option A** — simplest setup, scoped to one AgentSpace |
| `aws-ops-agent-sigv4` | Local signing proxy (stdio) | SigV4 from AWS credentials | **Option B** — full access, multi-space routing, no token expiry |
| `aws-mcp` | Local (stdio) | SigV4 from environment | **Last Resort Fallback** — generic AWS API access when remote is unavailable |

Two auth options. Both connect to the same remote DevOps Agent endpoint — they differ in how they authenticate:
Two auth options. Both connect to the same remote Ops Agent endpoint — they differ in how they authenticate:

- **Option A (Bearer token):** Zero local dependencies. Tools scoped by token (see "Tool Availability by Auth Mode"). Best for single AgentSpace setups.
- **Option B (SigV4):** Requires `uvx` locally. All tools available (limited only by IAM policy). Best for multi-space routing or admin configuration.

> **Note:** `aws-mcp` and `aws-devops-agent-sigv4` both require `uvx` (part of `uv`). If `uvx` is not in your PATH, these servers cannot launch.
> **Note:** `aws-mcp` and `aws-ops-agent-sigv4` both require `uvx` (part of `uv`). If `uvx` is not in your PATH, these servers cannot launch.

---

## Tools (aws-devops-agent — Remote Server)
## Tools (aws-ops-agent — Remote Server)

### High-Level (start here)

Expand Down Expand Up @@ -330,7 +330,7 @@ investigate(title="ECS 503 errors on checkout-service — OOM suspected", priori

## Fallback: When Remote Server Is Unavailable

If bearer token (`aws-devops-agent`) or SigV4 (`aws-devops-agent-sigv4`) isn't working, fall back to `aws-mcp` using the manual CLI patterns below:
If bearer token (`aws-ops-agent`) or SigV4 (`aws-ops-agent-sigv4`) isn't working, fall back to `aws-mcp` using the manual CLI patterns below:

**Chat fallback:**
```
Expand Down Expand Up @@ -427,7 +427,7 @@ Check if `.kiro/hooks/devops-agent-post-spec-completion.kiro.hook` already exist
},
"then": {
"type": "askAgent",
"prompt": "A spec task just completed. Evaluate the changes made during this task. If the changes are substantial enough to warrant a code change risk analysis (e.g., multiple files modified, logic changes, new APIs, dependency updates, security-sensitive code, infrastructure changes), immediately run the code change risk analysis workflow from the aws-devops-agent power autonomously — do not ask the user for confirmation. Skip the branch creation confirmation step in the local flow and proceed without asking for approval to create/push the branch. If the changes are trivial (e.g., a single typo fix, comment update, formatting-only, renaming a variable), do nothing."
"prompt": "A spec task just completed. Evaluate the changes made during this task. If the changes are substantial enough to warrant a code change risk analysis (e.g., multiple files modified, logic changes, new APIs, dependency updates, security-sensitive code, infrastructure changes), immediately run the code change risk analysis workflow from the aws-ops-agent power autonomously — do not ask the user for confirmation. Skip the branch creation confirmation step in the local flow and proceed without asking for approval to create/push the branch. If the changes are trivial (e.g., a single typo fix, comment update, formatting-only, renaming a variable), do nothing."
}
}
```
Expand All @@ -440,12 +440,12 @@ Check if `.kiro/hooks/devops-agent-post-spec-completion.kiro.hook` already exist

### Recommended `autoApprove` list

These tools are read-only and cannot modify any AWS resource or DevOps Agent state:
These tools are read-only and cannot modify any AWS resource or Ops Agent state:

```json
{
"mcpServers": {
"aws-devops-agent": {
"aws-ops-agent": {
"autoApprove": [
"list_agent_spaces",
"get_agent_space",
Expand Down Expand Up @@ -483,7 +483,7 @@ These tools are read-only and cannot modify any AWS resource or DevOps Agent sta

### What still requires approval

**aws-devops-agent**: Mutation tools (`chat`, `send_message`, `investigate`, `create_investigation`, `create_release_testing_job`, `create_code_change_risk_analysis`, `cancel_release_testing_job`, `cancel_code_change_risk_analysis`, `create_agent_space`, `update_recommendation`).
**aws-ops-agent**: Mutation tools (`chat`, `send_message`, `investigate`, `create_investigation`, `create_release_testing_job`, `create_code_change_risk_analysis`, `cancel_release_testing_job`, `cancel_code_change_risk_analysis`, `create_agent_space`, `update_recommendation`).

**aws-mcp**: `aws___call_aws` and `aws___run_script` can perform both reads and writes, so they cannot be safely auto-approved.

Expand All @@ -500,8 +500,8 @@ These tools are read-only and cannot modify any AWS resource or DevOps Agent sta

## Support & Legal

- **Documentation**: [AWS DevOps Agent User Guide](https://docs.aws.amazon.com/devopsagent/latest/userguide/)
- **Setup for DevOps Agent Remote Server**: [Connect to DevOps Agent Remote Servers](https://docs.aws.amazon.com/devopsagent/latest/userguide/accessing-devops-agent-connect-to-devops-agent-remote-servers.html)
- **Documentation**: [AWS Ops Agent User Guide](https://docs.aws.amazon.com/devopsagent/latest/userguide/)
- **Setup for Ops Agent Remote Server**: [Connect to Ops Agent Remote Servers](https://docs.aws.amazon.com/devopsagent/latest/userguide/accessing-devops-agent-connect-to-devops-agent-remote-servers.html)
- **Setup for the AWS MCP Server**: [AWS MCP Server Getting Started](https://docs.aws.amazon.com/agent-toolkit/latest/userguide/getting-started-aws-mcp-server.html)
- **Support**: [AWS Support Center](https://console.aws.amazon.com/support/)
- **License**: Apache-2.0
Expand Down
30 changes: 30 additions & 0 deletions aws-ops-agent/mcp.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"mcpServers": {
"aws-ops-agent": {
"url": "https://connect.aidevops.${OPS_AGENT_REGION}.api.aws/mcp",
"headers": {
"Authorization": "Bearer ${OPS_AGENT_TOKEN}"
},
"timeout": 120000
},
"aws-ops-agent-sigv4": {
"command": "uvx",
"timeout": 120000,
"args": [
"mcp-proxy-for-aws@latest",
"https://connect.aidevops.${OPS_AGENT_REGION}.api.aws/mcp",
"--service", "aidevops",
"--region", "${OPS_AGENT_REGION}"
]
},
"aws-mcp": {
"command": "uvx",
"timeout": 100000,
"args": [
"mcp-proxy-for-aws@latest",
"https://aws-mcp.${OPS_AGENT_REGION}.api.aws/mcp",
"--metadata", "AWS_REGION=${OPS_AGENT_REGION}"
]
}
}
}
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
---
name: release-readiness
description: Guide for running code change risk analyses (formerly release readiness reviews) via the aws-devops-agent remote MCP server (typed tools). Use when the user wants to trigger a code change risk analysis, release readiness review, code review or change review on a PR/MR, check execution status, view execution journal, or cancel a review.
description: Guide for running code change risk analyses (formerly release readiness reviews) via the aws-ops-agent remote MCP server (typed tools). Use when the user wants to trigger a code change risk analysis, release readiness review, code review or change review on a PR/MR, check execution status, view execution journal, or cancel a review.
---

## Overview

This skill uses the typed tools from the `aws-devops-agent` remote MCP server to run code change risk analyses via the Code Change Risk Analysis Agent. It handles the full execution lifecycle — starting reviews, polling for progress, streaming journal output, and retrieving the final code change risk analysis report.
This skill uses the typed tools from the `aws-ops-agent` remote MCP server to run code change risk analyses via the Code Change Risk Analysis Agent. It handles the full execution lifecycle — starting reviews, polling for progress, streaming journal output, and retrieving the final code change risk analysis report.

## Usage

Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
---
name: release-testing
description: Guide for running release testing jobs (UI or API) via the aws-devops-agent remote MCP server (typed tools). Use when the user wants to run automated tests, check job status, view test progress, or download test reports.
description: Guide for running release testing jobs (UI or API) via the aws-ops-agent remote MCP server (typed tools). Use when the user wants to run automated tests, check job status, view test progress, or download test reports.
---

## Overview

This skill uses the typed tools from the `aws-devops-agent` remote MCP server to run release testing in the cloud via the Release Testing Agent. It handles the full job lifecycle — creating jobs, polling for progress, streaming journal output, and retrieving the final test report.
This skill uses the typed tools from the `aws-ops-agent` remote MCP server to run release testing in the cloud via the Release Testing Agent. It handles the full job lifecycle — creating jobs, polling for progress, streaming journal output, and retrieving the final test report.

**Input is a test profile** — the test profile already contains the target URL, agent type (UI or API), test personas, and credentials. Do NOT ask the user for a URL directly; the URL is defined in the test profile.

Expand All @@ -23,7 +23,7 @@ Use this skill when:

## Prerequisites

- A pre-existing test profile (Knowledge Item ID like `ki-12345`) created from the AWS DevOps Agent operator app console.
- A pre-existing test profile (Knowledge Item ID like `ki-12345`) created from the AWS Ops Agent operator app console.

## Instructions

Expand All @@ -34,7 +34,7 @@ Before starting any workflow, you MUST gather the following parameters. Do NOT p
#### Step 1 — Test profile (required)
Ask the user which test profile to use. The test profile already contains the target URL, agent type (UI or API), test personas, and credentials configuration — these do NOT need to be gathered separately.

**Note:** A pre-existing test profile is a prerequisite for running this agent. Test profiles are created using the AWS DevOps Agent console or API, not through this tool. If the user asks whether they need a test profile or whether one can be created here, inform them that a test profile must already exist before starting a release testing job.
**Note:** A pre-existing test profile is a prerequisite for running this agent. Test profiles are created using the AWS Ops Agent console or API, not through this tool. If the user asks whether they need a test profile or whether one can be created here, inform them that a test profile must already exist before starting a release testing job.

#### Step 2 — Test requirement (optional)
If the user has not already mentioned a test focus, ask:
Expand Down
Loading
Loading