AWS Ops Agent's Agent Space Constellations Has Been Released, So I Tried Investigating Incidents Across Accounts #AWSreInvent

AWS Ops Agent's Agent Space Constellations Has Been Released, So I Tried Investigating Incidents Across Accounts #AWSreInvent

I tried connecting Agent Spaces across accounts using Agent Space Constellations in AWS Ops Agent, automatically requesting an investigation of a deliberately triggered failure, and identifying its cause.
2026.12.03

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.

The assumed system

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).

Agent Space creation screen

Copying the ARN

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

Copying the ARN from Actions

Connecting from the lead side

Open the "Constellations" tab of shop-frontend and select "Create connection".

Constellations tab

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

Connect as lead

I chose to have the IAM role created automatically.

Registering the role

Check the details and select "Create connection".

Review and create

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

Pending connection

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".

Connect as member

Once created, it became "Active" right away.

Connection that became active

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.

Starting the investigation

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

The ownership check result is OWNED_BY_MEMBER

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

Request to order-api

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

Request message received by order-api

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

Result of searching the Lambda logs

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

Result of checking the execution role policies

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.

Investigation result on the order-api side

shop-frontend received the result from order-api.

Receiving 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.

Investigation result of shop-frontend

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

https://aws.amazon.com/about-aws/whats-new/2026/12/aws-ops-agent-constellations/

https://docs.aws.amazon.com/devopsagent/latest/userguide/configuring-integrations-and-knowledge-agent-space-constellations-index.html


AWS re:Invent 2026まとめ情報

クラスメソッドは2026/11/30〜12/4にラスベガスで開催されるAWSカンファレンスイベント「re:Invent」を今年も特集しました。ぜひ一度ご覧ください。 re:Invent 2026ポータルサイトを見るAWS re:Invent公式サイトはこちら

Share this article

AWSのお困り事はクラスメソッドへ

Related articles