Getting Started with Google Cloud Data Agent Kit in Antigravity IDE

2026-11-26来源 dev.toEnglish
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:

  1. Skill Overload: Dozens of repositories and 135+ community skills floating around GitHub, which ones are actually maintained and safe for BigQuery or Spark?

  2. 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?

  3. 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

  1. Open Antigravity IDE.
  2. 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.

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

4.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:

  1. Click the Google Cloud Data Agent Kit icon in the left Activity Bar.
  2. Expand Settings at the bottom of the panel and click Settings to launch the Configuration UI tab.
  3. On the Common tab, select your active Project ID and default Region (for example, US or us-central1) and click Save.
  4. Switch to the Service Integrations tab, check the boxes for the services you actually need right now, start with:
    • BigQuery
    • Cloud Storage
  5. 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.dim_customers` GROUP BY tier; 

Before you even hit Run, notice the live dry-run status right at the top of the editor — for this query, it tells you This query will process 50 B when run. Just like BigQuery Studio in the browser, you get syntax validation and a byte estimate up front so you don't accidentally trigger an expensive full-table scan.

When you execute it, the Query Results panel opens at the bottom of the IDE with four built-in tabs:

  • Results: Shows the returned rows right away (Platinum: 2, Gold: 2, Silver: 1, Standard: 1), complete with column sorting, pagination, and a Save results option if you want to export or persist the output.

  • Job Information: Displays job metadata like job ID, status, duration, and bytes billed.
    Visualization: Lets you plot quick charts directly from your query output without exporting to Sheets or another BI tool.

  • Execution details: Breaks down BigQuery execution stages and timing when you need to debug or tune a heavier query.

You can also save queries you run often and pull them back up anytime under Saved Queries in the BigQuery sidebar—right next to Jobs (for your query run history) and Data Transfers. Instead of juggling browser tabs for ad-hoc SQL, digging through console history, and copy-pasting snippets back into your repo, your queries, results, and code all stay in one place.

3. Visual Graphs, Lineage & Pipelines

Data work isn’t just tables and SQL, a lot of debugging comes down to understanding how assets connect. Inside the Mini Cloud Console, you get visual views without jumping to separate GCP tabs:

  • Table Lineage & Relationships: Right inside the entity viewer (for example, dim_customers.bq.table), the Lineage and Relationships tabs let you trace upstream/downstream dependencies and dataset connections directly from your editor.

  • BigQuery Property Graphs: Notice the Property Graphs folder nested right inside your dataset in the sidebar. With Data Agent Kit’s support for BigQuery Graph, you can browse property graphs and inspect their schema views, node/edge mappings, and resource details directly inside the IDE.

  • Orchestration Pipelines (DATA ENGINEERING): Under the DATA ENGINEERING section in the sidebar, you can inspect orchestration pipelines, run histories, and workflow steps visually right next to your code instead of switching over to Cloud Composer / Managed Service for Apache Airflow.

4. What Else Lives in the Sidebar?

Even though we only turned on BigQuery and Cloud Storage for this walkthrough, take a quick look at the rest of the Data Agent Kit sidebar — there are a few handy built-ins worth knowing right away:

  • + New BigQuery Notebook: Create and run BigQuery notebooks directly inside Antigravity IDE alongside your .sql files.

  • bigquery-public-data: Pinned right inside the explorer so you can test queries and agent prompts safely against public datasets before touching production tables.

  • Jobs & Data Transfers: Check recent BigQuery job runs, errors, or Data Transfer Service configs without opening the browser console.

  • Sidebar Toolbar (Refresh & Filter): If your GCP project has dozens of datasets or buckets, use the Filter and Refresh icons at the top of the Data Agent Kit sidebar to narrow down what you're looking at without endless scrolling.

  • The Rest of Google Data Cloud: Notice CATALOG, APACHE SPARK, DATAFLOW, and DATABASES (Cloud SQL, AlloyDB, Spanner, Bigtable, and Firestore) sitting right in the sidebar. Once those APIs are enabled in your GCP project—and toggled on in Service Integrations for your agent—you can browse and query them from the exact same panel.

Not Using Antigravity IDE? Data Agent Kit Works Everywhere

While we are anchoring this series in Antigravity IDE, one of the best things about Google Cloud Data Agent Kit is that it is portable by design. You don’t have to switch editors to use it:

Press enter or click to view image in full size

What’s Next

You now have Google Cloud Data Agent Kit installed, authenticated with ADC, and running a Mini Cloud Console inside Antigravity IDE — without opening a browser tab or writing manual MCP JSON configs.

This post is Part 1 of my Getting started with Google Cloud Data Agent Kit series. In the next posts, we will move from the UI into the agent itself — looking closely at how Agentic Skills (SKILL.md) and MCP tools work together, running an end-to-end Cloud Storage to BigQuery workflow on our devfest_commerce dataset, and exploring more of what Data Agent Kit supports across Google Data Cloud.

Let’s Connect

I’m an Independent Consultant and Google Developer Expert (GDE) partnering with startups and early-stage SaaS teams on Developer Experience (DevEx) and GTM content — helping teams ship clearer docs, stronger demos, developer tutorials, live workshops, and repeatable content engines across Google Cloud, Google Workspace, and AI workflows.

If you want to follow the rest of this series (blogs, YouTube walkthroughs, live trainings, and quick LinkedIn/X posts) — or if you’re building developer tools, scaling SaaS adoption, or looking for a technical writer, trainer, or DevEx partner — let’s connect:

原文:https://www.a8q9.cn/en/article/getting-started-with-google-cloud-data-agent-kit-in-antigravity-ide-1b1312.html

相关文章