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.2.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 livekit-plugins-google-extended 0.2.0
File Size Uploaded Provenance Actions
livekit_plugins_google_extended-0.2.0.tar.gz 78.6 kB Without provenance Details for livekit_plugins_google_extended-0.2.0.tar.gz

Built distribution (wheel)

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

Total release size: 167.7 kB

Release files / livekit_plugins_google_extended-0.2.0.tar.gz

Download URL livekit_plugins_google_extended-0.2.0.tar.gz
Size 78.6 kB
Tags Source
SHA-256 checksum
How to use checksums
1961fc0a80ae834f1d0a01213895f82febf0091bf849560e356655b048ae0a1b
BLAKE2b-256 checksum
How to use checksums
7d90c60d5024409499eff42efc78a0b4f7280774b2809177dd53cd8635531d94
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.2.0-py3-none-any.whl

Download URL livekit_plugins_google_extended-0.2.0-py3-none-any.whl
Size 89.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7fc342d1a6428b4428dcfd9cd681d71929c776b70b2e8c43e00055f3ce2ba46e
BLAKE2b-256 checksum
How to use checksums
40aebc55c2fa66cdafcd9fdd785530025c41969292df4e4247e5e297e85c303f
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.2.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.

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