Skip to main content

Genkit Vertex AI Plugin

Integrate Genkit with Google Cloud Vertex AI Model Garden.

Building with a coding agent? Install the Genkit Python skill first.

npx skills add genkit-ai/skills --skill developing-genkit-python

It teaches your agent the current Genkit Python APIs and common gotchas. Source, manual install and skills for other languages: genkit-ai/skills.

Installation

Install the extra for the Model Garden publishers you call:

uv add 'genkit-vertexai[anthropic]'          # Claude
uv add 'genkit-vertexai[openai]'             # Llama, Mistral, and other OpenAI-compatible models
uv add 'genkit-vertexai[anthropic,openai]'   # both

The package without an extra serves no models. Calling a model without its extra raises an error naming the command to run.

Usage

from genkit import Genkit
from genkit_vertexai import ModelGarden

ai = Genkit(
    plugins=[ModelGarden(project='my-project', location='us-central1')],
)

res = await ai.generate(
    model='modelgarden/anthropic/claude-3-5-sonnet-v2@20241022',
    prompt='Explain recursion in 10 words.',
)
print(res.text)

Requires Google Cloud Application Default Credentials (ADC) or explicit credentials.

Every call runs on those Google Cloud credentials. A per-request key in context={'secrets': {'api_key': ...}} fails with INVALID_ARGUMENT before any request is sent, so a tenant's key never runs on the app's account. Other entries in context.secrets are ignored.

Metadata

Release files for genkit-vertexai 0.13.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for genkit-vertexai 0.13.0
File Size Uploaded Provenance Actions
genkit_vertexai-0.13.0.tar.gz 20.7 kB With provenance Details for genkit_vertexai-0.13.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for genkit-vertexai 0.13.0
File Interpreter ABI Platform Actions
genkit_vertexai-0.13.0-py3-none-any.whl Python 3 none any Details for genkit_vertexai-0.13.0-py3-none-any.whl

Total release size: 39.7 kB

Release files / genkit_vertexai-0.13.0.tar.gz

Download URL genkit_vertexai-0.13.0.tar.gz
Size 20.7 kB
Tags Source
SHA-256 checksum
How to use checksums
b005d4a2b89bd82278a07c43e65d0db17d308c774ff6beb7f1fec5a8ff39814e
BLAKE2b-256 checksum
How to use checksums
4570c25be99a208472eae669b5cb67b78bae575d4d005f8d1f09e1a5f3fd1025
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 5, 2026.

Transparency log

Release files / genkit_vertexai-0.13.0-py3-none-any.whl

Download URL genkit_vertexai-0.13.0-py3-none-any.whl
Size 19.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
122b9025bb5874d37875717675e67f93b054552ea90e71129e5f66d2617cc754
BLAKE2b-256 checksum
How to use checksums
d18eebc8f48232a7cac9478a0bf892b778e62d53385ec90ef26e380cc6224819
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 5, 2026.

Transparency log

Security for genkit-vertexai 0.13.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for genkit_vertexai-0.13.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 5, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page