Skip to main content

Agent Framework plugin for services from Google Cloud

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

livekit_plugins_google_extended-0.1.1.tar.gz (44.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

livekit_plugins_google_extended-0.1.1-py3-none-any.whl (51.1 kB view details)

Uploaded Python 3

File details

Details for the file livekit_plugins_google_extended-0.1.1.tar.gz.

File metadata

File hashes

Hashes for livekit_plugins_google_extended-0.1.1.tar.gz
Algorithm Hash digest
SHA256 b01a7238fbc11cad094d615be54e158c6d3a2939a2085ef1ebe5b15e14fee2c5
MD5 53511349a89423f26a0cc694688689cd
BLAKE2b-256 c10f48a0d56dd79365ec527b00f2134c078938fd11f97771a2c43a9807dfd90b

See more details on using hashes here.

File details

Details for the file livekit_plugins_google_extended-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for livekit_plugins_google_extended-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bf39afd1e26f7dbfa75e9ea69e1c559652211db3e221f8bce72ae6af6de5aeb7
MD5 a831dd4b83b14f5a39c4011a1a90a73c
BLAKE2b-256 b868231a87f0fd27da8caf4f9dd7a47ae98bdd07b06b65dce20d19554dd1b4db

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page