Exposing an AI agent using the A2A protocol > Overview > Step 3. Register your AI agents with the adapter
  

Step 3. Register your AI agents with the adapter

To register your AI agents with the adapter, edit the agents_config.py file and fill in the fields for each AI agent you want to expose.
The agents_config.py file contains details about each field.
The following section of the configuration file shows the field details:
# ─────────────────────────────────────────────
# Informatica Agents
# ─────────────────────────────────────────────
# Each entry exposes one Informatica agent over A2A.
#
# Fields:
# ai_agent_url - REST service URL (set above)
# card - Agent Card metadata shown to A2A clients
# name - Stable routing key AND A2A identity.
# Drives the URL path (e.g. "supply-chain-agent" → /supply-chain-agent).
# Changing this is a breaking change for any client using the URL.
# description - What this agent does
# skills - List of skill objects the agent supports
If you need to add multiple agents, a sample configuration with two agents, "supply-chain-agent" and "pinecone-rag-agent," is included in a comment at the bottom of the file. You can use this comment as a template.
The following section of the configuration file shows the example:
AGENTS = [
{
"ai_agent_url": "https://aspsrsud06.informatica.com:19553/a2e/0A3mSOUpgNAiPyPFsFyPAx/a2a_agent1",
"card": {
"name": "supply-chain-agent",
"description": "Supply Chain agent that handles customer details, shipping quotes, airport risk, and orders",
"skills": [
{
"id": "customer-details",
"name": "Customer Information",
"description": "Retrieves customer details",
"tags": ["customer", "crm"]
},
{
"id": "shipping-quotes",
"name": "Shipping Calculator",
"description": "Calculates shipping prices",
"tags": ["shipping", "pricing"]
}
]
}
},
{
"ai_agent_url": "https://aspsrsud05.informatica.com:19449/a2e/kUbONIPa2gSjTKKhHLTqyW/a2a_agent2",
"card": {
"name": "pinecone-rag-agent",
"description": "RAG agent for product information using Pinecone",
"skills": [
{
"id": "product-search",
"name": "Product Search",
"description": "Search product information",
"tags": ["products", "search"]
}
]
}
}
]