<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: Sandeep Karmarkar</title>
    <description>The latest articles on Forem by Sandeep Karmarkar (@skarmarkar).</description>
    <link>https://forem.com/skarmarkar</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3602004%2F609a3c8f-c9d8-4aca-84d0-7344ebea3cbf.jpg</url>
      <title>Forem: Sandeep Karmarkar</title>
      <link>https://forem.com/skarmarkar</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/skarmarkar"/>
    <language>en</language>
    <item>
      <title>Launching Gemini CLI extensions for Google Data Cloud</title>
      <dc:creator>Sandeep Karmarkar</dc:creator>
      <pubDate>Wed, 10 Dec 2025 15:24:16 +0000</pubDate>
      <link>https://forem.com/googleai/launching-gemini-cli-extensions-for-google-data-cloud-3dbk</link>
      <guid>https://forem.com/googleai/launching-gemini-cli-extensions-for-google-data-cloud-3dbk</guid>
      <description>&lt;p&gt;In June, &lt;a href="https://blog.google/technology/developers/introducing-gemini-cli-open-source-ai-agent/" rel="noopener noreferrer"&gt;Google introduced Gemini CLI&lt;/a&gt;, an open-source AI agent that brings the power of Gemini directly into your terminal. We’re excited to announce open-source Gemini CLI extensions for Google Data Cloud services. &lt;/p&gt;

&lt;p&gt;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!&lt;/p&gt;

&lt;h2&gt;
  
  
  Using a Data Cloud Gemini CLI extension
&lt;/h2&gt;

&lt;p&gt;Before you get started, make sure you have enabled the APIs and configured the IAM permissions required to access specific services.&lt;/p&gt;

&lt;p&gt;To retrieve the newest functionality, &lt;a href="https://github.com/google-gemini/gemini-cli/tree/main?tab=readme-ov-file#-installation" rel="noopener noreferrer"&gt;install&lt;/a&gt; the latest release of the Gemini CLI (v0.6.0):&lt;/p&gt;

&lt;p&gt;&lt;code&gt;npm install -g @google/gemini-cli@latest&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Next, install the extension:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;gemini extensions install https://github.com/gemini-cli-extensions/&amp;lt;EXTENSION&amp;gt;&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Replace  with the name of the service you want to use. For example, alloydb, cloud-sql-postgresql or bigquery-data-analytics. &lt;/p&gt;

