Memroot / Docs

Set up Memroot in Antigravity CLI

Last updated November 29, 2026

Quick start

You need Node.js 22 or later on macOS or Linux, Antigravity CLI installed, and a Memroot account. You can create an account first, or register when the browser opens. Windows is not supported.

  1. Run setup in your terminal. It shows what it will install, then installs the Memroot plugin and connects Memroot to your account.
    Setup command
    npx memroot@latest setup --agent agy
  2. Sign in.
    Sign-in command
    npx memroot@latest agy login

    Approve the separate Memroot connection in your browser, then restart Antigravity CLI.

  3. Check it works. Ask Antigravity CLI to call connection_status. Choose a project with /memroot:memroot-project, then ask Antigravity CLI to check Memroot for a project question.

Setting up more than one agent? Run npx memroot@latest setup and pick them all.

What the plugin does

Memroot is project memory for software teams: the decisions, root causes, fixes, failed approaches and conventions behind your code. The plugin makes Antigravity CLI use it on its own:

The hooks themselves make no network request and never open a transcript.

Sign-in and connections

There are no API keys: you sign in to Memroot in your browser. Antigravity CLI uses its own Memroot connection, which npx memroot@latest agy login authorizes. Memroot keeps its credential in your system’s credential store and never reads or copies Antigravity’s own credentials.

The project commands in your terminal use a second connection, named Memroot CLI.

See and revoke every connection on the Connections page of the console. A revoked connection can no longer be used.

Choose a project

Every memory belongs to a project. If your account has one project, it is used. If it has several, choose one with /memroot:memroot-project in Antigravity CLI, or in your terminal:

Choose a project
npx memroot@latest project use "Example App"

The choice applies to every agent on this computer until you change it. To use another project in one folder and the folders below it, bind that folder:

Bind this folder
npx memroot@latest project use "Example App" --here

Nothing is chosen from the folder or repository name: a folder uses a project only when you bind it.

Check and update

The doctor command checks what setup installed for Antigravity CLI: the plugin, its hooks and skills, the connection and the rules, and that your sign-in credential and project are there. It only reads, prints no secrets, gives a fix for each problem, and makes no call to Memroot: step 3 of the quick start checks the connection itself.

Doctor command
npx memroot@latest doctor --agent agy

To update the plugin, its connection and its rules, run update, then restart Antigravity CLI.

Update command
npx memroot@latest update --agent agy

Remove Memroot

  1. Revoke the Antigravity CLI connection on the Connections page of the console.
  2. Remove the plugin and its connection from Antigravity CLI:
    Remove the plugin
    agy plugin uninstall memroot
    Remove the Memroot server
    agy mcp remove memroot
  3. Delete the credentials the Memroot command-line tool stored on this computer:
    Sign-out command
    npx memroot@latest logout
  4. If you no longer use Memroot on this computer, also revoke the Memroot CLI connection on the Connections page.

Your memories stay in your Memroot account. To delete a memory, your content or your account, email privacy@memroot.dev.

Troubleshooting

Still stuck? Email support@memroot.dev with the doctor output (read it first and remove anything you do not want to share), or see the Support page.

Antigravity and its logo are trademarks of Google LLC.