Getting Started with Google Cloud Data Agent Kit in Antigravity IDE
DEV Community

Getting Started with Google Cloud Data Agent Kit in Antigravity IDE

At DevFest Mangaluru 2026, I opened my session on Google Cloud Data Agent Kit with three quick questions for the room:

Quick show of hands, how many of you use BigQuery or Cloud Storage at work or in side projects? Keep your hands up if you also use an AI coding tool like Antigravity, Cursor, VS Code, or Claude Code. Now, be honest: how many browser tabs do you usually have open when debugging a data pipeline or inspecting a BigQuery table? Five? Fifteen?

Only a few hands stayed up through all three questions, but the moment I got to the last one, the pain point clicked for everyone, jumping between browser tabs for Cloud Storage, BigQuery, and IAM, and manually copying schemas or logs back into an editor just to get work done.

Between that session and more talks, workshops, and trainings I am planning around Google Cloud Data Agent Kit, I wanted to organize everything I have been building and demoing into one clear learning series. Over the next several posts (followed by YouTube tutorials and live sessions), we will go step by step from setup to real agentic data workflows backed by resources that you can use yourself.

In this first post, we'll keep things practical: what Data Agent Kit actually solves, how it connects your IDE to Google Cloud under the hood, a step-by-step setup in Antigravity IDE, a quick tour of the built-in Mini Cloud Console, and where to grab it if you use another IDE or CLI. Let's dive in.

Before Data Agent Kit: Setup Friction and Context Switching

If you have followed my earlier articles on MCP Toolbox for Databases or Conversational Analytics in BigQuery, you already know how powerful connecting AI agents to live enterprise data can be - and you also know how painful setting it up used to be.

Before Data Agent Kit, connecting your coding assistant to Google Cloud Data services meant dealing with three things at once:

  • Skill Overload: Dozens of repositories and 135+ community skills floating around GitHub, which ones are actually maintained and safe for BigQuery or Spark?
  • MCP Confusion: Should you install the open-source MCP Toolbox, managed Google Cloud MCP servers, or roll your own? Which of the 70+ MCP servers do you actually need?
  • Setup & OAuth Hell: Manually editing JSON config files, debugging config missing errors, and working with OAuth tokens before you even run a single query.

If you didn't set up MCP, you were stuck bouncing between browser tabs and the editor, pasting schemas and errors back and forth just to get a working query.

Enter Google Cloud Data Agent Kit (DAK)