&lt;p&gt;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. &lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Extension Name&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;th&gt;Configuration&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;alloydb&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Create resources and interact with AlloyDB for PostgreSQL databases and data.&lt;/td&gt;
&lt;td&gt;&lt;a href="https://github.com/gemini-cli-extensions/alloydb" rel="noopener noreferrer"&gt;Configuration&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;alloydb-observability&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Monitor database performance and health for AlloyDB for PostgreSQL databases.&lt;/td&gt;
&lt;td&gt;&lt;a href="https://github.com/gemini-cli-extensions/alloydb-observability" rel="noopener noreferrer"&gt;Configuration&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;bigquery-data-analytics&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Discover and ask questions from BigQuery data.&lt;/td&gt;
&lt;td&gt;&lt;a href="https://github.com/gemini-cli-extensions/bigquery-data-analytics" rel="noopener noreferrer"&gt;Configuration&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;bigquery-conversational-analytics&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Dive deeper, discover insights from BigQuery data using the built-in stateless agent offered by &lt;a href="https://cloud.google.com/gemini/docs/conversational-analytics-api/overview" rel="noopener noreferrer"&gt;Conversational Analytics API&lt;/a&gt;.&lt;/td&gt;
&lt;td&gt;&lt;a href="https://github.com/gemini-cli-extensions/bigquery-conversational-analytics" rel="noopener noreferrer"&gt;Configuration&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;cloud-sql-mysql&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Connect and interact with a Cloud SQL for MySQL database and data.&lt;/td&gt;
&lt;td&gt;&lt;a href="https://github.com/gemini-cli-extensions/cloud-sql-mysql" rel="noopener noreferrer"&gt;Configuration&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;cloud-sql-mysql-observability&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Monitor database performance and health for Cloud SQL for MySQL databases.&lt;/td&gt;
&lt;td&gt;&lt;a href="https://github.com/gemini-cli-extensions/cloud-sql-mysql-observability" rel="noopener noreferrer"&gt;Configuration&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;cloud-sql-postgresql&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Connect and interact with a Cloud SQL for PostgreSQL database and data.&lt;/td&gt;
&lt;td&gt;&lt;a href="https://github.com/gemini-cli-extensions/cloud-sql-postgresql" rel="noopener noreferrer"&gt;Configuration&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;cloud-sql-postgresql-observability&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Monitor database performance and health for Cloud SQL for PostgreSQL databases.&lt;/td&gt;
&lt;td&gt;&lt;a href="https://github.com/gemini-cli-extensions/cloud-sql-postgresql-observability" rel="noopener noreferrer"&gt;Configuration&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;cloud-sql-sqlserver&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Connect and interact with a Cloud SQL for SQL Server database and data.&lt;/td&gt;
&lt;td&gt;&lt;a href="https://github.com/gemini-cli-extensions/cloud-sql-sqlserver" rel="noopener noreferrer"&gt;Configuration&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;cloud-sql-sqlserver-observability&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Monitor database performance and health for Cloud SQL for SQL Server databases.&lt;/td&gt;
&lt;td&gt;&lt;a href="https://github.com/gemini-cli-extensions/cloud-sql-sqlserver-observability" rel="noopener noreferrer"&gt;Configuration&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;dataplex&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Connect to Dataplex Universal Catalog to discover, manage, monitor, and govern data and AI artifacts across your data platform.&lt;/td&gt;
&lt;td&gt;&lt;a href="https://github.com/gemini-cli-extensions/dataplex" rel="noopener noreferrer"&gt;Configuration&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;spanner&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Connect and interact with a Spanner database and data.&lt;/td&gt;
&lt;td&gt;&lt;a href="https://github.com/gemini-cli-extensions/spanner" rel="noopener noreferrer"&gt;Configuration&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;mcp-toolbox&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Load custom tools using MCP Toolbox for Databases.&lt;/td&gt;
&lt;td&gt;&lt;a href="https://github.com/gemini-cli-extensions/mcp-toolbox" rel="noopener noreferrer"&gt;Configuration&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Now, you can start the Gemini CLI using command gemini. You can view the extensions installed with the command /extensions&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fmbarib0puprwr1oas8u5.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fmbarib0puprwr1oas8u5.png" width="800" height="257"&gt;&lt;/a&gt;&lt;br&gt;
You can list the MCP servers and tools included in the extension using command /mcp list&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F6fuc5pm17mdtwbih3u3c.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F6fuc5pm17mdtwbih3u3c.png" width="800" height="613"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;
  
  
  Using the Gemini CLI for Cloud SQL for PostgreSQL extension
&lt;/h2&gt;

&lt;p&gt;The Cloud SQL for PostgreSQL extension lets you perform a number of actions. Some of the main ones are included below:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Create instance&lt;/strong&gt;: Creates a new Cloud SQL instance for PostgreSQL (and also MySQL, or SQL Server)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;List instances&lt;/strong&gt;: Lists all Cloud SQL instances in a given project&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Get instance&lt;/strong&gt;: Retrieves information about a specific Cloud SQL instance&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Create user&lt;/strong&gt;: Creates a new user account within a specified Cloud SQL instance, supporting both standard and Cloud IAM users&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Curious about how to put it in action? Like any good project, start with a solid written plan of what you are trying to do. Then, you can provide that project plan to the CLI as a series of prompts, and the agent will start provisioning the database and other resources:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F2exx1vjgagenghkpblz7.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F2exx1vjgagenghkpblz7.gif" width="720" height="645"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fpx1s2mwczqglivn6rtyg.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fpx1s2mwczqglivn6rtyg.gif" width="720" height="645"&gt;&lt;/a&gt;&lt;br&gt;
After configuring the extension to connect to the new database, the agent can generate the required tables based on the approved plan. For easy testing, you can prompt the agent to add test data.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fr7c374td6r2ig1ssnhd8.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fr7c374td6r2ig1ssnhd8.gif" width="720" height="645"&gt;&lt;/a&gt;&lt;br&gt;
Now the agent can use the context it has to generate an API to make the data accessible.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F6lxnlifc1rbs3ymus4o7.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F6lxnlifc1rbs3ymus4o7.gif" width="600" height="537"&gt;&lt;/a&gt;&lt;br&gt;
As you can see, these extensions make it incredibly easy to start building with Google Cloud databases!&lt;/p&gt;
&lt;h2&gt;
  
  
  Using the BigQuery Analytics extensions
&lt;/h2&gt;

