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-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.session_store.firestore 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.10.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.10.0
File Size Uploaded
genkit_google_cloud-0.10.0.tar.gz 72.5 kB Details

Built distribution (wheel)

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

Total release size: 135.1 kB

Release files / genkit_google_cloud-0.10.0.tar.gz

Download URL genkit_google_cloud-0.10.0.tar.gz
Size 72.5 kB
Tags Source
SHA-256 checksum
How to use checksums
cbbee18ca5b054818e6b8dfc6a30d707b8a8db647fb9d833aca9fa1a017a9f32
BLAKE2b-256 checksum
How to use checksums
6e1a65e654834d2d980bc70c1b267e9f717893e32fe09766b9ab21a9967b4366
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 Aug 20, 2026.

Transparency log

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

Download URL genkit_google_cloud-0.10.0-py3-none-any.whl
Size 62.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f1939a6411c14a8e9a4955d47139dbd80559326fbd5b68a31006783e039d35ea
BLAKE2b-256 checksum
How to use checksums
d72d49c95e007e1e33f37b8f0e15db2370df5ff0e8d8b574e6b967440947b3e5
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 Aug 20, 2026.

Transparency log

Release history Release notifications | RSS feed

0.12.0

2 release files

This release

0.10.0 This release

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