AWS Builder Center

The AI Resource Registry

This registry is designed to be the central nervous system for your entire AI ecosystem. It is a secure, decentralized catalog where agents and human developers go to find capabilities, learn how to use them, and understand the security context required for them. This architecture is divided into five logical stages of maturity, moving from foundation to performance.

The AI Resource Registry

This registry is designed to be the central nervous system for your entire AI ecosystem. It is a secure, decentralized catalog where agents and human developers go to find capabilities, learn how to use them, and understand the security context required for them.
This architecture is divided into five logical stages of maturity, moving from foundation to performance.

Phase 1: Validated Foundation

You cannot govern what you cannot describe. The ad-hoc management of services—where one team calls it "the CRM API" and another "the Salesforce endpoint"—is the primary blocker. The foundation of this registry is to enforce strict, schema-validated identity upon every resource.
This phase is not about a single database; it's about defining logical catalogs that can isolate data by team, stage (Dev/QA/Prod), or even resource sensitivity.
Within these catalogs, the Registry Record is the central unit of data. The critical feature here is Validation on Ingestion. The registry will reject any record that is poorly defined, outdated, or undocumented. Four distinct types are supported:
  • 1.1 Model Context Protocol (MCP) Servers: Records for services using the open MCP standard. The system automatically validates the server configurations, tool definitions, and all input/output parameters against the protocol’s schema. This ensures an agent always knows how to "talk" to that service.
  • 1.2 Agents: For cataloging autonomous agents (internal or external), validated against the Agent-to-Agent (A2A) protocol. This standardizes how an agent describes its identity, capabilities, and communication protocols (its "Agent Card").
  • 1.3 Skills: For instructions that aren't APIs. These are documented in structured markdown, capturing the specific prompts, rules, context, and examples needed to guide an agent's reasoning.
  • 1.4 Custom Resources: For legacy REST APIs, databases, or niche knowledge bases that do not yet have a standard protocol. They are cataloged via a flexible, structured JSON definition.
This phase converts an unmanageable collection of endpoints into a clean, validated inventory of standardized organizational capabilities.

Phase 2: Hybrid Search & Native Discovery

An inventory is only useful if it can be consumed. In an AI world, we are building for two consumers: human engineers and AI agents finding capabilities dynamically.
Traditional search fails here. Machines cannot understand "I need a tool to manage travel," and humans don't want to type in exact API endpoints.
Our Discovery Engine solves this with a two-part Hybrid Search Mechanics:
  • Semantic Search: Converts search queries into mathematical vectors to understand the intent. This allows an agent (or person) to search using natural language (e.g., "book a trip") and be accurately matched with the relevant service, even if that service is named "flight-booking-v3".
  • Keyword Search: Focuses on exact, high-priority matches for resource names, tags, and IDs, crucial for quick navigation to known tools.
The engine merges these results and applies filtering (by protocol, version, etc.) to ensure the most relevant tools are found.
Most critically, the registry must be Native-MCP. This means the registry itself operates as an MCP server. This allows any standard-compliant AI agent or IDE to connect directly to the registry, browse the catalog, and dynamically "learn" exactly how to interact with authorized tools without any manual custom integration by a human developer.

Phase 3: Governance, Automation & Lifecycle

How do you prevent a new experimental agent or an outdated internal tool from being accidentally added to a critical production pipeline? You treat tool definitions with the same rigor you treat code. This is Phase 3.
We enforce a managed Lifecycle State Machine:
┌──────── edit approved → new draft revision ───────┐
│ │
▼ │
┌─────────┐ submit ┌──────────────────┐ approve ┌──────────┐ retire ┌────────────┐
│ Draft │ ───────► │ Pending Approval │ ────────► │ Approved │ ───────► │ Deprecated │
└─────────┘ └──────────────────┘ └──────────┘ └────────────┘
▲ │
│ │ reject
│ revise & resubmit ▼
│ ┌────────────┐
└──────────────── │ Rejected │
└────────────┘

Only Approved reaches the consumer index. Status attaches to the revision, not the record.
This is the ultimate bottleneck for trust. Only records marked as Approved are discoverable and usable. When a critical update is needed on an approved tool, we use Dual-Revision Safety: editing the approved record creates a new, non-visible Draft revision. The existing tool remains stable and active in production while the new version is validated and approved.
The registry is designed to trigger Event-Driven Automation Pipelines. When a record is submitted for approval, an event (e.g., via a standard corporate event bus) is triggered. This can automatically launch external compliance scanners, SAST security checks, or open necessary tickets in an enterprise management system, ensuring a standard is met before human review even begins.
Finally, we prevent outdated descriptions with Automated Metadata Synchronization. If a remote server supports it, the registry can be configured to poll that server on a schedule to automatically update its tool descriptions and parameters, keeping the catalog accurate without human maintenance.

Phase 4: Secure Isolation & Selective Disclosure

The registry is now a central repository of highly sensitive information about corporate infrastructure. We are exposing critical interfaces. Security is not an option; it is the entire system.
This phase is about moving past basic authentication and toward true granular access control. We define security at two points:
  • Control Plane Security: Access to edit, create, or approve records is restricted to validated admin roles. Audit Logging is mandatory, tracking who made every change, when, and what the change was.
  • Data Plane Security: Before an agent or person can even query the registry, they must authenticate using standards like OAuth 2.0 / JWT (or cloud-native credentials). The registry connects to the corporate identity provider (IdP) to validate the token.
The registry enforces Selective Disclosure. This means the search results are customized based on the requester's permissions. An unauthorized agent may be allowed to find that "The Financial Database API" exists, but it will only see non-sensitive fields. The registry will automatically hide or redact critical details (such as the Base URL or authentication endpoints). This enforces a "need to know" standard on infrastructure metadata. Highly sensitive resources are protected further as Authenticated Extended Cards, requiring elevated, distinct credentials to access their full details.

Phase 5: Optimized Scaling

We are building for a system that handles high volumes of automated lookups, often from agents running in quick parallel loops. The registry itself cannot become a bottleneck. Because tool definitions change infrequently, we are building to move work off the server.
This tier is entirely about client-side and edge optimization.
  • HTTP Caching Semantics: The registry API serves responses using standard HTTP headers (like  Cache-Control  with  max-age ). This allows clients and proxy servers to cache the tool schemas locally, dramatically reducing the number of repeat requests hitting the central registry.
  • Conditional Requests (ETags): The registry assigns a unique  ETag  (typically a content hash) to every record. When a client’s local cache expires, it sends a conditional request including the  ETag  ( If-None-Match ). If the record hasn't changed, the registry returns a lightweight  304 Not Modified  response, saving bandwidth and precious database processing time.
Any opinions in this article are those of the individual author and may not reflect the opinions of AWS.
Enjoyed reading this content? Let the author know!

Your likes, comments, shares, and saves help creators reach more builders.

Loading recommendations

Loading article