Skip to main content

LiveKit Plugins - Google Extended

License

This is an extended version of LiveKit's official livekit-plugins-google plugin with additional support for
Anthropic/Claude models.

About

This plugin extends the official LiveKit Google plugin to enable access to Anthropic's Claude models through Google Cloud's Vertex AI, while maintaining full compatibility with the original plugin's
functionality.

Original Plugin: livekit-plugins-google
License: Apache 2.0
Copyright: Original work © 2023 LiveKit, Inc. | Modifications © 2026 Harsh Mahajan

New Features

This extended version adds the following capabilities:

  1. Anthropic Model Support via Vertex AI

    • Access Claude models (Opus, Sonnet, Haiku) through Google Cloud Vertex AI
  2. Prompt Caching for Anthropic Models

    • Cache system prompts (agent instructions)
    • Configurable cache TTL (5 minutes or 1 hour)

Installation

pip install livekit-plugins-google-extended

Additional Dependencies

For Anthropic model support, you'll need:

pip install 'anthropic[vertex]'

Usage

Using Claude Models via Vertex AI

from livekit.plugins import google

# Initialize with Anthropic model llm = google.LLM( model="claude-sonnet-4-5@20250929", vertexai=True, use_anthropic=True, project="your-gcp-project", location="us-central1", anthropic_caching=True, # Enable prompt caching anthropic_cache_ttl="5m" # 5 minute cache duration )

Available Claude Models

  • claude-opus-4-5@20251101
  • claude-sonnet-4-5@20250929
  • claude-haiku-4-5@20251001
  • claude-3-haiku@20240307
  • claude-sonnet-4@20250514
  • claude-opus-4@20250514

Original Features

All original features from livekit-plugins-google are fully supported:

  • Google Gemini models
  • Cloud Speech-to-Text
  • Cloud Text-to-Speech
  • Vertex AI integration

See the https://docs.livekit.io/agents/integrations/google/ for details.

Attribution

This project is based on the https://github.com/livekit/agents/tree/main/livekit-plugins/livekit-plugins-google developed by LiveKit, Inc.

Original work Copyright © 2023 LiveKit, Inc.
Modifications Copyright © 2026 Harsh Mahajan

Licensed under the Apache License, Version 2.0. See LICENSE for details.

Contributing

This is a personal extension of the official plugin. For issues related to:

Links

Metadata

Release files for livekit-plugins-google-extended 0.1.2

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

Source distribution (sdist)

Source distribution for livekit-plugins-google-extended 0.1.2
File Size Uploaded Provenance Actions
livekit_plugins_google_extended-0.1.2.tar.gz 44.5 kB Without provenance Details for livekit_plugins_google_extended-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for livekit-plugins-google-extended 0.1.2
File Interpreter ABI Platform Actions
livekit_plugins_google_extended-0.1.2-py3-none-any.whl Python 3 none any Details for livekit_plugins_google_extended-0.1.2-py3-none-any.whl

Total release size: 95.5 kB

Release files / livekit_plugins_google_extended-0.1.2.tar.gz

Download URL livekit_plugins_google_extended-0.1.2.tar.gz
Size 44.5 kB
Tags Source
SHA-256 checksum
How to use checksums
01808e3caea1e6037c730109e72346d1da2b177240be0186dd8d4b8dbbd97c2b
BLAKE2b-256 checksum
How to use checksums
47b2065f4880e8ad6717cb42160151ba6ddb2a2f09771937d2bd4a01b7a15c5e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.11

Release files / livekit_plugins_google_extended-0.1.2-py3-none-any.whl

Download URL livekit_plugins_google_extended-0.1.2-py3-none-any.whl
Size 51.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1144efe469be5e1150f68a4e8016a141e041b1251f4ac8ebbff518823bc0ea8f
BLAKE2b-256 checksum
How to use checksums
84e7887089d95f8e9edc09dd1a5df2afd68070bf49184d2bb6041d02bdc97a11
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.11

Security for livekit-plugins-google-extended 0.1.2

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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