This tutorial demonstrates how to use Gemini Enterprise Agent Platform in production and
covers getting started with Vertex AI Experiments.

## Notebook: Get started with Vertex AI Experiments

> [!NOTE]
> To see an example of getting started with Vertex AI Experiments,
> run the "Get started with Experiments" notebook in one of the following
> environments:
>
> [![](https://docs.cloud.google.com/static/vertex-ai/images/colab-logo-32px.png)Open in Colab](https://colab.research.google.com/github/GoogleCloudPlatform/vertex-ai-samples/blob/main/notebooks/official/experiments/get_started_with_vertex_experiments.ipynb)
>
>
> \|
>
> [![](https://docs.cloud.google.com/static/vertex-ai/images/colab-enterprise-logo-32px.png)Open in Colab Enterprise](https://console.cloud.google.com/agent-platform/colab/import/https%3A%2F%2Fraw.githubusercontent.com%2FGoogleCloudPlatform%2Fvertex-ai-samples%2Fmain%2Fnotebooks%2Fofficial%2Fexperiments%2Fget_started_with_vertex_experiments.ipynb)
>
>
> \|
>
> [![](https://docs.cloud.google.com/static/vertex-ai/images/vertex-ai-workbench-logo-32px.png)Open
> in Agent Platform Workbench](https://console.cloud.google.com/agent-platform/workbench/deploy-notebook?download_url=https://raw.githubusercontent.com/GoogleCloudPlatform/vertex-ai-samples/main/notebooks/official/experiments/get_started_with_vertex_experiments.ipynb)
>
>
> \|
>
> [![](https://docs.cloud.google.com/static/vertex-ai/images/github-logo-32px.png)View on GitHub](https://github.com/GoogleCloudPlatform/vertex-ai-samples/blob/main/notebooks/official/experiments/get_started_with_vertex_experiments.ipynb)

This tutorial uses the following Google Cloud ML services:

- Vertex AI Experiments
- Vertex ML Metadata
- Gemini Enterprise Agent Platform training

The steps performed include:

- Local (notebook) training
  - Create an experiment.
  - Create a first run in the experiment.
  - Log parameters and metrics.
  - Create artifact lineage.
  - Visualize the experiment results.
  - Execute a second run.
  - Compare the two runs in the experiment.
- Cloud (Agent Platform) training
  - Within the training script:
    - Create an experiment.
    - Log parameters and metrics.
    - Create artifact lineage.
  - Create a Gemini Enterprise Agent Platform training custom job.
  - Execute the custom job.
  - Visualize the experiment results.

## Relevant content

- [Introduction to Vertex AI Experiments](https://docs.cloud.google.com/gemini-enterprise-agent-platform/machine-learning/experiments/intro-vertex-ai-experiments.md.txt)