&lt;p&gt;For your analytical needs, we are thrilled to give you a first look at the Gemini CLI extension for &lt;strong&gt;BigQuery Data Analytics&lt;/strong&gt;. We are also excited to give access to the &lt;strong&gt;Conversational Analytics API&lt;/strong&gt; through the &lt;strong&gt;BigQuery Conversational Analytics&lt;/strong&gt; extension. This is the first step in our journey to bring the full power of BigQuery directly into your local coding environment, creating an integrated and unified workflow. &lt;/p&gt;

&lt;p&gt;With this extension you can &lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Explore data&lt;/strong&gt;: Use natural language to search for your tables.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Analyze&lt;/strong&gt;: Ask business questions on the data and generate intelligent insights. &lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Dive deeper&lt;/strong&gt;: Use conversational analytics APIs to dive deeper into the insights. &lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;And extend&lt;/strong&gt;: Use other tools or extensions to extend into advanced workflows like charting, reporting, code management, etc. &lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;This initial release provides a comprehensive suite of tools to Gemini CLI:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Metadata tools&lt;/strong&gt;: Discover and understand the BigQuery data landscape. &lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Query execution tool&lt;/strong&gt;: Run any BigQuery query and get the results back, summarized to your console.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;AI-powered forecasting&lt;/strong&gt;: Leverage BigQuery's built-in AI.Forecast function for powerful time-series predictions directly from the command line.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Deeper data Insights&lt;/strong&gt;: The“ask_data_insights” tool provides access to server-side BigQuery agent for richer data insights.&lt;/li&gt;
&lt;li&gt;And more…&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;em&gt;[Note: To use the conversational analytics extension you need to enable additional APIs. Refer to &lt;a href="https://cloud.google.com/gemini/docs/conversational-analytics-api/enable-the-api" rel="noopener noreferrer"&gt;documentation&lt;/a&gt; for additional info.]&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Here is an example journey with analytics extensions: &lt;/p&gt;

&lt;p&gt;Explore and analyze your data , e.g.,&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;gt; find tables related to PyPi downloads

✦ I found the following tables related to PyPi downloads:
​
   * file_downloads: projects/bigquery-public-data/datasets/pypi/tables/file_downloads
   * distribution_metadata: projects/bigquery-public-data/datasets/pypi/tables/distribution_metadata
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;gt;  Using bigquery-public-data.pypi.file_downloads show me top 10 downloaded pypi packages this month 
​
✦ Here are the top 10 most downloaded PyPI packages this month:
​
   1. boto3: 685,007,866 downloads
   2. botocore: 531,034,851 downloads
   3. urllib3: 512,611,825 downloads
   4. requests: 464,595,806 downloads
   5. typing-extensions: 459,505,780 downloads
   6. certifi: 451,929,759 downloads
   7. charset-normalizer: 428,716,731 downloads
   8. idna: 409,262,986 downloads
   9. grpcio-status: 402,535,938 downloads
   10. aiobotocore: 399,650,559 downloads
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Run deeper insights
&lt;/h3&gt;

&lt;p&gt;Using “ask_data_insights” to trigger an agent on the BigQuery (&lt;a href="https://cloud.google.com/gemini/docs/conversational-analytics-api/overview" rel="noopener noreferrer"&gt;Conversational analytics API&lt;/a&gt;) to answer your questions. The server side agent is smart enough to gather additional context about your data and offer deeper insights into your questions.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fvtu1zrjeg2c2xoppju4x.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fvtu1zrjeg2c2xoppju4x.png" width="800" height="800"&gt;&lt;/a&gt;&lt;br&gt;
You can go further and generate charts and reports by mixing BigQuery data with your local tools. Here’s a prompt to try:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;code&gt;”using bigquery-public-data.pypi.file_downloads can you forecast downloads for the last four months of 2025 for package urllib3? Please plot a chart that includes actual downloads for the first 8 months, followed by the forecast for the last four months”&lt;/code&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1ujlzs0t4vi91gupvbh7.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1ujlzs0t4vi91gupvbh7.gif" width="200" height="120"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Get started today!
&lt;/h2&gt;

&lt;p&gt;Ready to level up your Gemini CLI extensions for our Data Cloud services? Read more in the &lt;a href="https://github.com/google-gemini/gemini-cli/blob/main/docs/extensions/index.md" rel="noopener noreferrer"&gt;extensions documentation&lt;/a&gt;. Check out our templates and start building your own extensions to share with the community!&lt;/p&gt;

</description>
      <category>database</category>
      <category>gemini</category>
      <category>cli</category>
      <category>cloud</category>
    </item>
  </channel>
</rss>
