Open Source
Explore the latest AI open-source projects from GitHub and HuggingFace.
Explore the latest AI open-source projects from GitHub and HuggingFace.
Google Cloud Platform's generative-ai repository has become the definitive resource hub for developers building AI applications on Google Cloud. With 14,500 stars and over 2,000 commits, this official repository provides production-ready notebooks, code samples, and sample applications for Gemini models, Vertex AI, and the broader Google AI ecosystem. It surged by 522 stars in a single day on March 9, 2026, reflecting renewed developer interest following the Gemini 3.1 Pro release. The repository is maintained under the Apache 2.0 license with contributions from Google Cloud engineers and the developer community. ## Gemini Model Integration The repository provides comprehensive starter notebooks and use cases for the full Gemini model family. Developers can find working examples for text generation, multimodal understanding (images, audio, video), function calling, grounding, and context caching. The latest additions include introductory notebooks for Gemini 3.1 Pro, covering the model's expanded capabilities including improved reasoning and longer context windows. Function calling examples demonstrate how to connect Gemini models to external tools and APIs, enabling agentic workflows where the model can take actions in the real world. ## Agent Development Kit (ADK) Samples The agents directory contains ready-to-use agent templates covering a range of complexity levels: | Agent Type | Description | |-----------|-------------| | Conversational Bots | Simple Q&A and dialog agents | | Tool-Using Agents | Agents that call external APIs and functions | | Multi-Agent Systems | Complex workflows with multiple specialized agents | | RAG Agents | Retrieval-augmented generation for enterprise data | These templates accelerate development by providing tested patterns that work with Vertex AI's agent infrastructure. ## Retrieval Augmented Generation (RAG) The rag-grounding directory contains notebooks focused on grounding Gemini responses with external data. Topics covered include vector search integration, document chunking strategies, hybrid search approaches, and evaluation frameworks for measuring RAG quality. These resources are particularly valuable for enterprise teams building knowledge bases and document Q&A systems. ## Imagen and GenMedia The vision directory covers Imagen on Vertex AI, with examples for image generation, editing, captioning, and visual question answering. The repository also includes Vertex AI GenMedia Creative Studio resources and MCP Servers for GenMedia, enabling AI agents to leverage Google's generative media models for automated content creation pipelines. ## Vertex AI Search The search directory provides implementation resources for Vertex AI Search, Google's managed solution for building enterprise search engines across websites and organizational data. Examples cover deployment patterns, customization options, and integration with existing applications. ## Repository Structure ``` generative-ai/ ├── gemini/ # Gemini model notebooks and samples ├── agents/ # Agent Development Kit samples ├── rag-grounding/ # RAG and grounding techniques ├── vision/ # Imagen API features ├── audio/ # Chirp/Universal Speech Model ├── search/ # Vertex AI Search └── setup-env/ # Configuration guides ``` ## Strengths The repository's greatest value lies in providing officially maintained, production-tested code that works with the latest Google AI services. Unlike community tutorials that may lag behind API changes, these samples are updated in sync with service releases. The breadth of coverage from simple text generation to complex multi-agent systems means developers can find relevant examples regardless of their experience level. ## Limitations All samples are tightly coupled to Google Cloud Platform, requiring a GCP account and billing setup. Developers working with other cloud providers or local-first approaches will find limited transferable value. Some advanced examples require significant GCP service activation and configuration. The repository's size (2,000+ commits across many directories) can make navigation challenging for newcomers who need a specific starting point.