def METHOD_NAME(self) -> AgentPluginRepositoryIndex:
    try:
        response = requests.get(f"{self._plugin_repository_url}/{INDEX_FILE_NAME}")
        repository_index_yml = yaml.safe_load(response.text)
        return AgentPluginRepositoryIndex(**repository_index_yml)
    except Exception as err:
        raise RetrievalError("Failed to get agent plugin repository index") from err