Stay organized with collections Save and categorize content based on your preferences.
This page describes how to manage agents that have been deploy to the Vertex AI Agent Engine managed runtime. Deployed agents are resources of type reasoningEngine in Vertex AI.
List deployed agents
List all deployed agents for a given project and location:
Console
In the Google Cloud console, go to the Vertex AI Agent Engine page.
Deployed agents that are part of the selected project appear in the list. You can use the Filter field to filter the list by your specified column.
Vertex AI SDK for Python
importvertexaiclient=vertexai.Client(# For service interactions via client.agent_enginesproject="PROJECT_ID",location="LOCATION",)foragentinclient.agent_engines.list():print(agent)
Deployed agents that are part of the selected project appear in the list. You can use the Filter field to filter the list by your specified column.
Click the name of the specified agent. The Metrics page for the agent opens.
(Optional) To view deployment details for the agent, click Deployment details. The Deployment details pane opens. To close the pane, click Done.
(Optional) To view the query and streamQuery URLs for the agent, click API URLs. The API URLs pane opens. To close the pane, click Done.
Vertex AI SDK for Python
The following code lets you get a specific deployed agent:
importvertexaiclient=vertexai.Client(# For service interactions via client.agent_enginesproject="PROJECT_ID",location="LOCATION",)remote_agent=client.agent_engines.get(name="projects/PROJECT_ID_OR_NUMBER/locations/LOCATION/reasoningEngines/RESOURCE_ID")
You should receive a successful status code (2xx) and an empty response.
Update a deployed agent
You can update one or more fields of the deployed agent at the same time, but you have to specify at least one of the fields to be updated. The amount of time it takes to update the deployed agent depends on the update being performed, but it generally takes between a few seconds to a few minutes.
Console
In the Google Cloud console, go to the Vertex AI Agent Engine page.
For your specified agent, click more actions menu (more_vert).
Click Edit. The Edit pane for the agent opens.
Edit the Display name or Description for the agent.
Click Save.
Vertex AI SDK for Python
To update a deployed agent (corresponding to RESOURCE_NAME) to an updated agent (corresponding to UPDATED_AGENT):
importvertexaiclient=vertexai.Client(# For service interactions via client.agent_enginesproject="PROJECT_ID",location="LOCATION",)client.agent_engines.update(name=RESOURCE_NAME,# Required.agent=UPDATED_AGENT,# Optional.config={# Optional."requirements":REQUIREMENTS,# Optional."display_name":"DISPLAY_NAME",# Optional."description":"DESCRIPTION",# Optional."extra_packages":EXTRA_PACKAGES,# Optional.},)
remote_agent.delete(force=True,# Optional, if the agent has resources (e.g. sessions, memory))
Alternatively, you can call agent_engines.delete() to delete the deployed agent corresponding to RESOURCE_NAME in the following way:
importvertexaiclient=vertexai.Client(# For service interactions via client.agent_enginesproject="PROJECT_ID",location="LOCATION",)client.agent_engines.delete(name=RESOURCE_NAME,force=True,# Optional, if the agent has resources (e.g. sessions, memory))
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-10 UTC."],[],[]]