googleapis/go-genai
Google Gen AI Go SDK provides an interface for developers to integrate Google's generative models into their Go applications.
What it solves
It provides a standardized Go interface for developers to integrate Google's generative AI models, such as Gemini, into their applications without having to write raw API calls.
How it works
The SDK acts as a client library that connects to either the Gemini Developer API or the Gemini Enterprise Agent Platform. It allows developers to send prompts (text or multimodal inputs) to models and receive generated content, and it includes a dedicated Interactions API for managing multi-turn conversations with agents and models.
Who it’s for
Go developers who want to build AI-powered features using Google's generative models.
Highlights
- Support for both Gemini Developer API and Gemini Enterprise Agent Platform.
- Multimodal capabilities, enabling text generation from combined text and image inputs.
- Built-in support for the Interactions API for multi-turn conversations.
- Simple client configuration via API keys or environment variables.
Related
- Project
googleapis/js-genaiOfficial Google npm SDK (`@google/genai`) that wraps Gemini’s public and Enterprise Agent APIs for JavaScript/TypeScript. Provides simple classes for one‑shot generation, streaming, stateful chats, file uploads, live sessions, and a unified Interactions API. Supports function/tool calling, automatic continuation, and multimodal inputs. Install with `npm i @google/genai`; use an API key or enterprise credentials. Documentation and samples are hosted on the repo’s website.
- Project
googleapis/java-genaiOfficial Java SDK for Google Gemini LLM APIs, offering client builders, HTTP customization, safety settings, multimodal input, streaming/async calls, and automatic function calling.
- Project
googleapis/python-genaiA Python SDK for Google’s Gemini generative‑AI models, providing easy client creation, synchronous/async calls, rich content handling, safety settings, and automatic function calling.
- Project
GetStream/gemini-androidA demonstration project showing how to integrate Google's Gemini AI with the Stream Chat SDK to build an AI-powered chat application on Android.
- Project
googleapis/python-aiplatformThe Python SDK for the Gemini Enterprise Agent Platform (formerly Vertex AI) allows developers to build, deploy, and optimize AI agents, manage prompts, and evaluate generative AI models.