Skip to main content

Genkit Google Cloud Plugin

Export Genkit telemetry to Google Cloud Trace, Cloud Monitoring, and Cloud Logging.

Installation

uv add genkit-google-cloud genkit-google-genai

Usage

from genkit import Genkit
from genkit_google_cloud import enable_google_cloud_telemetry
from genkit_google_genai import GoogleAI

enable_google_cloud_telemetry(project_id='my-project')

ai = Genkit(plugins=[GoogleAI()], model=GoogleAI.gemini_model('gemini-flash-latest'))

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

Sessions on Firestore

FirestoreSessionStore persists agent sessions durably: every turn is stored as a snapshot, sessions survive restarts and resume across processes, and status subscriptions enable features like a cross-process stop button.

from genkit_google_cloud import FirestoreSessionStore

store = FirestoreSessionStore()  # uses Application Default Credentials
# pass `store` where your agent setup takes a session store

Notes:

  • Data lives under three collection roots derived from collection (default genkit-sessions, plus -shards and -pointers). Delete all three together when cleaning up.
  • Multi-tenant apps pass snapshot_path_prefix to derive a per-tenant path segment from call context.
  • After a regenerate/branch, resume a specific branch by snapshot_id; session_id lookup follows the most recently written branch.
  • See the class docstring for costs, limits, and lifecycle details.

Release files for genkit-google-cloud 0.11.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-google-cloud 0.11.0
File Size Uploaded
genkit_google_cloud-0.11.0.tar.gz 69.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for genkit-google-cloud 0.11.0
File Interpreter ABI Platform
genkit_google_cloud-0.11.0-py3-none-any.whl Python 3 none any Details

Total release size: 131.6 kB

Release files / genkit_google_cloud-0.11.0.tar.gz

Download URL genkit_google_cloud-0.11.0.tar.gz
Size 69.2 kB
Tags Source
SHA-256 checksum
How to use checksums
4834084d519ae1e668c0d4046cebe80061538867d81ebc59d4903b2ec6b80268
BLAKE2b-256 checksum
How to use checksums
f2e8758b8fb44fe78f2180bf8faf3b282e0f0b99a3fe6c8a90b62304e7d8dc08
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 Sep 3, 2026.

Transparency log

Release files / genkit_google_cloud-0.11.0-py3-none-any.whl

Download URL genkit_google_cloud-0.11.0-py3-none-any.whl
Size 62.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b0079fe336468d9901acb46ff813da214e17c310c166306e2e8abb84f366bae3
BLAKE2b-256 checksum
How to use checksums
89414c64418b1b2e8729f538a37597d541924e1e4bf937ea20338a224c15b2c3
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 Sep 3, 2026.

Transparency log

Release history Release notifications | RSS feed

0.12.0

2 release files

This release

0.11.0 This release

2 release files

0.10.0

2 release files

0.9.0

2 release files

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