
AWS Ops Agent's Agent Space Constellations Has Been Released, So I Tried Investigating Incidents Across Accounts #AWSreInvent
This page has been translated by machine translation. View original
Hello, I'm Shunta Toda from the Retail App Co-creation Department.
At re:Invent 2026, Agent Space Constellations was announced, a feature that connects Agent Spaces of AWS Ops Agent (formerly AWS DevOps Agent) to one another.
This time, I created two Agent Spaces, connected them, and tried out an investigation.
What is Agent Space Constellations?
It is a feature that connects Agent Spaces separated by team or account, and lets you request investigations within the other party's area of responsibility.
There are two types of connection relationships.
| Relationship | Investigation requests | Escalation |
|---|---|---|
| Lead and member | From lead to member | From member to lead |
| Consumer (user side) and dependency (dependent side) | From consumer to dependency | None |
A member has only one lead. A lead can connect to multiple members.
Investigations are not requested every time. The agent first investigates in its own Agent Space, and requests an investigation only when something owned by a connected party is involved.
Trying it out
The assumed system
We assume a shop system split across two accounts. The frontend is deployed in Account A, and the backend (order API) is deployed in Account B.

Creating two Agent Spaces
I created the following two in the Tokyo region.
| Agent Space | Responsibility | Account | Role in the connection |
|---|---|---|---|
| shop-frontend | Shop frontend | Account A | Lead |
| order-api | Order API | Account B | Member |
You create them by entering a name, a description, and the response language (Japanese).

Copying the ARN
The ARN of the other Agent Space is required for the connection. From "Actions" of order-api, select "Copy ARN".

Connecting from the lead side
Open the "Constellations" tab of shop-frontend and select "Create connection".

Paste the ARN of order-api and select "Connect as lead".

I chose to have the IAM role created automatically.

Check the details and select "Create connection".

At this point, it is "Pending". You also need to create a connection on the other side.

Connecting from the member side
In order-api, open "Create connection" in the same way. Paste the ARN of shop-frontend and select "Connect as member".

Once created, it became "Active" right away.

Causing a failure beforehand
Before the investigation, I deliberately caused a failure. In Account B, I created a Lambda function that returns order details and a DynamoDB table. I did not grant the Lambda permission to read the table.
When I invoked the Lambda several times, every call failed with AccessDeniedException, and the CloudWatch alarm went into ALARM.
Trying an investigation
Open the web app from "Launch via IAM" of shop-frontend. From "Start investigation" under "Incident response", I requested an investigation with the following content.
注文画面で注文詳細が表示できないとユーザーから報告があった。原因を調べて
The investigation name is "Order details cannot be displayed", and the priority is the default "Medium". I did not mention anything about the Lambda permissions, nor that I wanted it to request an investigation from order-api.

Looking at the timeline, the result of checking ownership with find_constellation_owners is OWNED_BY_MEMBER (owned by the member).

An investigation was automatically requested from order-api, and shop-frontend went into a "Waiting" state to wait for the result.

On the order-api side, a request message summarizing what to investigate had arrived.

order-api actually searched the Lambda logs and found the AccessDeniedException.

It also checked the policies attached to the Lambda execution role.

This is the investigation result on the order-api side. The fact that the Lambda lacks permission to read the table was identified as the root cause.

shop-frontend received the result from order-api.

Finally, it summarized the root cause and the mitigation (adding read permission to the Lambda execution role). The root cause was based on order-api's investigation result, and shop-frontend did not re-verify it. The mitigation was only a proposal and was not applied automatically.

From the start to the completion of the investigation took about 13 minutes.
Summary
Connecting Agent Spaces was easy: you just register the other party's ARN on both sides.
When it judges during an investigation that it is needed, it automatically requests an investigation from the other Agent Space and summarizes the results.
The UI is quite easy to use, so it might even be worth recommending to non-engineers, don't you think?
If you want to use agents for investigations that span multiple accounts, please give it a try!
References




