Skip to Content
AI IDE SetupGoogle Antigravity

Google Antigravity

Set up Google Antigravity to start AI-ready development with your Buildpad.ai project. Your AI agent connects directly to your backend so it can understand your data, generate code, and follow your project’s conventions.

Download a ready-to-use starter project for Google Antigravity. It includes your project credentials and backend connections so your AI agent can access your data and build with your project’s conventions from the start.

Prerequisites

Download the Starter Project

From your project’s Details page in Buildpad.ai, find the AI IDE Setup section and click Download Starter under the Google Antigravity card. A microapp’s Detail tab has the same AI IDE Setup section.

The starter carries the project’s tokens, so only the project’s Admins can download it. On the Details page, other people see a note in place of the downloads that says only the project’s Admins can download them. On a microapp’s Detail tab, the download is refused with a message that only people who can manage the project can use its credentials. To get the download, ask a project Admin to give you the Admin role on the project’s Access page. See Roles and Access.

The download contains a ready-to-use project with agent instructions, agent skills, and backend connections — everything your AI agent needs to understand your project and start coding.

Explore the Project Structure

The starter project is generated with .gemini/ and .agents/ directories containing agent instructions, skills, and backend connection settings:

      • GEMINI.md

Key components:

  • .gemini/GEMINI.md — Core rules and guidelines that the Antigravity agent follows when assisting with your project. This is Antigravity’s equivalent of a global instructions file, loaded automatically into every agent interaction.
  • .agents/skills/ — Skills  are reusable instruction packages that follow the open Agent Skills  standard. Antigravity activates them automatically when your request matches what a skill does. 70 skills are included, covering the spec-driven development workflow (/buildpad-spec-*), creating API routes, generating tests, scaffolding features, managing access control, finishing a project’s move to the Buildpad Engine, and more.
  • .gemini/antigravity/mcp_config.json — MCP (Model Context Protocol)  is an open standard that lets AI assistants connect to external tools and data sources. This config connects Antigravity to the Buildpad component library, your live DaaS backend, and the Buildpad platform.
  • .buildpad/project.json — Records the project’s backend (engine or supabase). The skills read it, and the kit holds only the guidance for that backend. Commit this file with your code.

Connect to Backend Services

The .gemini/antigravity/mcp_config.json file connects the Antigravity agent to three backend services:

  • buildpad — Gives the agent access to the Buildpad UI component library, API patterns, and platform conventions so it can write code that follows your project’s standards.
  • daas — Connects the agent to your project’s live backend, giving it direct access to your database collections, schemas, and runtime environment for accurate code generation.
  • buildpad-platform — Connects the agent to the Buildpad platform, giving it access to your full project context: organization, project configuration, microapps, and environment URLs.
.gemini/antigravity/mcp_config.json
{ "mcpServers": { "buildpad": { "command": "npx", "args": ["-y", "@buildpad/mcp@latest"] }, "daas": { "serverUrl": "<Engine URL>/api/mcp", "headers": { "Authorization": "Bearer <your-service-token>" } }, "buildpad-platform": { "serverUrl": "https://app.buildpad.ai/api/tools/mcp", "headers": { "Authorization": "Bearer <your-mcp-token>" } } } }
.gemini/antigravity/mcp_config.json
{ "mcpServers": { "buildpad": { "command": "npx", "args": ["-y", "@buildpad/mcp@latest"] }, "daas": { "serverUrl": "https://<your-project-id>.daas.buildpad.ai/api/mcp", "headers": { "Authorization": "Bearer <your-daas-token>" } }, "buildpad-platform": { "serverUrl": "https://app.buildpad.ai/api/tools/mcp", "headers": { "Authorization": "Bearer <your-mcp-token>" } } } }
✅

Your credentials are pre-filled — When you download the starter from the platform, your project’s backend URL and tokens are filled in automatically. No manual configuration needed!

On a Buildpad Engine project, daas points at <Engine URL>/api/mcp and carries the project’s service token. The service token works for MCP only: the Engine refuses it on its data API. See The Starter Kit.

On a Supabase project, daas points at the project’s DaaS (*.daas.buildpad.ai) and carries the project’s DaaS token. See The Starter Kit.

On both backends, buildpad-platform carries a personal token (bpu_…) that the platform creates for you at each download. You can have up to 25 active personal tokens per project. At the limit, the download is refused (409) until you revoke tokens you no longer use. Downloading the starter again for the same AI IDE and app replaces your earlier starter token: the old one stops working.

Start the Backend Connections

Once you open the project in Google Antigravity:

  1. Antigravity will automatically detect .gemini/antigravity/mcp_config.json and load the backend connections.
  2. Alternatively, open the MCP Store via the ... dropdown at the top of the agent panel, click Manage MCP Servers, then View raw config to inspect or adjust your connections.
  3. Once running, the agent can query your database, look up component documentation, and generate code that works with your actual data.

To let the agent look things up in the Buildpad docs too, add the read-only docs MCP server. See Docs for AI Agents.

Start Building with AI

With backend connections active, open the Antigravity agent panel and start describing what you want to build. The agent will use the instructions and backend connections to:

  • Create projects — Bootstrap a full Next.js application with DaaS integration.
  • Scaffold features — Generate CRUD pages, forms, and API routes from your collection schemas.
  • Generate tests — Create Playwright end-to-end tests for your application.
  • Manage data — Create collections and set up role-based access control. A Buildpad Engine project has no migrations: the agent uses the create-collection and create-rbac skills instead.On a Supabase project, the agent also writes database migrations.
  • Add UI components — Install and configure Buildpad UI packages for forms, tables, and more.
  • Add AI features — Add a chat with a Chocolate Factory agent (the add-ai-chat skill), or an MCP server that lets AI agents use your app’s own data (the add-mcp-server skill). A starter downloaded before these skills were added can get them with npx skills add buildpad-ai/skills. See Chat With Your Data.

Updating Skills

The skills in your starter are a snapshot from download time, vendored from the canonical buildpad-ai/skills  repository. As Buildpad ships new and improved skills, pull them into your project with the skills CLI  — no re-download needed:

npx skills add buildpad-ai/skills --all

The CLI detects Antigravity and writes each skill to .agents/skills/, overwriting the bundled copies with the latest versions. Later on:

npx skills check # see which installed skills are outdated npx skills update # update installed skills

Additional Resources

Last updated on