Exposing an AI agent using the A2A protocol > Overview > Step 1. Download the zip file
  

Step 1. Download the zip file

The Informatica A2A adapter is packaged as a zip file that contains a Python configuration file, the adapter engine, and a text file you use to install the required Python libraries. You modify the configuration file but not the other files.
Use this link to download the zip file. Extract the contents into a directory on the host machine, and ensure that all files are in the same directory.
The zip file contains the following files:
Configuration file: agents_config.py
Configure this file to register your AI agents with the adapter. To configure the file, fill in the fields for each agent you want to expose. The file contains details about each field.
You can add multiple agents to this file. A sample configuration with two AI agents is included in a comment at the end of the file. You can use this section as a template.
Adapter engine: informatica_a2a_adapter.py
This script is the core engine that runs the adapter. Do not modify this script.
This script reads the configuration information from the agents_config.py configuration file and performs the following tasks:
  1. 1Starts a FastAPI web server on the configured port.
  2. 2Dynamically registers the following HTTP endpoints for each agent:
  3. 3Calls the GET /health endpoint to confirm that the adapter is running and lists all registered agents.
Python dependencies file: requirements.txt
This text file lists the Python packages needed to run the adapter. Do not modify this file.
You use this file to install the required Python packages with pip.
The following table lists the packages:
Package
Version
Description
fastapi
0.135.2
Web framework that powers the adapter endpoints.
uvicorn
0.34.0
ASGI server that runs the FastAPI app.
httpx
0.28.1
Asynchronous HTTP client used to forward requests to Informatica.
urllib3
2.1.0
HTTP utilities used to suppress SSL warnings for internal calls.