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

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.1
File Size Uploaded Provenance Actions
livekit_plugins_google_extended-0.2.1.tar.gz 78.5 kB Without provenance Details for livekit_plugins_google_extended-0.2.1.tar.gz

Built distribution (wheel)

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

Total release size: 167.6 kB

Release files / livekit_plugins_google_extended-0.2.1.tar.gz

Download URL livekit_plugins_google_extended-0.2.1.tar.gz
Size 78.5 kB
Tags Source
SHA-256 checksum
How to use checksums
e2a61bccae746e27a667f2635a3090bb9edfe43291bfa6cc7a49fb803d9f96ac
BLAKE2b-256 checksum
How to use checksums
079839f7690560b3abe1db66ec3f3470f03830f05a9d8116396374968376182b
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.1-py3-none-any.whl

Download URL livekit_plugins_google_extended-0.2.1-py3-none-any.whl
Size 89.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6fa3039b7b4d682972ac201143be94a1f4aaf859b4c1546ec438bff4f5397a1b
BLAKE2b-256 checksum
How to use checksums
a1c18979560874b9e3f363d9a0db2ca7195ea15f93a649803a44e34cbbb9df50
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.1

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