G

Google Gen AI SDK (Python)

G
Google Gen AI SDK (Python) AI v2.16.0

v2.16.0

2.16.0 (2026-07-29) Features Add environment resource (615b6c3) Support GoogleMaps Tool grounding_types places and routing (95a335d) Wire environment service into genai sdk (361292e) Documentation Communicate on upcoming updates in the next major version (f63b366) Regenerate docs for 2.15.0 (7c0e1bb)

G
Google Gen AI SDK (Python) AI v2.15.0

v2.15.0

2.15.0 (2026-07-28) Features [GenerateContentConfig] Add GenerationConfig.audio_transcription_config and Part.audio_transcription. (0f775f1) Add flat language_codes field to AudioTranscriptionConfig. (fc282b3) Allow api key + proj/location for enterprise mode (e8714ca) Documentation Regenerate docs for 2.14.0 (3d3850a)

G
Google Gen AI SDK (Python) AI v2.14.0

v2.14.0

2.14.0 (2026-07-22) Features [GenerateContentConfig] Add GenerationConfig.audio_transcription_config and Part.audio_transcription. (dc3d78d) Bug Fixes Add deprecation warnings to Imagen generate_images, edit_images, generate_videos (if using prompt/text/image args), LiveConnectConfig.GenerationConfig which will be removed in the next major version (4905918) Documentation Regenerate docs for 2.13.0…

G
Google Gen AI SDK (Python) AI v2.13.0

v2.13.0

2.13.0 (2026-07-21) Features A new field custom_vocabulary is added to to Live API (4eeb1ad) Add model selector (bf3dba4) interaction-api: Add queued status to interaction proto (87f1650) Make ASR fields public in v1main and Interactions (5b52faa) Support mTLS in custom client using google auth mtls.get_default_ssl_context (7270e6d) Documentation Regenerate docs for 2.11.0 and 2.12.0 (dddd7c6)

G
Google Gen AI SDK (Python) AI v2.12.0

v2.12.0

2.12.0 (2026-07-15) Features Add AntigravityAgentConfig to OpenAPI schema overlays and regenerate SDKs. (c68f857) Add trigger resource (0ab9525) Add Triggers resource to GoogleGenAI client. (60727fe) interactions: Add CodeMenderAgentConfig (50eca74) Populate per-modality prompt token count in embedding responses for gemini-embedding-2 (2ba0154)

G
Google Gen AI SDK (Python) AI v2.11.0

v2.11.0

2.11.0 (2026-07-09) Features Add environment_id in network config (df5f13a) Add response_format and Translation_config in GenerationConfig (8928da3) Add retrieval result step and new fields to maps and search results (d2b19f6) Add Tool.exa_ai_search for Gemini Enterprise API (8928da3) Support Function declarations during Agent Creation (bbeb934) Bug Fixes Avoid shadowing of built-in list in Python…

G
Google Gen AI SDK (Python) AI v2.10.0

v2.10.0

2.10.0 (2026-06-24) Features Add Agent Platform MCP support to async generate_content_stream (a4772cc) [Interactions] Add ComputerUse.disabled_safety_policies (732368f) [Models] Add ComputerUse.disabled_safety_policies (a359406) Add usage fields for steps (7bb6c72) Add video generation and response format parameters. (ec8f22b) Documentation Fix typos across docstrings (63ec5bb)

G
Google Gen AI SDK (Python) AI v2.9.0

v2.9.0

2.9.0 (2026-06-19) Major updates The interactions implementation has been completely replaced. The public api surface is unchanged. (d830f16) Features Add audioOffset to VoiceActivity (fb785e4) Add gemini-3-flash-preview (gemini-3.1, gemini-3.5, gemini-4 are already mapped) to the local tokenizer map. (749f8a1), closes #1972 Add interimInputTranscription to LiveServerContent (fb785e4) Add Language…

G
Google Gen AI SDK (Python) AI v2.9.0-rc1

v2.9.0-rc1

2.9.0-rc1 (2026-06-17) Features Add audioOffset to VoiceActivity (fb785e4) Add gemini-3-flash-preview (gemini-3.1, gemini-3.5, gemini-4 are already mapped) to the local tokenizer map. (749f8a1), closes #1972 Add interimInputTranscription to LiveServerContent (fb785e4) Add LanguageAuto, LanguageHints, and adaptationPhrases to AudioTranscriptionConfig (fb785e4) Broaden publisher model path check to…

G
Google Gen AI SDK (Python) AI v2.9.0-rc0

v2.9.0-rc0

2.9.0-rc0 (2026-06-16) Major updates The interactions implementation has been completely replaced. The public api surface should be unchanged. (d830f16) Features Add ServiceTier to UsageMetadata (45b4963) Expose Computer Use API fields (420b5a7) Gemma 4 local tokenizer support (ca97c58) interaction-api: Add presence_penalty, frequency_penalty, and cached_content to models.proto (05f16fe) interacti…

G
Google Gen AI SDK (Python) AI v2.8.0

v2.8.0

2.8.0 (2026-06-03) Features Add Agent Platform MCP support to async generate_content (e3be9af) Add transcription language code. (53ea3f6) Add TranslationConfig for live translation. (4775314) Support ReinforcementTuning in GenAI SDK including ValidateReward API method. (e0854a6) Bug Fixes Include all fields of a single tool (7b1d498) Documentation A comment for field enable_widget in message Googl…

G
Google Gen AI SDK (Python) AI v2.7.0

v2.7.0

2.7.0 (2026-05-27) Features Additional computer_use field support for vertex. (b4828fa) interaction-api: Allow "text/csv" as a supported document mime type for Interaction API. (543137b) interaction-api: Enable BigQuery tool in Deep Research config. (5dc17e5) Support Reinforcement Tuning in GenAI SDK (0ead888)

G
Google Gen AI SDK (Python) AI v2.6.0

v2.6.0

2.6.0 (2026-05-21) Features Add enable_prompt_injection_detection for Computer Use feature for the Gemini API. (b1f632d) Add budget_exceeded status (15443c0) Add gemini-3.5-flash (15443c0) Add new fields (2910346) Documentation Replace vertexai with enterprise in Client instantiation (c1c6df7)

G
Google Gen AI SDK (Python) AI v2.4.0

v2.4.0

2.4.0 (2026-05-17) Features Support Agent and Environment APIs. (ef20d6b) Bug Fixes Output_text for turns that don't end with text. (2afdeff) Pass max_line_length to readline() to prevent LineTooLong on large SSE lines with MTLS. (0e8f7bb)

G
Google Gen AI SDK (Python) AI v2.3.0

v2.3.0

2.3.0 (2026-05-15) Features Add content union to UserInputStep (a5059a8) Interaction.{output_text,output_image,output_audio,output_video} (975d16a) Migrate Agent Engines, Evaluation, Prompt Management, and Skill features to agentplatform (abb1099) Documentation Refresh generated docs for 2.2 (2ce0298)