Skip to main content
Change of provenance

The repository or configuration that created this release differ from a previous release. View details.

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')],
)


async def main() -> None:
    res = await ai.generate(
        model='modelgarden/anthropic/claude-sonnet-4-6',
        prompt='Explain recursion in 10 words.',
    )
    print(res.text)
    # => A function that solves a problem by calling itself repeatedly.


if __name__ == '__main__':
    ai.run_main(main())

Authenticates with Google Cloud Application Default Credentials (ADC). The project comes from project=, then GCLOUD_PROJECT / GOOGLE_CLOUD_PROJECT, then the ADC project.

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.14.0

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

Change of provenance

The repository or configuration that created these release files differ from that of a previous release.

We recommend inspecting the repository and configuration before proceeding. View details.

Source distribution (sdist)

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

Built distribution (wheel)

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

Total release size: 40.0 kB

Release files / genkit_vertexai-0.14.0.tar.gz

Change of provenance

This file belongs to a release with changed provenance: the repository or configuration that created the release files differ from that of a previous release.

We recommend inspecting the repository and configuration before proceeding. View details.

Download URL genkit_vertexai-0.14.0.tar.gz
Size 20.8 kB
Tags Source
SHA-256 checksum
How to use checksums
5d407a3d68ffc81f747127d72149476d830e22b44ef0ecef3ae6e0adf034d13c
BLAKE2b-256 checksum
How to use checksums
051de204c85718227ffadca120362cbae07e2beff5e9dd9dfe8924a24709d887
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 19, 2026.

Transparency log

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

Change of provenance

This file belongs to a release with changed provenance: the repository or configuration that created the release files differ from that of a previous release.

We recommend inspecting the repository and configuration before proceeding. View details.

Download URL genkit_vertexai-0.14.0-py3-none-any.whl
Size 19.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e14a76c74f3c8b5ca66b56a695942598ef554b738c56257b8332ec2c0284f411
BLAKE2b-256 checksum
How to use checksums
7c64ebb6e6cf1106330af4271dfb3038c04a58e3b6726d01cf492a046f803d74
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 19, 2026.

Transparency log

Security for genkit-vertexai 0.14.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.

Change of provenance

The repository and configuration that created this release differ from a previous release.

While this could reflect a routine change by the project maintainers, it may also indicate that the release files have been compromised.

Select from 2 files

Attestation for genkit_vertexai-0.14.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 19, 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