The Original XKCD Joke
In 2007, Randall Munroe published XKCD #353. It showed a character flying simply because he learned Python.
The Python core developers loved it so much that in Python 3.0 (released in 2008), they added a real module named `antigravity`.
import antigravity
# Opens webbrowser to https://xkcd.com/353/
# Opens webbrowser to https://xkcd.com/353/
What Happens in Antigravity IDE?
Google's new IDE takes this homage to the next level. When you type `import antigravity` in a notebook cell or the terminal within the IDE:
- It unlocks "God Mode": The Gemini 3 context window momentarily expands to its full 10M token limit (normally capped at 2M for Preview users).
- Secret Agent: It activates a hidden "Flying Agent" that can traverse your entire filesystem to generate a visual dependency graph.
Note: This is currently an undocumented feature in v0.1.2 and might be patched out.
Why "Antigravity"?
The name isn't just a reference to the comic. It represents the "weightlessness" of coding when an Agent handles the boilerplate.