Memory here means notes the harness saves from your sessions and brings back in later ones. Instruction files you write yourself, such as AGENTS.md or CLAUDE.md, are on the Instructions page.
Built-in memory
| Question | Antigravity CLIOff until you turn it on |
|---|---|
| Is it on, and how do I switch it? | Invoke /learn, optionally with a focus. The agent proposes a rule or skill update for review. |
| Who writes memories, and when | The agent creates or updates the files after explicit user approval. The user can request revisions first. |
| Where they are kept | Workspace lessons use AGENTS.md, GEMINI.md or .agents rule/skill paths. Global lessons use ~/.gemini or ~/.gemini/config customization paths. |
| What a new session loads | Google saves learned material in regular customization locations. Subsequent sessions discover it as a rule or skill and apply the corresponding activation behavior. |
| See and edit them | Inspect the proposal artifact before approving, or inspect the resulting rule or skill file. |
| Make it remember something | Approve the proposal to persist the lesson as a rule or skill for future conversations. |
| Correct or forget something | Not documented A dedicated forget command or automatic expiration remains unverified. Learned content is stored in ordinary customization files. |
| Share with a team or another machine | Partly Workspace files follow regular project customization discovery. Cross-machine synchronization of learned files remains unverified. |
| Memory for subagents |