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
- Google Antigravity installed on your machine.
- A Buildpad.ai project with a running environment.
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.
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. 22 skills are included, covering tasks like creating API routes, generating tests, scaffolding features, managing access control, 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.
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, microservices, and environment URLs.
{
"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 access token are filled in automatically. No manual configuration needed!
Start the Backend Connections
Once you open the project in Google Antigravity:
- Antigravity will automatically detect
.gemini/antigravity/mcp_config.jsonand load the backend connections. - 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. - Once running, the agent can query your database, look up component documentation, and generate code that works with your actual data.
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 database migrations, collections, and set up role-based access control.
- Add UI components — Install and configure Buildpad UI packages for forms, tables, and more.
Additional Resources
- Google Antigravity MCP Documentation — Learn more about connecting the agent to external tools and data sources.
- Google Antigravity Skills Documentation — Overview of how agent skills work and how to create your own.
- Model Context Protocol — The open standard behind backend connections in AI code editors.