Ross ROSS = Recommend OSS · open-source software intelligence for agents

googleapis/python-genai

Google Gen AI Python SDK provides an interface for developers to integrate Google's generative models into their Python applications. observed · 2026-08-28

github.com/googleapis/python-genai · homepage · Python · Apache-2.0 (permissive) observed · 2026-08-28

Health v2 · maintenance only

84/100

  • Activity 99
  • Release rhythm 87
  • Longevity 45
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: 5
  • age_days: 635
  • days_rel: 8
  • days_push: 7
  • n_releases_24m: 114

Full methodology

Adoption not part of the score

3942 stars · 999 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded

The official Google Gen AI Python SDK for integrating Google's generative models (Gemini Developer API and Gemini Enterprise Agent Platform) into Python applications. It provides clients for text generation, chats, live streaming, tunings, and token counting.

Use cases

  • generate text with Gemini models from Python
  • build chatbots using the Gemini API
  • call Vertex AI / Gemini Enterprise Agent Platform from Python
  • stream model responses in real time
  • count tokens for Gemini prompts
  • fine-tune or tune Gemini models via SDK

When to choose

  • you want the official, maintained client for Gemini or Vertex AI generative models in Python
  • you need access to the latest Gemini features like live streaming, function calling, and tunings
  • you are building Python applications or agents on Google's AI platforms

When to avoid

  • you primarily use OpenAI, Anthropic, or other non-Google model providers
  • you need a language other than Python (use the equivalent SDK for your language)
  • you depend on legacy google-generativeai APIs without migrating

Facets

library · maturity active

sdk llm-inference agent-framework chatbot machine-learning large-language-models artificial-intelligence apis developer-tools python cloud gemini google-genai vertex-ai generative-ai api-client ai-agents

2 sources

Member repositories

RepositoryRoleHealth v2
googleapis/python-genaimain84

For agents

markdown · JSON · MCP: product_card(name="googleapis/python-genai")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem