Getting Started with Antigravity AI
Antigravity AI represents a paradigm shift in software developmentβmoving from code completion to autonomous agentic development. This comprehensive guide will take you from installation to building your first project with Antigravity's powerful AI agents.
π What You'll Learn
- βHow to install and configure Antigravity AI
- βUnderstanding the agent-first development model
- βCreating your first autonomous coding project
- βWriting effective .antigravity rules
- βBest practices for agentic development
Step 1: Installation
Download Antigravity
Visit antigravity.google and download the installer for your operating system:
System Requirements
Minimum Requirements
- β’ 8GB RAM
- β’ 2GB free disk space
- β’ Internet connection
- β’ Modern GPU (optional, for faster inference)
Recommended
- β’ 16GB+ RAM
- β’ 5GB free disk space
- β’ High-speed internet
- β’ Dedicated GPU
Step 2: Initial Setup
After installation, launch Antigravity AI. You'll be greeted with the setup wizard:
Setup Wizard Steps
- 1
Sign in with Google
Authenticate using your Google account to access Gemini 2.0 models
- 2
Choose Your Model
Select Gemini 2.0 Pro (recommended) or explore alternative models
- 3
Configure Workspace
Set your default project directory and preferences
- 4
Complete Onboarding
Review the quick tour to understand key features
Step 3: Understanding the Interface
Antigravity AI features a unique agent-first interface designed for autonomous development:
Chat Panel
Communicate with your AI agent using natural language. Describe what you want to build.
File Explorer
Browse your project files. The agent can read, modify, and create files autonomously.
Agent Panel
View agent status, task progress, and artifacts generated during execution.
Step 4: Your First Project
Let's create a simple project to understand how Antigravity works. We'll build a todo list app with Next.js.
Example Prompt
Create a Next.js todo list application with:
- Modern, beautiful UI using Tailwind CSS
- Add, delete, and mark tasks as complete
- Local storage persistence
- Responsive design
- Dark mode by default
What Happens Next?
After you submit this prompt, Antigravity's agent will:
1. Plan the Implementation
Break down the task into actionable steps
2. Create Project Structure
Generate Next.js app with necessary files
3. Implement Features
Write components, styles, and logic autonomously
4. Test and Verify
Run the app in the browser and verify functionality
Step 5: Writing .antigravity Rules
Create a .antigravity file in your project root to define team standards and development preferences:
# Project Rules
## Code Style
- Use TypeScript for all code
- Follow functional programming patterns
- Use Tailwind CSS for styling
- Prefer server components in Next.js
## Design Standards
- Dark mode by default
- Use glassmorphism effects
- Smooth animations and transitions
- Mobile-first responsive design
## Testing
- Write unit tests for utilities
- Use React Testing Library for components
- Maintain 80%+ code coverageBest Practices
π‘ Be Specific in Prompts
The more specific you are, the better results you'll get. Include technology stack, design preferences, and feature requirements.
β Bad: "Create a web app"
β Good: "Create a Next.js 14 app with TypeScript, Tailwind, and dark mode"
π― Use Artifacts for Validation
Review the artifacts panel to see screenshots, recordings, and task lists. This helps you validate that the agent understood your requirements correctly.
π Iterate Incrementally
Start with a basic version, then iterate. Ask the agent to add features one at a time rather than everything at once.
Next Steps
Now that you've mastered the basics, here's where to go next:
π Ready to Build?
You now have everything you need to start building with Antigravity AI. Remember, the key to success is clear communication with your AI agent and iterative development.