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.
- 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 - Sign in.Sign-in command
npx memroot@latest agy loginApprove the separate Memroot connection in your browser, then restart Antigravity CLI.
- 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:
- Reminds Antigravity CLI to check Memroot. At the start of a session the plugin names the project in use, and with each of your messages it reminds Antigravity CLI to check Memroot before a new task, a failure, or an action that is hard to undo. Greetings, thanks and requests not to check get no reminder.
- Waits for a check before the first change. When Antigravity CLI is about to change files and has not checked Memroot since your last message, the plugin holds the first change once and reminds it to check.
- Saves lessons as it works. Antigravity CLI saves decisions, root causes, fixes, failed approaches and conventions to Memroot without being asked, marked as Agent save, and tells you in one line. Tell it not to, and it stops.
- Saves its own notes to Memroot too. When Antigravity CLI writes a lesson to its own built-in memory, the plugin reminds it to save the same lesson to Memroot.
- Checks known failures. When a tool reports an error, the plugin reminds Antigravity CLI to check Memroot for the same failure before it reports or fixes it.
- Keeps every call on your project. Memroot calls go to the project you chose for this computer or folder.
- Adds Memroot’s rules and skills. The rules tell Antigravity CLI to use Memroot as its project memory. The skills are
/memroot:memroot-memory,/memroot:memroot-project,/memroot:memroot-statusand/memroot:memroot-help, or the /skills menu.
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:
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:
npx memroot@latest project use "Example App" --hereNothing 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.
npx memroot@latest doctor --agent agyTo update the plugin, its connection and its rules, run update, then restart Antigravity CLI.
npx memroot@latest update --agent agyRemove Memroot
- Revoke the Antigravity CLI connection on the Connections page of the console.
- Remove the plugin and its connection from Antigravity CLI:Remove the plugin
agy plugin uninstall memrootRemove the Memroot serveragy mcp remove memroot - Delete the credentials the Memroot command-line tool stored on this computer:Sign-out command
npx memroot@latest logout - 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
- Start with doctor. Run the doctor command from Check and update and follow the fix it gives for each problem.
- Antigravity CLI does not see Memroot. Restart Antigravity CLI after setup and after each update.
- Memroot is not signed in. Run
npx memroot@latest agy loginin your terminal. - The connection was revoked. Approve a new one with the same command and
--force. - No project is selected. Choose one as in Choose a project.
- A memory you just saved is not found. A new memory takes about two minutes to become searchable. Search again after that.
- A setup command fails in Antigravity CLI. Update Antigravity CLI, then run setup again. Running setup again also repairs an install.
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.