Title: How to Use Google's Antigravity CLI for AI Code Assistance – Real Python
Open Graph Title: How to Use Google's Antigravity CLI for AI Code Assistance – Real Python
Description: Get started with Google's Antigravity CLI, a terminal-based AI coding agent, and use it to read, review, and refactor your Python code.
Open Graph Description: Get started with Google's Antigravity CLI, a terminal-based AI coding agent, and use it to read, review, and refactor your Python code.
Mail addresses
?subject=Python article for you&body=How to Use Google's Antigravity CLI for AI Code Assistance on Real Python
https://realpython.com/antigravity-cli/
Opengraph URL: https://realpython.com/antigravity-cli/
X: @realpython
Domain: realpython.com
{
"@context": "http://schema.org",
"@type": "Article",
"headline": "How to Use Google's Antigravity CLI for AI Code Assistance",
"image": {
"@type": "ImageObject",
"url": "https://files.realpython.com/media/Use-Antigravity-CLI-for-Code-Assistance_Watermarked.5eb983b3713c.jpg",
"width": 1920,
"height": 1080
},
"mainEntityOfPage": {
"@type": "WebPage",
"@id": "https://realpython.com/antigravity-cli/",
"lastReviewed": "2026-08-27",
"author": {
"@type": "Person",
"name": "Bartosz Zaczy\u0144ski",
"image": "https://realpython.com/cdn-cgi/image/width=1694,height=1694,fit=crop,gravity=auto,format=auto/https://files.realpython.com/media/coders_lab_2109368.259b1599fbee.jpg",
"url": "https://realpython.com/team/bzaczynski/",
"affiliation": {
"@type": "Organization",
"@id": "https://realpython.com/#organization",
"name": "Real Python",
"url": "https://realpython.com",
"logo": "https://realpython.com/static/real-python-logo-square-512.157ae6bf64ed.png"
}
},
"reviewedBy": [
{
"@type": "Person",
"name": "Aldren Santos",
"image": "https://realpython.com/cdn-cgi/image/width=500,height=500,fit=crop,gravity=auto,format=auto/https://files.realpython.com/media/Aldren_Santos_Real_Python.6b0861d8b841.png",
"url": "https://realpython.com/team/asantos/",
"affiliation": {
"@type": "Organization",
"@id": "https://realpython.com/#organization",
"name": "Real Python",
"url": "https://realpython.com",
"logo": "https://realpython.com/static/real-python-logo-square-512.157ae6bf64ed.png"
}
},
{
"@type": "Person",
"name": "Brenda Weleschuk",
"image": "https://realpython.com/cdn-cgi/image/width=320,height=320,fit=crop,gravity=auto,format=auto/https://files.realpython.com/media/IMG_3324_1.50b309355fc1.jpg",
"url": "https://realpython.com/team/bweleschuk/",
"affiliation": {
"@type": "Organization",
"@id": "https://realpython.com/#organization",
"name": "Real Python",
"url": "https://realpython.com",
"logo": "https://realpython.com/static/real-python-logo-square-512.157ae6bf64ed.png"
}
},
{
"@type": "Person",
"name": "Leodanis Pozo Ramos",
"image": "https://realpython.com/cdn-cgi/image/width=862,height=862,fit=crop,gravity=auto,format=auto/https://files.realpython.com/media/Perfil_final1.9f896bc212f6.jpg",
"url": "https://realpython.com/team/lpozoramos/",
"affiliation": {
"@type": "Organization",
"@id": "https://realpython.com/#organization",
"name": "Real Python",
"url": "https://realpython.com",
"logo": "https://realpython.com/static/real-python-logo-square-512.157ae6bf64ed.png"
}
}
]
},
"datePublished": "2026-07-27T14:00:00+00:00",
"dateModified": "2026-08-27T20:57:02.061055+00:00",
"publisher": {
"@type": "Organization",
"@id": "https://realpython.com/#organization",
"name": "Real Python",
"url": "https://realpython.com",
"logo": {
"@type": "ImageObject",
"url": "https://realpython.com/static/real-python-logo-square-512.157ae6bf64ed.png",
"width": 512,
"height": 512
},
"description": "Real Python is a leading provider of online Python education and one of the largest language-specific online communities for software developers. It publishes high-quality learning resources, such as tutorials, books, and courses to an audience of millions of developers, data scientists, and machine learning engineers each month.",
"slogan": "Become a Python Expert",
"email": "info@realpython.com",
"sameAs": [
"https://github.com/realpython",
"https://www.youtube.com/realpython",
"https://twitter.com/realpython",
"https://x.com/realpython",
"https://www.linkedin.com/company/realpython-com/",
"https://www.facebook.com/learnrealpython",
"https://www.instagram.com/realpython",
"https://www.tiktok.com/@realpython.com"
]
},
"author": {
"@type": "Person",
"name": "Bartosz Zaczy\u0144ski",
"image": "https://realpython.com/cdn-cgi/image/width=1694,height=1694,fit=crop,gravity=auto,format=auto/https://files.realpython.com/media/coders_lab_2109368.259b1599fbee.jpg",
"url": "https://realpython.com/team/bzaczynski/",
"affiliation": {
"@type": "Organization",
"@id": "https://realpython.com/#organization",
"name": "Real Python",
"url": "https://realpython.com",
"logo": "https://realpython.com/static/real-python-logo-square-512.157ae6bf64ed.png"
}
},
"description": "Get started with Google's Antigravity CLI, a terminal-based AI coding agent, and use it to read, review, and refactor your Python code.",
"hasPart": {
"@type": "FAQPage",
"mainEntity": [
{
"@type": "Question",
"name": "What is Google\u2019s Antigravity CLI?",
"acceptedAnswer": {
"@type": "Answer",
"text": "\u003cp\u003eAntigravity CLI is a terminal-based \u003ca href=\"/ref/ai-coding-tools/\" class=\"ref-link\"\u003eAI coding tool\u003c/a\u003e that brings Google\u0026rsquo;s agent assistance into your shell. You can ask questions about your code, track down bugs, and dispatch subagents to handle separate tasks in parallel without ever leaving the command line.\u003c/p\u003e"
}
},
{
"@type": "Question",
"name": "Is Antigravity CLI replacing Gemini CLI?",
"acceptedAnswer": {
"@type": "Answer",
"text": "\u003cp\u003eYes. Google retired \u003ca href=\"/ref/ai-coding-tools/gemini-cli/\" class=\"ref-link\"\u003eGemini CLI\u003c/a\u003e in June 2026, and Antigravity CLI takes its place. Your skills, hooks, subagents, and plugins carry over, and the tool still reads its configuration from the same \u003ccode\u003e~/.gemini/\u003c/code\u003e directory.\u003c/p\u003e"
}
},
{
"@type": "Question",
"name": "Is Antigravity CLI the same as Antigravity 2.0?",
"acceptedAnswer": {
"@type": "Answer",
"text": "\u003cp\u003eGoogle Antigravity is the overall platform, and the others are surfaces that run on top of it. Antigravity CLI is the terminal tool, Antigravity 2.0 and Antigravity IDE are desktop apps, and the SDK lets you build on the same foundation. They all share one agent harness, so improvements to the core agents reach every surface at once.\u003c/p\u003e"
}
},
{
"@type": "Question",
"name": "Does Antigravity CLI require Node.js?",
"acceptedAnswer": {
"@type": "Answer",
"text": "\u003cp\u003eNo. Antigravity CLI ships as a single self-contained binary that bundles the entire Go runtime, so there\u0026rsquo;s no separate runtime to install first. This is one of the main practical differences from Gemini CLI, which depended on Node.js.\u003c/p\u003e"
}
},
{
"@type": "Question",
"name": "Which AI models can Antigravity CLI use?",
"acceptedAnswer": {
"@type": "Answer",
"text": "\u003cp\u003eThe same tool can drive Google\u0026rsquo;s Gemini models, Anthropic\u0026rsquo;s Claude, and an open-weight option, all from one model picker. You can switch between them mid-conversation with the \u003ccode\u003e/model\u003c/code\u003e slash command without losing any context.\u003c/p\u003e"
}
}
]
}
}
| author | Real Python |
| theme-color | #18354c |
| color-scheme | light dark |
| twitter:card | summary_large_image |
| twitter:image | https://files.realpython.com/media/Use-Antigravity-CLI-for-Code-Assistance_Watermarked.5eb983b3713c.jpg |
| og:image | https://files.realpython.com/media/Use-Antigravity-CLI-for-Code-Assistance_Watermarked.5eb983b3713c.jpg |
| twitter:creator | @realpython |
| og:type | article |
| og:site_name | Real Python |
| apple-mobile-web-app-title | Real Python |
Links:
Viewport: width=device-width, initial-scale=1, shrink-to-fit=no, viewport-fit=cover
Robots: max-image-preview:large