← News

AI agents

AWS Agent Registry Adds Custom Metadata Schemas for Agent Governance

AWS Agent Registry now lets administrators define custom metadata schemas that every record must satisfy, so approval, discovery and agent search share one set of facts.

Published: 2026-11-18 13:16 UTCUpdated: 2026-11-18 13:16 UTCSource date: 2026-11-17

AWS Agent Registry now supports custom metadata schemas, according to a post on the company's machine learning blog. The registry is a catalog for registering, approving and discovering agents, Model Context Protocol servers and skills. Previously each record carried only a name, description, protocol descriptor and approval status, leaving organizations no way to store their own facts, such as business unit, owner, risk tier or environment, on those records. The new feature lets an administrator define a set of key-value fields and enforces that schema on every record in the registry.

AWS says schema fields can be Text, Enum, URL or Boolean, and can be required or optional. A schema can include common attributes that apply to all record types plus dedicated fields for specific types, such as a network egress attribute that applies only to MCP records. When a record is created or updated, the registry validates its metadata. A record created with no metadata at all is saved as NON_COMPLIANT, so a team can keep work in progress but cannot submit it for approval until required fields are filled. A record with an unknown field, a missing required field or an invalid value is rejected with a ValidationException.

The mechanism moves governance out of scattered spreadsheets and into the registry itself. In the walkthrough, a fictional payments team publishes a read-only ledger lookup server called payments-ledger-mcp. Its first submission sets environment to "production", which is outside the administrator's enumeration of prod, staging and dev, and is rejected; after sending "prod", the record is created as a compliant draft. Automation then calls a security scanner and a configuration management database, writes scan status, a CMDB identifier and a data classification, and submits the record.

Approval is handled by a custom Lambda function triggered through an EventBridge event. The function reads the record's metadata and compliance status and checks four conditions: the record is compliant, the scan passed, a CMDB identifier exists, and the data is classified public or internal. Only then does it approve; otherwise it rejects the record and names the failed check. The post suggests routing records with confidential or restricted data to manual review instead of outright rejection.

Discovery benefits as well. Custom metadata values are indexed, so a developer can combine a natural-language query with filters such as environment=prod, businessUnit=payments and securityScanStatus=PASSED, and only approved records are returned. Agents can run the same search through the registry's MCP endpoint. In the sample, a Strands agent connects to that endpoint and uses a model on Amazon Bedrock to turn a plain-language request for a production payments ledger MCP server that passed its security scan into a filtered query.

Schema evolution follows strict rules. AWS says changes are additive only: administrators may add fields or allowed values, or make an optional field required, but cannot rename, remove or retype a field. Existing records are not rewritten after a schema change; a record that no longer matches is reported as NON_COMPLIANT and keeps its approval status, and its next update must satisfy the new schema. Editing an approved record creates a draft that must be resubmitted, and consumers keep seeing the approved revision until the new one is accepted. AWS also advises keeping secrets, internal endpoints and detailed findings out of broadly readable metadata.

In inference, the feature's practical value depends on organizations settling a shared vocabulary before defining schemas, otherwise teams may simply extend fields on their own. For teams whose agent fleets are growing quickly, centralizing ownership, cost center, risk tier and scan evidence in the registry could let approval automation and agent-driven discovery rest on verifiable structured facts. AWS says the feature is available in supported Regions and points to a sample implementation repository.


Related articles