Supermemory releases Antigravity memory plugin with project-memory loading
Supermemory's plugin loads project memories at chat start. In Antigravity CLI tests with Gemini 4 Neon, the company reports similar accuracy with roughly three times fewer tokens and half the runtime.

TL;DR
- Supermemory added persistent project memory to Antigravity; its launch post reports the same accuracy with about one-third the tokens, half the runtime and one-fifth the tool calls in its test.
- Repository memories carry across Antigravity, Claude Code, Codex, Cursor and OpenCode through Supermemory's shared memory space.
- Setup takes one install command and a browser sign-in when a new chat starts.
Installation needs no npm install, a nice consequence of shipping the runtime bundle in Git. A context-gatherer subagent can run several memory searches and return a brief with provenance before large tasks.
Chat-history retrieval
Supermemory tested Antigravity CLI with Gemini 4 Neon (High), according to its launch thread. Questions about facts supplied in earlier chats triggered roughly five shell commands apiece to search old transcripts, the company said in its baseline description.
The company reported finding no dedicated memory store, only rule files such as AGENTS.md or GEMINI.md that the agent wrote intermittently.
Four memory hooks
The plugin registers four lifecycle hooks:
SessionStart: Injects profile context for the current project and starts browser authentication if needed.PreInvocation: Searches Supermemory with the user's prompt on the first model call of each turn. Matches are deduplicated within the conversation; tool-loop calls are skipped.PreToolUse: Auto-approves read-only Supermemory MCP tools. Writes still require permission.Stop: Hands new conversation turns to a detached worker, which saves them under the conversation ID without blocking the turn's completion.
Antigravity has no prompt-submit event, which explains the PreInvocation hook. Recalled context enters as a system message and remains available on later turns.
Memory counts appear in separate user-only notices, rather than model text; Supermemory also emphasized visibility in a launch reply. Automatic recall and capture run in parent conversations, not subagent conversations.
The hooks fail open when the service is unreachable or credentials are missing. Failed saves are reported when the next conversation starts.
Shared repository namespaces
The plugins generate a common repository identity:
- Git remotes: The hash uses the normalized remote, allowing clones to share memory while separating unrelated repositories with the same name.
- No remote: Identity falls back to the local path.
- Worktrees:
SUPERMEMORY_ISOLATE_WORKTREES=truekeys memory on the worktree path instead. - Existing namespaces: A namespace pinned in
.claude/.supermemory-claude/config.jsonis honored by the Antigravity plugin too.
Installation and authentication
The installation requirements are Node.js 18+ and Antigravity CLI 1.4 or later, or the matching App/IDE.
The first conversation opens browser authentication; memory becomes active on the next message. An API key can alternatively be supplied through SUPERMEMORY_ANTIGRAVITY_API_KEY.
Hooks run only in trusted folders. The plugin also supports the Antigravity App, standalone IDE and extensions for VS Code, JetBrains, Zed, Xcode and Eclipse.
Conversation capture
Automatic capture sends conversation content to Supermemory:
- New user messages and agent replies are uploaded.
- Tool activity is included only for tools listed in
includeTools. - Previously injected memory blocks are stripped before capture.
- A local filter redacts common credential patterns, including provider tokens and private keys. The README explicitly says it cannot detect every secret.
Keyword-based capture filtering is available through signalExtraction, but defaults to off. Credentials are stored locally with 0600 permissions; signing out revokes the refresh token.