Agent Framework plugin for services from Google Cloud
Project description
LiveKit Plugins - Google Extended
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:
-
Anthropic Model Support via Vertex AI
- Access Claude models (Opus, Sonnet, Haiku) through Google Cloud Vertex AI
-
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:
- Original functionality: Please report to https://github.com/livekit/agents/issues
- Anthropic integration features: Open an issue in this repository
Links
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file livekit_plugins_google_extended-0.1.1.tar.gz.
File metadata
- Download URL: livekit_plugins_google_extended-0.1.1.tar.gz
- Upload date:
- Size: 44.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b01a7238fbc11cad094d615be54e158c6d3a2939a2085ef1ebe5b15e14fee2c5
|
|
| MD5 |
53511349a89423f26a0cc694688689cd
|
|
| BLAKE2b-256 |
c10f48a0d56dd79365ec527b00f2134c078938fd11f97771a2c43a9807dfd90b
|
File details
Details for the file livekit_plugins_google_extended-0.1.1-py3-none-any.whl.
File metadata
- Download URL: livekit_plugins_google_extended-0.1.1-py3-none-any.whl
- Upload date:
- Size: 51.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bf39afd1e26f7dbfa75e9ea69e1c559652211db3e221f8bce72ae6af6de5aeb7
|
|
| MD5 |
a831dd4b83b14f5a39c4011a1a90a73c
|
|
| BLAKE2b-256 |
b868231a87f0fd27da8caf4f9dd7a47ae98bdd07b06b65dce20d19554dd1b4db
|