Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
1df7a6b
Add Vertex AI Agent Engine operators (Create, Get, Query, Update, Del…
AlejandroMorgante Jun 12, 2026
c5b29be
Fix Vertex AI Agent Engine delete trigger
AlejandroMorgante Jun 12, 2026
15e7869
Fix Google provider metadata ordering
AlejandroMorgante Jun 12, 2026
06893ee
Trigger CI
AlejandroMorgante Jun 13, 2026
1382d0a
Parse JSON string input in query_agent_engine to handle Jinja-templat…
AlejandroMorgante Jun 13, 2026
1203c44
Address review comments on Vertex AI Agent Engine operators
AlejandroMorgante Jun 15, 2026
eaba450
Fix Agent Engine delete trigger timeout test
AlejandroMorgante Jun 15, 2026
634f99d
Use Agent Engine ID in Vertex AI operators
AlejandroMorgante Jun 16, 2026
caa83ce
Log Vertex AI Agent Engine operator actions
AlejandroMorgante Jun 16, 2026
64e08f1
Type Vertex AI Agent Engine hook results
AlejandroMorgante Jun 16, 2026
1618335
Tighten Vertex AI Agent Engine API surface
AlejandroMorgante Jun 16, 2026
0fe6369
Update lock file for Agent Engine dependencies
AlejandroMorgante Jun 16, 2026
09b7cb5
Update Google provider dependency docs
AlejandroMorgante Jun 16, 2026
720effc
Wait for Agent Engine delete operations
AlejandroMorgante Jun 18, 2026
a0b0054
Remove Agent Engine delete resource polling
AlejandroMorgante Jun 18, 2026
44b5f2c
Use public Agent Engine query job API
AlejandroMorgante Jun 19, 2026
4dce0a0
Document Agent Engine query job config
AlejandroMorgante Jun 19, 2026
f5e3278
Add CheckQueryAgentEngineOperator and fix query operator
AlejandroMorgante Jun 19, 2026
f577886
Fix _serialize_value duplication and unknown status handling in Agent…
AlejandroMorgante Jun 19, 2026
587c5de
Fix timeout comparison to >= in Agent Engine hook polling loops
AlejandroMorgante Jun 19, 2026
3f20a0d
Fix mypy errors in Agent Engine trigger and system test config types
AlejandroMorgante Jun 19, 2026
78d1e43
Handle Agent Engine polling edge cases
AlejandroMorgante Jun 20, 2026
e012207
Clarify Agent Engine delete operation docs
AlejandroMorgante Jun 20, 2026
7025dde
Tighten Agent Engine delete operation test
AlejandroMorgante Jun 24, 2026
4455a29
Improve Vertex AI Agent Engine query operators
AlejandroMorgante Jun 26, 2026
91df057
Fix mypy type error in RunQueryJobOperator wait assignment
AlejandroMorgante Jun 26, 2026
cccc3cd
Simplify Vertex AI Agent Engine system test setup
AlejandroMorgante Jun 27, 2026
140ee30
Update Vertex AI Agent Engine system test
AlejandroMorgante Jun 29, 2026
178de31
Fix Vertex AI Agent Engine system test docs
AlejandroMorgante Jun 29, 2026
6e0a23f
Avoid blocking Agent Engine operation polling
AlejandroMorgante Jul 1, 2026
9d74419
Add api reference links for Vertex AI Agent Engine
AlejandroMorgante Jul 2, 2026
54dbed9
Use canonical Google docs domain for Agent Engine reference links
AlejandroMorgante Jul 2, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions providers/google/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ PIP package Version required
``google-api-python-client`` ``>=2.0.2``
``google-auth`` ``>=2.29.0``
``google-auth-httplib2`` ``>=0.0.1``
``google-genai`` ``>=2.8.0``
``google-cloud-aiplatform[evaluation]`` ``>=1.155.0``
``ray[default]`` ``>=2.42.0; python_version < "3.13"``
``ray[default]`` ``>=2.49.0; python_version >= "3.13" and python_version < "3.14"``
Expand Down
1 change: 1 addition & 0 deletions providers/google/docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ PIP package Version required
``google-api-python-client`` ``>=2.0.2``
``google-auth`` ``>=2.29.0``
``google-auth-httplib2`` ``>=0.0.1``
``google-genai`` ``>=2.8.0``
``google-cloud-aiplatform[evaluation]`` ``>=1.155.0``
``ray[default]`` ``>=2.42.0; python_version < "3.13"``
``ray[default]`` ``>=2.49.0; python_version >= "3.13" and python_version < "3.14"``
Expand Down
65 changes: 65 additions & 0 deletions providers/google/docs/operators/cloud/vertex_ai.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,71 @@ With Vertex AI, both AutoML training and custom training are available options.
Whichever option you choose for training, you can save models, deploy models, and
request predictions with Vertex AI.

Managing Agent Engines
^^^^^^^^^^^^^^^^^^^^^^

The operators below manage `Vertex AI Agent Engine
<https://docs.cloud.google.com/vertex-ai/generative-ai/docs/agent-engine/overview>`__ resources.

To create a Vertex AI Agent Engine you can use
:class:`~airflow.providers.google.cloud.operators.vertex_ai.agent_engine.CreateAgentEngineOperator`.

.. exampleinclude:: /../../google/tests/system/google/cloud/vertex_ai/example_vertex_ai_agent_engine.py
:language: python
:dedent: 4
:start-after: [START how_to_cloud_vertex_ai_create_agent_engine_operator]
:end-before: [END how_to_cloud_vertex_ai_create_agent_engine_operator]

To get an Agent Engine you can use
:class:`~airflow.providers.google.cloud.operators.vertex_ai.agent_engine.GetAgentEngineOperator`.

.. exampleinclude:: /../../google/tests/system/google/cloud/vertex_ai/example_vertex_ai_agent_engine.py
:language: python
:dedent: 4
:start-after: [START how_to_cloud_vertex_ai_get_agent_engine_operator]
:end-before: [END how_to_cloud_vertex_ai_get_agent_engine_operator]

To run a query job on an Agent Engine you can use
:class:`~airflow.providers.google.cloud.operators.vertex_ai.agent_engine.RunQueryJobOperator`.
The operator uses the public ``run_query_job`` SDK method. The ``config`` parameter
can include ``query`` and ``output_gcs_uri``. The SDK writes query input and output
through Google Cloud Storage. By default, the operator waits for the query job to
complete and returns the serialized query job result. Set ``retrieve_result`` to
``True`` in ``check_config`` to return the query job result from Google Cloud Storage.

.. exampleinclude:: /../../google/tests/system/google/cloud/vertex_ai/example_vertex_ai_agent_engine.py
:language: python
:dedent: 4
:start-after: [START how_to_cloud_vertex_ai_run_query_job_operator]
:end-before: [END how_to_cloud_vertex_ai_run_query_job_operator]

The same operation can be performed in the deferrable mode.

.. exampleinclude:: /../../google/tests/system/google/cloud/vertex_ai/example_vertex_ai_agent_engine.py
:language: python
:dedent: 4
:start-after: [START how_to_cloud_vertex_ai_run_query_job_operator_deferrable]
:end-before: [END how_to_cloud_vertex_ai_run_query_job_operator_deferrable]

To update an Agent Engine you can use
:class:`~airflow.providers.google.cloud.operators.vertex_ai.agent_engine.UpdateAgentEngineOperator`.

.. exampleinclude:: /../../google/tests/system/google/cloud/vertex_ai/example_vertex_ai_agent_engine.py
:language: python
:dedent: 4
:start-after: [START how_to_cloud_vertex_ai_update_agent_engine_operator]
:end-before: [END how_to_cloud_vertex_ai_update_agent_engine_operator]

To delete an Agent Engine you can use
:class:`~airflow.providers.google.cloud.operators.vertex_ai.agent_engine.DeleteAgentEngineOperator`.
By default, the operator waits until the delete operation completes.

.. exampleinclude:: /../../google/tests/system/google/cloud/vertex_ai/example_vertex_ai_agent_engine.py
:language: python
:dedent: 4
:start-after: [START how_to_cloud_vertex_ai_delete_agent_engine_operator]
:end-before: [END how_to_cloud_vertex_ai_delete_agent_engine_operator]

Creating Datasets
^^^^^^^^^^^^^^^^^

Expand Down
2 changes: 2 additions & 0 deletions providers/google/provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -615,6 +615,7 @@ operators:
- airflow.providers.google.cloud.operators.vertex_ai.generative_model
- airflow.providers.google.cloud.operators.vertex_ai.feature_store
- airflow.providers.google.cloud.operators.vertex_ai.ray
- airflow.providers.google.cloud.operators.vertex_ai.agent_engine
- integration-name: Google Data Studio
python-modules:
- airflow.providers.google.cloud.operators.looker
Expand Down Expand Up @@ -901,6 +902,7 @@ hooks:
- airflow.providers.google.cloud.hooks.vertex_ai.generative_model
- airflow.providers.google.cloud.hooks.vertex_ai.prediction_service
- airflow.providers.google.cloud.hooks.vertex_ai.feature_store
- airflow.providers.google.cloud.hooks.vertex_ai.agent_engine
- airflow.providers.google.cloud.hooks.vertex_ai.ray
- integration-name: Google Data Studio
python-modules:
Expand Down
1 change: 1 addition & 0 deletions providers/google/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ dependencies = [
"google-api-python-client>=2.0.2",
"google-auth>=2.29.0",
"google-auth-httplib2>=0.0.1",
"google-genai>=2.8.0",
# google-cloud-aiplatform doesn't install ray for python 3.12 (issue: https://github.com/googleapis/python-aiplatform/issues/5252).
# Temporarily lock in ray 2.42.0 which is compatible with python 3.12 until linked issue is solved.
# Remove the ray dependency as well as google-cloud-bigquery-storage once linked issue is fixed
Expand Down
Loading