pip install google-generativeai

Category: AI Agents & MCP

pip install google-generativeai

Install the Google Generative AI Python SDK for Gemini

The official Python SDK for Gemini API access. Supports all Gemini models including 3.1-pro-preview, function calling, MCP integration, and streaming. Use gemini-3.1-pro-preview-customtools model ID for agents with heavy tool use.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.