Build an AI Agent Registry
Send this guide to your coding agent.
Prerequisite: Install Port MCP
Open plan mode if your tool supports it; otherwise present the plan below filled in and wait for my approval. Implement this Port guide in my org via MCP: https://docs.port.io/guides/all/build-ai-agent-registry Read the raw markdown version at https://docs.port.io/guides/all/build-ai-agent-registry.md - it contains every tab and code block without page markup. Goal: get the guide's core flow working end-to-end in my org; adapting it to fit my existing setup takes priority over matching the guide 1:1. Plan: 1. Confirm MCP is connected, in the right org, with sufficient permissions. 2. If the guide offers alternative implementation paths (tabs), pick the one matching my installed integrations and tools, confirm it with me, and implement only that path. 3. Diff the guide's data model (blueprints, properties, relations, workflows, actions, agents, automations, integrations, webhook data sources, secrets) against mine. 4. Propose adaptations for gaps, reusing existing blueprints/relations over guide-named duplicates. 5. Flag what needs a UI click, credential, or secret from me, testing MCP capability empirically before ruling anything out. If the guide has a "Set up via API" section, use it for anything MCP can't do before treating a step as UI-only. 6. Stop on any blocker and give me options. Approving this plan authorizes the writes it lists; pause only for writes beyond what's listed. Build: - Extend blueprint schema additively when upserting; don't remove or overwrite existing properties, and treat type conflicts as a blocker, not an auto-fix. - Never print secret values into the chat or logs; ask me to set them in Port, or write them via the secrets API without echoing them back. - List any mock data in the plan, minimal and labeled mock; once approved, seed it without re-asking, and tell me what you seeded. - For anything the guide writes downstream (e.g. a webhook target), use a real entity, not a mock. - For pages/widgets, use the real page identifier from the app URL, not a guessed slug. - When you hit a UI step confirmed (not assumed) unsupported via MCP and not covered by the guide's API sections, pause, give exact clicks, then resume via MCP. - Validate and give links after each meaningful step (only a tool-returned URL, no guessed paths); don't proceed if the last run wasn't a success. Done: - Run the guide's "Let's test it" steps where possible (e.g. execute a workflow test run) and confirm the expected output exists in Port. - Summarize adaptations, seeded data, what was mocked or skipped, remaining UI steps, and how to verify.
This guide demonstrates how to build a centralized AI Agent Registry using Port, enabling your organization to discover, govern, and manage AI agents deployed across multiple cloud platforms in a single unified view.
Common use cases
-
Agent Discovery - Enable developers to find and reuse existing AI agents across the organization instead of building duplicates.
-
Multi-Cloud Visibility - View all AI agents from AWS Bedrock and Azure AI Foundry in one place.
-
Governance & Compliance - Track agent status, models used, and deployment regions for compliance requirements.
Prerequisites
-
A Port account with permissions to create blueprints and integrations.
-
Depending on which cloud providers you want to integrate:
- AWS
- Azure
- An AWS account with Bedrock agents or AgentCore runtimes deployed.
- AWS credentials (Access Key ID, Secret Access Key) with permissions to list Bedrock agents. Learn more
- For AgentCore, ensure
bedrock-agentcore:ListAgentRuntimespermission is available.
- An Azure account with AI Foundry agents deployed.
- Your Azure AI Foundry project endpoint URL and API key.
Set up data model
We'll create a blueprint to represent AI agents in your organization's catalog, tracking their platform, status, model, and region.
Create AI Agent blueprint
-
Go to the Builder page in Port.
-
Click on
+ Blueprint. -
Click on the
{...} Edit JSONbutton. -
Copy and paste the following JSON configuration:
AI Agent blueprint (Click to expand)
{"identifier": "aiAgent","description": "AI agents deployed across cloud platforms","title": "External AI Agent","icon": "GPU","schema": {"properties": {"description": {"title": "Description","type": "string","description": "What this agent does"},"platform": {"title": "Platform","type": "string","enum": ["aws-bedrock", "aws-agentcore", "azure-foundry"],"enumColors": {"aws-bedrock": "orange","aws-agentcore": "orange","azure-foundry": "blue"},"description": "Cloud platform where the agent is deployed"},"status": {"title": "Status","type": "string","enum": ["CREATING", "PREPARING", "PREPARED", "NOT_PREPARED", "ACTIVE", "DELETING", "FAILED", "VERSIONING", "UPDATING"],"enumColors": {"CREATING": "yellow","PREPARING": "yellow","PREPARED": "green","NOT_PREPARED": "red","ACTIVE": "green","DELETING": "pink","FAILED": "red","VERSIONING": "yellow","UPDATING": "yellow"},"description": "Current deployment status"},"model": {"title": "Model","type": "string","description": "Foundation model used by the agent"},"region": {"title": "Region","type": "string","description": "Cloud region where agent is deployed"},"createdAt": {"title": "Created At","type": "string","format": "date-time","description": "When the agent was created"},"updatedAt": {"title": "Updated At","type": "string","format": "date-time","description": "When the agent was last updated"}},"required": ["platform"]},"mirrorProperties": {},"calculationProperties": {},"relations": {}} -
Click
Createto save the blueprint.
Connect your cloud providers
Now that we have our data model, let's configure integrations to automatically discover AI agents from your cloud platforms.
- AWS Bedrock & AgentCore
- Azure AI Foundry
Ingest AWS Bedrock and AgentCore agents
Port's AWS integration can discover Bedrock agents and AgentCore runtimes using the Cloud Control API.
-
If you haven't already, install the AWS integration.
-
Add the following resource configurations to your AWS integration to ingest Bedrock agents:
AWS Bedrock Agent mapping (Click to expand)
resources:- kind: AWS::Bedrock::Agentselector:query: "true"useGetResourceAPI: trueport:entity:mappings:identifier: .Properties.AgentIdtitle: .Properties.AgentNameblueprint: '"aiAgent"'properties:description: .Properties.Descriptionplatform: '"aws-bedrock"'status: .Properties.AgentStatusmodel: .Properties.FoundationModelregion: .__RegioncreatedAt: .Properties.CreatedAtupdatedAt: .Properties.UpdatedAt -
To also ingest AgentCore runtimes, add this configuration:
AWS AgentCore Runtime mapping (Click to expand)
resources:- kind: AWS::BedrockAgentCore::Runtimeselector:query: "true"useGetResourceAPI: trueport:entity:mappings:identifier: .Properties.AgentRuntimeIdtitle: .Properties.AgentRuntimeNameblueprint: '"aiAgent"'properties:description: .Properties.Descriptionplatform: '"aws-agentcore"'status: .Properties.AgentRuntimeStatusregion: .__RegioncreatedAt: .Properties.CreatedAtupdatedAt: .Properties.LastUpdatedAt -
Click
Resyncto start discovering your AWS agents.
Ingest Azure AI Foundry agents
Use Port's Ocean Custom Integration to pull agents from Azure AI Foundry's REST API. You can install it as Hosted by Port or self-hosted (Helm or Docker).
The steps below use Hosted by Port.
Find your Azure AI Foundry credentials
Before configuring the integration, you'll need your Base URL and API Key from Azure. Base URL: Your Base URL follows this pattern: To find these values: API Key: For more details, see Microsoft's documentation on Foundry endpoints.How to find your Base URL and API Key (Click to expand)
RESOURCE_NAME is the Azure AI Services resource linked to your project (visible in the Azure portal under your resource group).
https://portal.azure.com/#@.../resource/subscriptions/.../resourceGroups/<RG>/providers/Microsoft.CognitiveServices/accounts/<RESOURCE_NAME>/...
Configure the integration
-
Go to the Data sources page.
-
Click
+ Data sourceand selectCustom. -
Under Select your installation method, choose Hosted by Port.
-
Configure the integration settings:
Setting Value Base URL https://<RESOURCE_NAME>.services.ai.azure.com/api/projects/<PROJECT_NAME>Auth Type api_keyAPI Key Header api-keyAPI Key Your API key from the Azure AI Foundry portal Pagination Type cursor -
After installation, configure the mapping in the integration's data sources page:
Azure AI Foundry agent mapping (Click to expand)
resources:- kind: /agentsselector:query: "true"data_path: ".data"query_params:api-version: "v1"port:entity:mappings:identifier: .idtitle: .nameblueprint: '"aiAgent"'properties:description: .versions.latest.descriptionplatform: '"azure-foundry"'status: .versions.latest.statusmodel: .versions.latest.definition.modelregion: '"<YOUR_REGION>"' -
Click
Resyncto discover your Azure agents.
Let's test it
After configuring your integrations, trigger a resync to populate your catalog:
-
Go to the Data sources page.
-
Find your cloud provider integration and click
Resync. -
Navigate to the AI Agent catalog page.
-
You should see your agents appearing from all connected cloud platforms.
Developers can now see all AI agents in one place, with key metadata like platform, status, model, and region visible at a glance.
Summary
You've built a centralized AI Agent Registry that:
- Discovers agents automatically from AWS Bedrock, AgentCore, and Azure AI Foundry.
- Provides a unified view of all agents across cloud platforms.
- Tracks key metadata including status, model, and region.
Next steps
- Learn how External agents and the Agent registry fit into Port's agent management model.
- Connect your AI agents to Port's MCP Server for AI-powered workflows.
- Build an MCP Server Registry to manage MCP tools alongside your agents.
- Use Port's AI Assistant to query your agent catalog using natural language.
- Add a scorecard to track agent production readiness.