![[Update] A Fleet View Has Been Added to AWS Agent Registry, Allowing You to Manage Agents All in One Place! #AWSreInvent](https://devio2024-media.developers.io/image/upload/f_auto,q_auto/c_limit,w_1200/v1796065643/eyecatch/dlg5ttmg1mm8clcwzkmp.png)
[Update] A Fleet View Has Been Added to AWS Agent Registry, Allowing You to Manage Agents All in One Place! #AWSreInvent
This page has been translated by machine translation. View original
Introduction
Hello, this is Jinno from the Consulting Department, currently attending re:Invent.
A fleet view has been added to AWS Agent Registry, letting you grasp and manage all the agents running in your organization or accounts in one place!
At GA, auto-detection targeted AgentCore Runtime and Gateway, and required the Organizations management account or a delegated administrator. Starting with this update, you can enable auto-detection with just a single account, and you can quarantine problematic agents from the Registry screen!
I'll summarize the main changes, then try account-level auto-detection and quarantine from the console.
Please also refer to the article where I tried organization-level auto-detection at GA, as needed!
Main changes
Here is a diagram of how this announcement fits together.
For records collected by auto-detection, you can add risk information and quarantine them, and you configure discovery policies on the Registry.

GA features and preview features are mixed together, so let me sort them out.
Quite a lot has been updated!
| Feature | Availability | What you can do |
|---|---|---|
| Account-level auto-detection | GA | Detect resources in your own account without using Organizations |
| Additional detection targets | GA | Detect EKS Deployments, DevOps Agent Agent Spaces, and Quick agents |
| Quarantine | GA | Reject new invocations to a Runtime and stop running sessions |
| Discovery policies | Preview | Set on the Registry to narrow the approved records visible in search, list, and bulk retrieval according to the caller's attributes |
| Workload identity display | Preview | Display the IAM for Agents workload identity template on records |
| Cost and usage | Preview | Display estimated cost, token counts, and session counts in organization-level Registries |
Auto-detection works with even a single account
In addition to the conventional organization scope (ORGANIZATION), an account scope (ACCOUNT) has been added as an auto-detection scope. It can be used even by standalone accounts not under Organizations, and it detects resources in the same account and same Region. You can create up to one account-level Registry per Region.
Agents from EKS, DevOps Agent, and Quick also appear in the list
For EKS, you specify the target for auto-detection by adding a specific label to the Deployment manifest. If you remove this label or delete the Deployment itself, the record also disappears.
metadata:
name: checkout-agent
labels:
agent-registry.amazonaws.com/workload-type: AGENT # MCP for an MCP server
Quick agents are treated as records for grasping status in the list.
They do not support the operation of publishing to search targets through an approval flow...
The feature that integrates with AWS Continuum to display shadow agents running on EKS without being registered in the Registry is in preview. Detecting rogue AI sounds interesting!
I'd like to try this next time!
AWS Continuum itself is introduced in the following article.
You can quarantine problematic Runtimes
You can quarantine an agent from the record of an auto-detected Runtime! This is also an interesting feature!
When quarantined, the Runtime rejects new invocations and stops running sessions, and the record is removed from search results.

In an organization-level Registry, you can also quarantine Runtimes of other member accounts in the same Region from the record.
However, the execution role's permissions are not revoked, so if you want to contain a hijacked agent, you also need to remove the role's permissions. Because quarantine and release use separate IAM actions, you can restrict release permission to specific administrators.
Adding risk information, discovery policies, and cost display
You can also add descriptions and so on to auto-detected records, and they are not overwritten by auto-detection updates!
For example, there are cases where risk classification or scan results are held as custom metadata fields and used for approval decisions, which is introduced in an AWS blog.
I tried custom metadata in a previous article, so please refer to it as needed.
Discovery policies (entitlement-based discovery in the documentation) are in preview. When set on the Registry, they let you narrow the approved records that can be referenced in search, list, and bulk retrieval.
It is a mechanism that evaluates caller attributes such as IAM principal tags and JWT claims against the record type and custom metadata. It's nice that results can be narrowed automatically based on attributes.
Cost and usage display is a preview feature available in the Observability tab of organization-level Registries. It works by collecting spans with CloudWatch Logs centralization rules, so charges are incurred as CloudWatch usage fees.
When I set up a centralization rule in the management account's Registry, I could check estimated cost and session counts per agent like this!

Prerequisites
I'll proceed with the following prerequisites!
- The Region is us-east-1
- Try with a single AWS account that is neither the Organizations management account nor a delegated administrator
- Use AWS CLI 2.40.2 to verify invocations
- To verify quarantine, create one Runtime using the "Strands agent" template in the AgentCore console
Trying it out
Enabling account-level auto-detection
In the dedicated AWS Agent Registry console, choose "Create registry" from "Registries".
After entering a name, open "Auto-detection" and turn on "Enable auto-detection". Since this account is neither a management account nor a delegated administrator, Scope was already set to "Account" from the start.

Viewing the list in the fleet view
After creation, the auto-detection status changes from "Enabling" to "Active".
In the end, 56 Runtimes and 29 Gateways, a total of 85, were displayed! Runtimes created afterward were also added automatically, and at the time I retook the screenshot it had become 86.
In this account-level Registry, the record list on the details screen serves as the screen for checking agents. You can choose the columns to display from the gear icon at the top right of the list, so I narrowed them down to "Record type", "Source type", "Auto-detection", and "Quarantine status".

You can check the detection source type in the "Source type" column and the quarantine state in the "Quarantine status" column.
Quarantining a Runtime
To compare with the behavior during quarantine, I set the ARN of the test Runtime in the environment variable RUNTIME_ARN and invoke it beforehand.
aws bedrock-agentcore invoke-agent-runtime \
--agent-runtime-arn "$RUNTIME_ARN" \
--runtime-session-id "fleetview-before-quarantine-$(date +%s)-0001" \
--payload '{"prompt":"こんにちは。一言で自己紹介してください。"}' \
--cli-binary-format raw-in-base64-out \
--region us-east-1 \
before.json
"statusCode": 200
The agent's response was written to before.json, and the invocation worked without problems before quarantine.
Next, quarantine it in the console. Select the target record and choose "Quarantine" from "Manage".

Specify the quarantine reason on the screen, enter confirm in the confirmation field, and execute. The reason is a required field and can be up to 255 characters.
The Quarantine status became "Quarantine in progress" and changed to "Quarantined" in about 5 minutes. The record details show a banner indicating it is quarantined, along with the reason and date/time of quarantine.

When I invoked it with the same command during quarantine, it was rejected.
aws: [ERROR]: An error occurred (ValidationException) when calling the InvokeAgentRuntime operation: The agent runtime endpoint is not available for invocation.
At this time, the status of the Runtime and endpoint remained READY. Invocations were stopped just by an operation on the Registry, without changing any settings on the Runtime side!
Releasing the quarantine
Release it from "Unquarantine" in the banner of the record details. No reason is required; enter confirm in the confirmation field and execute.
When I invoked it right after starting the release, a response came back with status 200.
Cleanup
While auto-detection is enabled, you cannot delete auto-detected records. Auto-detection cannot be turned off while quarantine release processing is ongoing, so proceed after confirming that the "Quarantine status" of all records has returned to "–".
Once you turn off auto-detection and the Registry status returns to READY, delete the records, and finally delete the Registry.
Lastly, delete the test Runtime from the AgentCore console.
Conclusion
Agent Registry has gotten stronger too! Personally, I found quarantining AI agents especially interesting. I wonder if we'll finally have to start thinking about that kind of governance too...
There are still lots of features I haven't touched, so I'd like to try them thoroughly and write blog posts about them!
I hope this article was of some help. Thank you for reading to the end!