Google Cloud Data Agent Kit (which I'll refer to as DAK for the rest of this article) is a free developer kit featuring open-source agent skills and plugins that brings 15+ Google Data Cloud services (BigQuery, Cloud Storage, Spanner, AlloyDB, Cloud SQL, Bigtable, Managed Service for Apache Spark, Dataflow, Knowledge Catalog, and more) directly into the IDE or CLI you already use.

Instead of forcing data practitioners into yet another browser UI, DAK meets you where you write code through three core pillars:

  • Agentic Skills (The Brains): Plain open-source Markdown files (SKILL.md) written by Google Cloud engineers. Instead of hoping the model guesses the right approach, these files teach it how to handle BigQuery SQL optimization, data cleaning, dbt/Dataform pipelines, Spark debugging, ML workflows, and security/governance guardrails.
  • MCP Servers & Tools ("The Hands"): Model Context Protocol connectors that work with both Google's managed MCP servers and the open-source MCP Toolbox for Databases. This is what lets your agent read live schemas, preview buckets, and run queries on its own so you don't have to copy-paste context manually.
  • IDE Extensions & CLI Plugins: Extensions that add Data Agent Kit panels right into VS Code, Antigravity IDE, and Cursor (and come pre-installed in Cloud Shell and Cloud Workstations), plus plugins if you prefer working in the terminal with Claude Code, Codex CLI, or Antigravity CLI.

Pricing note: Data Agent Kit itself is 100% free. You only pay for your normal Google Cloud usage (e.g., BigQuery bytes processed) and whatever AI model/editor you already use.

How Data Agent Kit Works Under the Hood

One useful detail to understand early is how Data Agent Kit talks to Google Cloud. It does not route everything through the LLM. Instead, it uses a two-lane architecture:

  • Lane 1 - IDE UI (Direct Cloud APIs): When you expand a BigQuery dataset, preview rows, or browse a Cloud Storage bucket in the sidebar, the extension calls Google Cloud APIs directly. It renders instantly and consumes zero LLM context tokens.
  • Lane 2 - Coding Agent (MCP Tools + Skills): When you ask the agent in chat to audit a messy JSON file, optimize a query, or generate a dbt model, it invokes MCP tools for live metadata and follows SKILL.md playbooks so its output adheres to Google Cloud best practices.

We will dissect SKILL.md vs. MCP Tools in deep detail in Part 2. First, let's get you set up in a few minutes.

Step-by-Step: Installing & Setting Up Data Agent Kit in Antigravity IDE

Let's walk through the exact setup flow I ran live on stage.

Prerequisites

Before you start, make sure you have:

  1. Antigravity IDE installed on your machine (or another supported editor like VS Code or Cursor).
  2. Google Cloud CLI (gcloud) installed and authenticated. Verify in your terminal: gcloud --version (If not installed, grab it from the Google Cloud SDK install guide. Make sure gcloud and your IDE are signed into the same Google Cloud user account and project.)
  3. A Google Cloud Project with billing enabled. For this walkthrough, make sure the BigQuery API (bigquery.googleapis.com) and Cloud Storage API (storage.googleapis.com) are enabled - these aren’t required just to install DAK itself, only because BigQuery and Cloud Storage are the two services we’re connecting in this post.
  4. IAM Permissions: Your Google Cloud user (or service account) should have roles/mcp.toolUser (for Google-managed MCP servers) alongside standard data roles like roles/bigquery.user, roles/bigquery.dataViewer, and roles/storage.objectViewer (or roles/editor in a personal sandbox project).

Step 1: Authenticate with Application Default Credentials (ADC)

Data Agent Kit uses your local Google Cloud credentials so you never have to hardcode API keys or wrestle with manual OAuth JSON files. Run these two commands in your terminal:

# 1. Sign in to gcloud and set your active project
gcloud auth login
gcloud config set project <YOUR_PROJECT_ID>
# 2. Generate Application Default Credentials (used by DAK & MCP servers)
gcloud auth application-default login

Verify that ADC is active (without printing your raw token to the terminal):

gcloud auth application-default print-access-token > /dev/null 2>&1 && echo "ADC_OK" || echo "ADC_MISSING"

If you see ADC_OK, you are ready for the IDE setup.

Step 2: Install the Google Cloud Data Agent Kit Plugin in Antigravity IDE

Open Antigravity IDE. Open the Extensions panel from the left Activity Bar (or press Ctrl+Shift+X / Cmd+Shift+X). Search for Google Cloud Data Agent Kit and click Install.

  1. Restart the IDE if prompted. Once installed, the Google Cloud Data Agent Kit icon appears in the left Activity Bar.

  2. Sign in to the extension: Follow the sign-in prompt (or click the Google Cloud Data Agent Kit sign-in link in the bottom status bar) and complete the browser OAuth flow using the same Google account you used in Step 1.

Step 3: 1-Click Project & Service Configuration

This is the just works moment that replaces hours of manual MCP JSON editing:

Click the Google Cloud Data Agent Kit icon in the left Activity Bar. Expand Settings at the bottom of the panel and click Settings to launch the Configuration UI tab. On the Common tab, select your active Project ID and default Region (for example, US or us-central1) and click Save. Switch to the Service Integrations tab, check the boxes for the services you actually need right now, start with:

  • BigQuery
  • Cloud Storage

Click Next (the extension will automatically verify that your required APIs and IAM roles are enabled) and save your changes.

What just happened behind the scenes? The moment you checked those two boxes, Data Agent Kit automatically:

  • Registered and authenticated the exact MCP servers for BigQuery and Cloud Storage using your local Google Cloud credentials.

  • Loaded only the curated Agentic Skills for those services - preventing context bloat from dozens of unrelated services and tools.

Step 4: Set Up the Demo Bucket and Table (Optional)

If you already have tables and buckets in your GCP project, you can skip this step and use your own data.

For my DevFest Mangaluru session, I didn’t want to pull a massive public dataset with 40 columns just to show a simple workflow, so I put together a small e-commerce sample dataset (devfest_commerce) that fits comfortably within Google Cloud’s free tier and that we will reuse across this series. It consists of just two files:

  • dim_customers.csv - a small customer dimension table loaded straight into BigQuery, which we'll use in the next section to test schema inspection, table previews, and inline queries.
  • raw_orders_batch.json - a raw JSON batch uploaded to a Cloud Storage bucket, with a few realistic data quality issues mixed in (a duplicate order, a missing order_id, and a couple of unusual refund rows) that we'll let the agent dig into later in the series.

It takes less than a minute to spin up, costs practically nothing to run, and gives you real assets in both Cloud Storage and BigQuery to work with.

Run this snippet in your terminal to create the bucket, upload raw_orders_batch.json, and load dim_customers into BigQuery:

export PROJECT_ID=$(gcloud config get-value project)
export BUCKET_NAME="${PROJECT_ID}-dak-demo"
export DATASET_NAME="devfest_commerce"
# 1. Create a Cloud Storage bucket and BigQuery dataset
gcloud storage buckets create gs://$BUCKET_NAME --location=US
bq --location=US mk --dataset $PROJECT_ID:$DATASET_NAME
# 2. Create and load the customer dimension table
cat << 'EOF' > dim_customers.csv
customer_id,customer_name,tier,signup_year,preferred_channel
CUST-501,Adarsh Prabhu,Platinum,2024,Mobile App
CUST-502,Shruthika Bhandary,Gold,2025,Web
CUST-503,Mohsin Khan,Platinum,2023,Mobile App
CUST-504,Rohan Shetty,Silver,2025,Web
CUST-505,Priya Kamath,Gold,2024,Mobile App
CUST-506,Karthik Rao,Standard,2026,Web
EOF
bq --location=US load --autodetect --source_format=CSV --replace \
$PROJECT_ID:$DATASET_NAME.dim_customers dim_customers.csv
# 3. Create and upload the raw incoming orders JSON batch to GCS
cat << 'EOF' > raw_orders_batch.json
{"order_id": "ORD-1001", "customer_id": "CUST-501", "category": "Electronics", "amount": 450.00, "status": "COMPLETED", "city": "Mangaluru", "order_date": "2026-11-10"}
{"order_id": "ORD-1002", "customer_id": "CUST-502", "category": "Apparel", "amount": 65.50, "status": "COMPLETED", "city": "Bengaluru", "order_date": "2026-11-10"}
{"order_id": "ORD-1002", "customer_id": "CUST-502", "category": "Apparel", "amount": 65.50, "status": "COMPLETED", "city": "Bengaluru", "order_date": "2026-11-10"}
{"order_id": null, "customer_id": "CUST-999", "category": "Electronics", "amount": 1299.00, "status": "FLAGGED", "city": "Mumbai", "order_date": "2026-11-10"}
{"order_id": "ORD-1003", "customer_id": "CUST-503", "category": "Electronics", "amount": 2400.00, "status": "REFUND_REQUESTED", "city": "Mangaluru", "order_date": "2026-11-11"}
{"order_id": "ORD-1004", "customer_id": "CUST-504", "category": "Home", "amount": 120.00, "status": "COMPLETED", "city": "Pune", "order_date": "2026-11-11"}
{"order_id": "ORD-1005", "customer_id": "CUST-505", "category": "Electronics", "amount": 3100.00, "status": "REFUND_REQUESTED", "city": "Mangaluru", "order_date": "2026-11-11"}
{"order_id": "ORD-1006", "customer_id": "CUST-506", "category": "Books", "amount": 29.99, "status": "COMPLETED", "city": "Chennai", "order_date": "2026-11-12"}
EOF
gcloud storage cp raw_orders_batch.json gs://$BUCKET_NAME/incoming/raw_orders_batch.json

Once the script finishes, you should see confirmation in your terminal that:

The Cloud Storage bucket (gs://<YOUR_PROJECT_ID>-dak-demo) was created and incoming/raw_orders_batch.json was uploaded. The devfest_commerce BigQuery dataset was created and dim_customers loaded with 6 rows.

Tour of the β€œMini Cloud Console” Inside Antigravity IDE

Normally, right after running the commands in your terminal, your next moves would look something like this. You open Chrome, head to the Google Cloud Console, open one tab to check if raw_orders_batch.json actually landed in Cloud Storage, and open a second tab to verify the schema and rows of dim_customers in BigQuery.

With Data Agent Kit, you stay right where you are. Hit the Refresh button in the Data Agent Kit sidebar inside Antigravity IDE, and you have a lightweight Mini Cloud Console built around three things you do every day:

1. Data Explorer (Cloud Storage + BigQuery)

Expand Cloud Storage β†’ <YOUR_PROJECT_ID>-dak-demo β†’ incoming/ β†’ you will immediately see raw_orders_batch.json. Expand BigQuery β†’ <YOUR_PROJECT_ID> β†’ devfest_commerce β†’ click dim_customers.

An interactive Table Viewer (dim_customers.bq.table) opens right in your main editor pane, with tabs down the left side:

  • Data: Browse actual rows for free-without running a billable SELECT * query.
  • Schema: Column names, types, and modes.
  • Details: Row count, table size, partitioning, and last modified timestamp.

Plus built-in views for Insights, Lineage, Relationships, Data Profile, and Data Quality.

2. Inline SQL Queries

Need to run a quick check or aggregation without switching to BigQuery Studio? Click + New Query under BIGQUERY in the sidebar. It opens a dedicated .sql editor tab (with a collapsible /* @datacloud.settings */ header for query-level settings). Paste in this query (swapping project2-283514 with your own project ID):

SELECT tier, COUNT(*) AS customer_count FROM `<your_project_id>.devfest_commerce.d
Read on DEV Community ↗ ← Back to News

Comments

No comments yet. Start the discussion.