Open History to see the last commit
1# Antigravity
2
3T3 Code runs Google's official Antigravity ACP agent. By default it signs in with your personal
4Google account and uses that account's Antigravity access, including access provided by a
5Google AI subscription. It never falls back to a different sign-in method than the one you
6select.
7
8The agent, files, conversation state, and Google credentials stay on the selected environment.
9Your browser or phone controls that environment. Signing in to the Antigravity IDE or CLI does
10not sign in this T3 Code provider.
11
12## Set up Antigravity
13
14On web or desktop, open **Settings** > **Providers**, select the device that runs your project,
15then select **Antigravity**. On mobile, open **Settings** > **Environments**, expand the
16environment, then choose **Set up Antigravity**. An existing setup shows **Manage Antigravity**.
17The model picker can open setup for the selected environment too.
18
191. Choose **Enable Antigravity**. Antigravity is off by default.
202. Choose **Install Antigravity**. T3 Code downloads the official runtime from Google to that
21 environment. Installation continues if you leave the page or reconnect.
223. Choose **Sign in with Google**.
234. Choose **Open sign-in page** on web or desktop, or **Open Google sign-in** on mobile. You can
24 use **Copy sign-in link** to open it in another browser.
255. Complete Google sign-in. Use the account you use for Antigravity.
266. Wait for T3 Code to confirm sign-in and load the model choices. Select an Antigravity model
27 in the thread's model picker.
28
29Setup requires a connection with permission to operate the environment. If setup is unavailable
30on an older server, update that environment first.
31
32### Sign in from a remote device
33
34Google returns to a `127.0.0.1` address on the device running your browser. If that is the same
35machine as the T3 Code environment, sign-in can finish directly.
36
37On a phone or another computer, the final page will usually fail to load. This is expected.
38Copy the full address from the browser, including everything after `?`, and paste it into the
39return URL field in T3 Code. Choose **Continue** on web or desktop, or **Complete sign-in** on
40mobile. Do not change the address to your server's hostname.
41
42Return to the same T3 Code client and environment where you started sign-in. Another client
43can see that sign-in is in progress, but cannot complete that attempt. The setup screen shows
44the expiry time. If it expires, choose **Retry Google sign-in** and use the new link.
45
46The return URL contains a temporary sign-in code. Paste it only into the setup field, not into
47a thread or bug report. T3 Code waits for Google's agent to confirm sign-in. A successful
48callback page alone does not prove account access.
49
50### Other sign-in methods
51
52**Sign-in method** in the Antigravity provider settings on web or desktop selects how the
53agent authenticates. Mobile shows the selected method and its connect controls.
54
55| Method | What you enter | How it signs in |
56| -------------------------- | ---------------------------------------- | ------------------------------- |
57| Google account | Nothing | Google sign-in page |
58| Gemini Enterprise | GCP project and GCP location | Google sign-in page |
59| Gemini API key | API key | Choose **Connect**. No browser. |
60| Agent Platform (Vertex AI) | API key, or GCP project and GCP location | Choose **Connect**. No browser. |
61
62Gemini Enterprise resolves your license for the project and location you enter. Agent Platform
63with a project and location uses Application Default Credentials on the environment. API keys
64are stored in plain text in T3 Code settings on that environment and are passed only to the
65Antigravity agent process. Ambient `GEMINI_API_KEY` or `GOOGLE_*` variables on the environment
66are ignored.
67
68Changing the method stops the instance's sessions. Sign out or disconnect before you switch
69accounts.
70
71## Runtime installation
72
73Managed downloads are available for these environment hosts:
74
75| Host | Architecture |
76| ------- | ------------- |
77| macOS | Apple Silicon |
78| Linux | x64 or ARM64 |
79| Windows | x64 or ARM64 |
80
81Google does not publish a local Intel Mac runtime. Use an Intel Mac as a client connected to
82a supported remote environment.
83
84The current Linux x64 runtime downloads about 682 MB and uses about 2.01 GB after extraction.
85Allow at least 3 GB free for installation. An update keeps the previous runtime too.
86T3 Code does not download it until you choose to install it.
87
88On web or desktop, **Update Antigravity** appears when T3 Code has a newer managed release.
89Running sessions keep their current runtime. New sessions use the installed update.
90
91### Use a manual installation
92
93Download the correct archive from the [official ACP Registry][registry] and extract both the
94ACP executable and its `localharness_external` helper into the same directory. Keep both files
95at the same version and make them executable on macOS or Linux. Windows uses `.exe` files.
96
97On web or desktop, set **Binary path** in the Antigravity provider settings to the ACP
98executable on the selected environment. Do not point it at the helper or the Antigravity IDE.
99
100A nonempty **Binary path** takes priority. With the field empty, T3 Code uses its managed
101runtime, then an installation on the environment's `PATH`. An invalid explicit path reports
102an error instead of selecting another installation. T3 Code does not update or remove manual
103installations. Clear **Binary path** to use managed installation controls.
104
105## Models and threads
106
107The current official ACP exposes Gemini models only. T3 Code uses the model IDs and names
108returned for your account, including any model choices with different thinking levels. Models
109available in other Antigravity apps might not be available through this agent.
110The model picker updates when a running session reports new model choices.
111
112New threads use Gemini 3.8 Flash (High) when your account offers it. Older Gemini generations
113stay available under **Legacy models** in the picker.
114
115Threads keep their selected model when you resume them. If that model is no longer available,
116T3 Code asks you to select an available model instead of silently changing it.
117
118Use Antigravity's native `/plan` command to request a plan. T3 Code's separate Plan mode control
119is not available for this provider.
120
121Project skills should use `.agents/skills`. T3 Code also discovers `.gemini/skills` and the legacy
122`.agent/skills` location. When multiple locations define the same skill name, `.gemini/skills`
123takes precedence, followed by `.agents/skills` and then `.agent/skills`.
124
125Antigravity reads and edits workspace files through T3 Code. Each write shows up as a file
126change approval with the content, so **Supervised** and **Auto-accept edits** behave the same way
127they do for other providers. Attach images, PDFs, text files, or audio clips to a message and
128the agent receives them directly.
129
130When the agent offers **Allow for this thread** on a shell or web tool, T3 Code shows Google's
131prompt injection warning next to that choice. Untrusted content could re-run the same action
132without asking again.
133
134Antigravity can ask you to choose from a fixed set of answers. Select one of the offered
135choices. These questions do not accept custom text and still appear in **Full access** mode.
136See [Permission modes](./permission-modes.md) for tool approvals.
137
138T3 Code keeps thread history and file diffs. Antigravity does not support conversation rewind,
139so reverting a thread or editing and resubmitting an earlier turn is unavailable. Send a
140follow-up message or start a new thread instead.
141
142### Subagents
143
144Antigravity subagent calls appear in **Agents** on web and desktop, and in the work log on
145mobile. Each call shows its status and the result or error returned by Antigravity. Calls
146that run at the same time have separate entries.
147
148The official ACP agent does not report subagent names, models, token usage, or parent links.
149Entries use the name **Antigravity subagent**. Child tool calls cannot be assigned to an entry
150because ACP does not include their owning subagent. These entries track each invocation,
151not a separate thread you can open or control.
152
153## Accounts and removal
154
155Each Antigravity provider instance has its own Google sign-in on its environment. Use
156**Add provider** in web or desktop provider settings to create a separate instance for another
157account. To replace an instance's account, sign out first, then sign in again.
158
159| Action | Result |
160| -------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- |
161| Disable Antigravity | Stops the instance's sessions. Keeps Google sign-in, thread history, and files. |
162| Sign out of Google | Stops the instance's sessions and removes its saved Google credentials. Keeps thread history and files. |
163| Remove downloaded runtime on web or desktop, or Remove managed install on mobile | Removes the runtime shared by Antigravity instances on that environment. Keeps Google credentials, thread history, and files. |
164
165Send `/logout` by itself in an Antigravity thread to sign out that provider instance. This has
166the same effect as **Sign out of Google**, including stopping its other sessions.
167
168Before removing a managed runtime, disable the instances that use it and cancel any active
169installation. T3 Code refuses removal while the runtime is in use. An explicit **Binary path**
170that points into the managed runtime must be cleared first.
171
172## Account access and errors
173
174Google controls account eligibility, models, and usage limits. T3 Code does not report your
175paid-plan tier or remaining subscription quota. See Google's [Antigravity plans][plans] and
176[personal Google sign-in guide][google-setup].
177
178After an environment restarts, Google sign-in can show as not checked until an authenticated
179session succeeds. To check account access and reload models, use **Refresh provider status**
180in web or desktop provider settings, or **Refresh models** in the mobile model picker. Refresh
181uses saved Google sign-in and does not open a login page. If sign-in is required, use the
182provider's setup controls. Automatic status checks verify the installation only.
183
184The packaged runtime can be slow to start, especially on Windows. Health checks, model refresh,
185and sign-out each allow up to 90 seconds before reporting a timeout.
186
187If Google reports `SUBSCRIPTION_REQUIRED`, an account restriction, or a usage limit, read the
188provider's message. A finished turn can contain an upstream error instead of completed work.
189Use any retry time Google supplies. T3 Code does not switch to an API key to get past the limit.
190
191[registry]: https://github.com/agentclientprotocol/registry/blob/main/antigravity-acp/agent.json
192[plans]: https://antigravity.google/docs/plans
193[google-setup]: https://antigravity.google/docs/ide/extensions/zed