skillfed

vertexai

Please run pip install vertexai to use the Vertex SDK.

vertexai v1.71.1 4.7M downloads/30d#2,242 on PyPI903
Permissive license Apache 2.0 Active released

What it is and what it does

The vertexai package is Google's official Python SDK for the Gemini Enterprise Agent Platform, a managed service for building and deploying AI agents. It wraps the underlying google-cloud-aiplatform library and provides high-level APIs for defining agents using the Agent Development Kit (ADK), running generative AI inference and evaluation, optimizing prompts, and deploying agents to a managed runtime. The package handles authentication, API communication, and lifecycle management for agents and generative AI workloads on Google Cloud.

Typical workflows include instantiating a client with your GCP project and location, defining agent functions or using ADK to create agents with tool bindings, running inference or evaluation on model outputs, and deploying agents to Agent Engine for production use. The SDK supports both local testing (async streaming) and remote deployment, making it suitable for developers building conversational agents, question-answering systems, and other AI-driven applications that need to integrate with Google Cloud infrastructure.

Use it for:

  • Build and deploy multi-turn conversational agents with tool integration using the Agent Development Kit.
  • Run batch inference and evaluation on generative AI model outputs using built-in metrics like exact_match and rouge_l_sum.
  • Optimize prompts for better model performance using zero-shot or data-driven optimization methods.
  • Manage agent sandboxes, sessions, and memory banks for stateful agent interactions.
  • Evaluate and compare model responses against reference outputs in production workflows.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Python SDK for building, deploying, and managing AI agents and generative AI applications on Google's Gemini Enterprise Agent Platform (formerly Vertex AI).

Yes, if you are building AI agents or generative AI applications on Google Cloud. The package is actively maintained, has low install friction, carries a permissive license, and integrates deeply with Google's managed agent platform. Be aware that major API reorganization is planned (rebranding agent_engines to runtimes, relocating modules) before version 2.0.0; pin to < 2.0.0 if stability is critical. No known vulnerabilities.

Install

vertexai on PyPI

pip

pip install vertexai

uv

uv add vertexai

poetry

poetry add vertexai

Installing vertexai

Before you install

Low install friction with a single runtime dependency (google-cloud-aiplatform). Actively maintained with recent commits and steady releases; supports current Python versions (3.8+).

License in practice

Apache 2.0 permissive license allows commercial and private use with minimal restrictions; suitable for most production and proprietary projects.

Quickstart

pip install vertexai

import vertexai
client = vertexai.Client(project='my-project', location='us-central1')
inference_results = client.evals.run_inference(
    model="gemini-2.5-flash-preview-05-20",
    src=prompts_df
)

Requires Google Cloud credentials and a valid GCP project; API access to Gemini models must be enabled in your project.

Verify before relying

  • Whether the upcoming rebranding (agent_engines → runtimes, module relocations) will occur before or after version 2.0.0 and what migration path is recommended.
  • Performance characteristics and rate limits for concurrent agent deployments and inference calls.
  • Compatibility guarantees with specific google-cloud-aiplatform versions beyond the single runtime dependency.

Package facts

License Apache 2.0 (permissive)
Python support supports the current Python release (>=3.8)
Install friction low — pure-Python wheel
Runtime dependencies 1 — google-cloud-aiplatform
Maintenance actively maintained — 652 days since the last release
Last repo commit
First released
Downloads 4,741,294/month — #2,242 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: vertexai-1.71.1-py3-none-any.whl

Tags

google vertex ai sdkgemini agent platform pythonbuild deploy ai agentsgoogle cloud generative aivertex ai client libraryagent development kit pythonprompt optimization sdk
google-cloudagent-frameworkgenerative-ai

More Artificial Intelligence packages

litellm

LiteLLM provides a unified Python interface to…

permissive · top 100 on PyPI

huggingface-hub

Client library and CLI tool for downloading,…

permissive · top 100 on PyPI

langchain

LangChain provides a framework for building…

permissive · top 1,000 on PyPI

hf-xet

hf-xet provides chunk-based deduplication and…

permissive · top 1,000 on PyPI

tokenizers

Tokenizers converts raw text into token…

permissive · top 1,000 on PyPI

transformers

Transformers provides a unified framework for…

permissive · top 1,000 on PyPI

google-cloud-aiplatform

Python SDK for building, deploying, and…

permissive · top 1,000 on PyPI

google-antigravity

Builds and runs AI agents powered by Google's…

permissive · top 15,000 on PyPI

google-agents-cli

A CLI toolchain that equips coding agents…

permissive · top 15,000 on PyPI

google-genai

Python SDK for integrating Google's Gemini…

permissive · top 1,000 on PyPI

google-adk

A Python framework for building, testing, and…

permissive · top 5,000 on PyPI

google-generativeai

Provides a Python client library for calling…

permissive · top 5,000 on PyPI

langchain-google-vertexai

Connects LangChain applications to Google…

permissive · top 1,000 on PyPI

livekit-plugins-google

Integrates Google Cloud AI services (Gemini,…

permissive · top 5,000 on PyPI

llama-index-llms-vertex

Integrates Google Vertex AI's LLM capabilities…

permissive · top 15,000 on PyPI

notebooklm-py

Programmatic access to Google Gemini Notebook…

permissive · top 15,000 on PyPI