Memory for Antigravity

Checked against Google's Antigravity documentation on 25 November 2026.

Antigravity carries your rules into every session. Atlaso adds a memory it keeps for you, in the IDE and the agy CLI from one install, shared with every other tool you use.

Free to start. No credit card needed.

Does Antigravity remember between sessions?

Antigravity keeps rules, and they add up: global rules in your home folder and workspace rules in your project, with AGENTS.md and GEMINI.md read as always on. Its /learn command turns corrections from a session into persistent rules and skills.

What Antigravity keeps on its own

What Antigravity keeps on its own
Kept asWhat it isWhere it livesWhat it reaches
Global rulesRules you write~/.gemini/GEMINI.md or AGENTS.md, plus ~/.gemini/config/rules/*.mdEvery workspace
Workspace rulesRules you write.agents/rules/ (formerly .agent/rules/), with AGENTS.md and GEMINI.md read as always onThat workspace
/learnRules and skills made from your corrections in a sessionSaved as persistent rules and skillsLater sessions

Each rule applies always on, when the model decides, by file pattern, or manually. A rules file holds up to 24,000 bytes, and always-on rules share a 20,000-token budget.

Checked against Google's Antigravity documentation on 25 November 2026: Rules (opens in a new tab).

Where it stops

Rules are the right place for what must always apply. Three things fall outside them.

01

A budget for always-on rules

Always-on rules share a 20,000-token budget and each file stops at 24,000 bytes, so rules stay short by design.

02

Rules, not recall

Rules hold what you, or /learn, turned into a rule. The reason behind a choice and where you left off rarely become one.

03

Your other tools

A decision you make in Claude Code or Cursor reaches Antigravity only if someone writes it into a file Antigravity reads.

  • Each tool's own files, kept apart
  • Atlaso: one memory, joined to every tool

Clockwise from the top: Claude Code, Codex, Cursor, Claude Desktop, Antigravity and OpenCode.

What Atlaso adds

One memory outside Antigravity, the same on every machine and in every tool you connect.

One memory, every tool

What Antigravity saves is there for Claude Code, Codex and every tool you connect, on every machine. Saving and using memories is free and unlimited.

Automatic in the IDE and the CLI

Atlaso brings in the memories that fit for your prompts and saves what matters after your turns, in the Antigravity IDE and the agy CLI from one install.

Secrets stay out

Passwords, keys and tokens Atlaso recognises are blacked out before anything is saved. We never train AI models on your memory, sell it, or use it for ads.

Yours to see and forget

Every memory is on your dashboard. Ask your memory a question, or forget a memory and it stops coming back in every tool.

How it works with Antigravity

Recall is added for your prompts and capture runs after your turns, in the IDE and the agy CLI, which share the same plugin directory. Setup registers the plugin through the agy command, so agy needs to be on your PATH first.

What setup installs

What setup installs in Antigravity
PieceWhat it does
HooksRecall for your prompts, capture after your turns
MCP toolsSave, recall, list and forget memories when you ask
Rules and skillMemory-aware behaviours

How do I give Antigravity persistent memory?

One command, one sign-in, one restart. Antigravity's agy command needs to be on your PATH first.

01

Run one command

In your terminal, run curl -fsSL https://atlaso.ai/install.sh | bash. On Windows, run irm https://atlaso.ai/install.ps1 | iex in PowerShell.

02

Authorize in your browser

Your browser opens. Sign in, or create your account, and click Authorize to link this machine. You don't edit config files or paste API keys.

03

Pick Antigravity, then restart it

Back in the terminal, pick Antigravity. Fully quit the IDE, or start a fresh agy session, so it loads the plugin.

Built-in memory and Atlaso, side by side

Keep what Antigravity does on its own. Atlaso runs beside it.

Antigravity on its own and with Atlaso
QuestionAntigravity on its ownWith Atlaso
Who writes itYou write rules, and /learn turns your corrections into rules and skills.Atlaso saves as you work, in every tool you connect.
How muchUp to 24,000 bytes a file, with 20,000 tokens for always-on rules.Unlimited memories; only the ones that fit are brought in.
Across toolsYour rules reach Antigravity. AGENTS.md also reaches the tools that read it.Claude Code, Codex, Cursor, Claude Desktop, Antigravity, OpenCode and Grok Build.
What you controlEdit the rules.See, ask and forget any memory on your dashboard.

Questions, answered

Antigravity keeps rules: global and workspace rules, with AGENTS.md and GEMINI.md read as always on, and a /learn command that turns corrections from a session into persistent rules and skills. Atlaso adds a memory that is saved as you work and brought in for your prompts, shared with your other tools.

Other tools

What Antigravity saves, your other tools can use. Atlaso keeps one memory for Claude Code, Codex, Cursor, Claude Desktop, Antigravity, OpenCode and Grok Build.

Never explain yourself twice.

Free in Claude Code, Codex, Cursor, Claude Desktop, Antigravity, OpenCode and Grok Build, with unlimited memories.

Free to start. No credit card needed.