Antigravity CLI — Tutorials
Step-by-step tutorials for Antigravity CLI. Setting up MCP servers, installing plugins, automating PR reviews, and building agent skills.
Antigravity CLI — Tutorials
Step-by-step guides for common Antigravity CLI workflows. For skills-based workflows, see the Agent Skills guide.
Related Tutorials
- Antigravity Image Pipeline — Full pipeline: CLI coding → Antigravity Nano Banana → cwebp → production
- Gemini + Antigravity Pattern — Cross-tool development with image generation
Setting Up MCP Servers
Connect Antigravity CLI to databases, APIs, and external services:
# Install a Postgres MCP server
agy mcp add postgres npx @modelcontextprotocol/server-postgres
# Install a GitHub MCP server
agy mcp add github npx @modelcontextprotocol/server-github
# Verify
agy mcp list
Now your agent can query databases and interact with GitHub:
> Query the users table and show me the top 10 by signup date
> List my open pull requests on this repo
Installing a Plugin
Extend Antigravity CLI with community plugins:
# Install a security audit skill
agy plugin install https://github.com/user/security-audit-skill
# List installed plugins
agy plugin list
# List available skills
> /skills
Automating PR Reviews
Set up automatic code review with GitHub Actions:
name: AI Review
on: [pull_request]
jobs:
review:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: curl -fsSL https://antigravity.google/cli/install.sh | bash
- run: agy -p "Review this PR for bugs, security, and style" \
--output-format json \
--model "Claude Opus 4.6 (Thinking)"
env:
ANTIGRAVITY_API_KEY: ${{ secrets.ANTIGRAVITY_API_KEY }}
Related Articles
Memory, Swarms & Self-Dev with Jcode
Advanced jcode workflows. Set up durable semantic memory, coordinate multi-agent swarms, run headless background tasks, and use self-dev mode where jcode edits its own source.
AI Coding Tool Comparison — Which One Should You Use?
Detailed comparison of Claude Code, OpenCode, Gemini CLI, Cursor, GitHub Copilot, jcode, and pi. Pricing, context windows, MCP support, prompt patterns, and decision guide for every stack.
Roo Code — AI Coding Tool Guide
Cline fork with specialized modes for code, architecture, debugging, and testing. VS Code extension with mode-specific prompt patterns and configuration.