> ## Documentation Index
> Fetch the complete documentation index at: https://docs.usepitboard.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Use Pitboard with Antigravity

> Add Antigravity accounts, read Google's terms first, and close Antigravity before a switch.

Pitboard switches the one login Google's Antigravity app, its IDE and its command line, `agy`, share. Pitboard sends Google nothing itself: `agy` asks.

## Before you add an Antigravity account

Google's terms decide whether you may use Pitboard with Antigravity. Before your first Antigravity account, Pitboard shows them and goes on only once you continue, as [Antigravity and Google terms](https://docs.usepitboard.com/concepts/limits.md#antigravity-and-google-terms) explains.

Install `agy`, Antigravity's command line, from Google's [Get started](https://antigravity.google/docs/getting-started/) page. Pitboard signs in through `agy`, not through the Antigravity app.

## Add Antigravity accounts

Add each one as [Add another account](https://docs.usepitboard.com/guides/accounts.md#add-another-account) shows: in the app, choose **Antigravity** under **Tool**, and on the command line, start the label with `agy/`.

```sh theme={null}
pitboard enroll agy/work --sign-in
```

The first time, the dialog shows Google's terms with a link to each of Google's pages. Click **Continue** to go on. On the command line, `enroll` asks, and `--yes` answers for you.

`agy` prints an address. Open it, sign in to the Google account to add, and paste the code the browser shows into the dialog, or into the terminal on the command line. Pitboard keeps the sign-in in a folder of its own, so the account in use stays signed in.

`pitboard enroll agy/personal` without `--sign-in` adds the account Antigravity is signed in to.

## Close Antigravity before a switch

Everything that runs Antigravity holds its login and writes it back, so Pitboard switches only while none of it runs.

| What runs Antigravity | What to do |
| - | - |
| The Antigravity app | Quit it. On macOS, the app offers to quit it for you. |
| The Antigravity IDE | Quit it. |
| An `agy` session | Quit it. |
| The IDE's own `agy` | Quit the IDE. |

If any of these runs, the switch stops with `login_held` and names each, and nothing changes. On macOS, where the Antigravity app is all that runs, the app asks first, then quits it, switches and opens it again. The command line never quits an app.

Read in the Antigravity app 2.36.0 and the IDE 2.8.0 on macOS, and `agy` 1.5.19 on every system.

## How Antigravity accounts differ

* Pitboard never switches Antigravity by itself, and never warms one up.
* Pitboard identifies an Antigravity login by the Google account it names, without asking anybody. See [How Pitboard knows whose login it is](https://docs.usepitboard.com/concepts/identity.md).
* Pitboard reads an account's usage by running `agy -p "/usage"` with that login in a folder of its own, which spends none of its limits. [Where the numbers come from](https://docs.usepitboard.com/concepts/usage.md#where-the-numbers-come-from) has the rest.
* The daily renewal never runs `agy`. A parked login is renewed only when Pitboard reads its usage.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.