In June, Google introduced Gemini CLI, an open-source AI agent that brings the power of Gemini directly into your terminal. And today, we’re excited to announce open-source Gemini CLI extensions for Google Data Cloud services.
Building applications and analyzing trends with services like Cloud SQL, AlloyDB and BigQuery has never been easier — all from your local development environment! Whether you’re just getting started or a seasoned developer, these extensions make common data interactions such as app development, deployment, operations, and data analytics more productive and easier. So, let’s jump right in!
Using a Data Cloud Gemini CLI extension
Before you get started, make sure you have enabled the APIs and configured the IAM permissions required to access specific services.
To retrieve the newest functionality, install the latest release of the Gemini CLI (v0.6.0):
Replace with the name of the service you want to use. For example, alloydb, cloud-sql-postgresql or bigquery-data-analytics.
Before starting the Gemini CLI, you’ll need to configure the extension to connect with your Google Cloud project by adding the required environment variables. The table below provides more information on the configuration required.
Extension Name
Description
Configuration
alloydb
Create resources and interact with AlloyDB for PostgreSQL databases and data.
Configuration
alloydb-observability
Monitor database performance and health for AlloyDB for PostgreSQL databases.
Configuration
bigquery-data-analytics
Discover and ask questions from BigQuery data.
Configuration
bigquery-conversational-analytics
Dive deeper , discover insights from BigQuery data using the built-in stateless agent offered by Conversational Analytics API
Configuration
cloud-sql-mysql
Connect and interact with a Cloud SQL for MySQL database and data.
Configuration
cloud-sql-mysql-observability
Monitor database performance and health for Cloud SQL for MySQL databases.
Configuration
cloud-sql-postgresql
Create resources and interact with Cloud SQL for PostgreSQL databases and data.
Configuration
cloud-sql-postgresql-observability
Monitor database performance and health for Cloud SQL for PostgreSQL databases.
Configuration
cloud-sql-sqlserver
Connect and interact with a Cloud SQL for SQL Server database and data.
Configuration
cloud-sql-sqlserver-observability
Monitor database performance and health for Cloud SQL for SQL Server databases.
Configuration
dataplex
Connect to Dataplex Universal Catalog to discover, manage, monitor, and govern data and AI artifacts across your data platform.
Configuration
firestore-native
Connect and interact with Firestore databases, collections, and documents.
Configuration
looker
Connect to Looker to query data, run Looks, and create dashboards.
Configuration
mysql
Connect and interact with a MySQL database and data.
Configuration
postgres
Connect and interact with a PostgreSQL database and data.
Configuration
spanner
Connect and interact with a Spanner database and data.
Configuration
sql-server
Connect and interact with a SQL Server database and data.
Configuration
mcp-toolbox
Load custom tools using MCP Toolbox for Databases.
Configuration
Now, you can start the Gemini CLI using command gemini. You can view the extensions installed with the command /extensions