Interfaces for Gemini Enterprise Agent Platform Pipelines

This page lists the interfaces that you can use to define and run ML pipelines on Agent Platform Pipelines.

Interfaces to define a pipeline

Agent Platform Pipelines supports ML pipelines defined using the Kubeflow Pipelines (KFP) SDK or the TensorFlow Extended (TFX) SDK.

Kubeflow Pipelines (KFP) SDK

Kubeflow Pipelines logoUse KFP for all use cases where you don't need to use TensorFlow Extended to process huge amounts of structured or text data. Agent Platform Pipelines supports KFP SDK v2.0 or later.

When you use the KFP SDK, you can define your ML workflow by building custom components and also by reusing prebuilt components, such as the Google Cloud Pipeline Components. Google Cloud Pipeline Components let you easily use Gemini Enterprise services like AutoML in your ML pipeline. Agent Platform Pipelines supports Google Cloud Pipeline Components SDK v2 or later. For more information about Google Cloud Pipeline Components, see Introduction to Google Cloud Pipeline Components .

To learn how to build a pipeline using the Kubeflow Pipelines, see Build a pipeline . To learn more about Kubeflow Pipelines, see the Kubeflow Pipelines documentation .

TensorFlow Extended (TFX) SDK

TFX SDK logoUse TFX if you use TensorFlow Extended in your ML workflow to process terabytes of structured or text data. Agent Platform Pipelines supports TFX SDK v0.30.0 or later.

To learn how to build ML pipelines using TFX, see the Getting started tutorials section on the TensorFlow Extended in Production tutorials .

Interfaces to run a pipeline

After you define your ML pipeline, you can create an ML pipeline run using any of the following interfaces:

  • REST API

  • SDK clients

  • Google Cloud console

For more information about the interfaces you can use to interact with Gemini Enterprise API, see Interfaces for Gemini Enterprise API .

REST API

To create a pipeline run using REST, use the Pipelines service API. This API uses the projects.locations.pipelineJobs REST resource.

SDK Clients

Agent Platform Pipelines lets you create pipeline runs using the Vertex AI SDK for Python or client libraries.

Vertex AI SDK for Python

The Vertex AI SDK for Python ( aiplatform ) is the recommended SDK for programmatically working with the Pipelines service API. For more information about this SDK, see the API documentation for google.cloud.aiplatform.PipelineJob .

Client libraries

Client libraries are programmatically Generated API Clients (GAPIC) SDKs. Agent Platform Pipelines supports the following client libraries:

  • Python ( aiplatform v1 and v1beta1 )

  • Java

  • Node.js

  • Go

For more information, see Install the Gemini Enterprise Agent Platform client libraries .

Google Cloud console (GUI)

Google Cloud console is the recommended way for reviewing and monitoring your pipeline runs. You can also perform other tasks using the Google Cloud console, such as creating, deleting and cloning pipeline runs, accessing the Template Gallery, and retrieving the billing label for a pipeline run.

Go to Pipelines in Google Cloud console

What's next

Create a Mobile Website
View Site in Mobile | Classic
Share by: