In short.
The Mem0 plugin gives developers who use Google Antigravity, Google's AI coding agent, memory across coding sessions, but it does not automatically insert relevant memories into each new prompt. Version 0.3.1 combines a local search tool, lifecycle hooks for capturing completed work and six memory skills. Search supports scope and session filters. Setup requires a Mem0 API key and Python 3.10 or newer, with additional workarounds documented for Antigravity 1.1.25. Retrieval quality, runtime reliability, ongoing prices and privacy guarantees are not established by the page.
Researched and written by an AI model and checked by a second AI model. How it works
Covers the complete selected documentation page at [https://docs.mem0.ai/integrations/antigravity], including installation, the upgrade warning, local and hosted tool distinctions, lifecycle behavior, search and capture, Sidekick availability, troubleshooting and Antigravity 1.1.25 workarounds. Linked pages, repository contents and external service terms are excluded. No plugin, commands or service calls were executed. Runtime behavior and performance remain unassessed; omitted costs, rights and privacy details remain unknown.
The overview
identity
This is Mem0's plugin for Google Antigravity's agy command-line interface and Desktop IDE. It extends the coding assistant with persistent memory rather than providing a separate coding assistant. The documentation identifies plugin version 0.3.1.
The source is Mem0's integration documentation at [https://docs.mem0.ai/integrations/antigravity].
assessment
Based on its documented features, the plugin appears useful for developers who revisit repositories and want to retrieve context from earlier coding sessions. Automatic capture could reduce the need to manually record completed work, while explicit search gives the assistant a way to retrieve it later.
The practical tradeoff is that saving context does not ensure the assistant will use it for the next task. The page provides no measured evidence that the plugin improves coding accuracy, saves time or retrieves the right memories.
users
The clearest audience is existing Antigravity users working across multiple sessions, especially those who need to revisit previous decisions, tool failures or completed changes.
Beginners need enough command-line familiarity to configure an environment variable, install a plugin and check server registration. Experienced developers get documented search parameters and lifecycle events, but the page does not establish team-sharing behavior or suitability for an entirely offline workflow.
capabilities
The bundle exposes a local search_memories tool and six skills covering search, status, remember, forget, pause and resume. Lifecycle hooks capture completed work and useful tool results, including failures.
Search accepts query, top_k, category, scope and an optional run_id. The documented scope values are repo, dir and mine. Supplying a known run_id restricts recall to memories from that session; omitting it permits searches across sessions. The page delegates fuller scope semantics and legacy compatibility details to linked documentation.
The plugin's directly exposed search tool should be distinguished from the broader memory-management tools listed for the separately configured hosted Mem0 MCP server.
Using it
requirements
Besides Google Antigravity itself, the page's listed prerequisites are a Mem0 API key beginning with m0- and Python 3.10 or newer available as python3, with the key added to the shell profile as MEM0_API_KEY.
The shown installation command also needs npx to be available. Node.js/npm versions, supported operating systems, hardware requirements and detailed Python dependencies are not specified. Although the search server runs locally, the page does not establish local-only memory storage or offline operation.
mechanism
A local Model Context Protocol server gives Antigravity access to memory search. Capture follows three events: PreInvocation initializes the first invocation and recovers pending capture; PostToolUse records useful tool results and failures; Stop reads completed transcript messages and starts a background flush.
Recall happens through search_memories or the search skill. The adapter does not inject query-specific memories during PreInvocation because that event does not contain the user's prompt.
The documentation says user text and assistant summaries retain separate role attribution. It also says captured prompts and responses retain their full redacted text without a per-message character cutoff, with large extraction inputs split across requests. Recall output and tool previews have separate, unspecified limits. Redaction effectiveness is not demonstrated.
setup
The documented procedure is to obtain a Mem0 key at [https://app.mem0.ai/dashboard/api-keys], configure MEM0_API_KEY in the shell profile and reload that profile. The installation command is npx degit mem0ai/mem0/integrations/antigravity-plugin ~/.gemini/config/plugins/mem0. If no tools appear after installation, the page's troubleshooting advice is to restart the Antigravity session.
For upgrades, the page says to move the existing ~/.gemini/config/plugins/mem0 directory aside first because installing over it can leave obsolete files.
For Antigravity 1.1.25, check registration with agy mcp list. If mem0 is absent, the documented workaround is agy mcp add mem0 python3 ~/.gemini/config/plugins/mem0/core/mcp_server.py, followed by a new session. If CLI hooks omit workspace information, launch from the repository with MEM0_CWD="$PWD" agy.
The page suggests checking whether the key is present without displaying it: test -n "$MEM0_API_KEY" && echo configured. These are documented instructions, with no execution results supplied.
example
An illustrative use is revisiting a login redirect fix in a later coding session. A search input could be {"query":"How did we fix the login redirect?","scope":"repo","top_k":5}. This uses documented parameters; the query and result count are illustrative.
If the earlier session ID is known, adding run_id would narrow the search to that session. No actual captured memory, search response or successful retrieval is provided in the evidence.
Assessment & evidence
limitations
Automatic capture is paired with explicit recall; query-specific memory injection at PreInvocation is unavailable in the documented adapter. Sidekick is unavailable in this plugin and is described as exclusive to the Claude Code plugin.
Antigravity 1.1.25 may validate a plugin configuration without loading its MCP server, and hooks may supply an empty workspacePaths array. The adapter uses MEM0_CWD as a fallback when workspace information is missing. If neither is available, it skips recall and capture.
The page supplies no retrieval benchmarks, capture-completeness measurements, latency figures, failure-recovery guarantees or quantified output limits. Compatibility with other Antigravity releases is not established.
reasoning
The strongest practical reason to consider this integration is its combination of automatic capture and searchable session history inside an existing coding environment. Scope and session filters offer ways to narrow recall without requiring every search to span all saved work.
Its usefulness still depends on whether relevant information is captured and whether the assistant searches for it at the right moment. The documented separation of user and assistant text is relevant to preference attribution, but correctness, stale-memory handling and the quality of resulting coding decisions remain unassessed.
alternatives
The page identifies the hosted Mem0 MCP server as an alternative for users needing direct creation, listing, retrieval, updating and deletion of memories and entities. Its setup is linked at [https://docs.mem0.ai/platform/mem0-mcp]. The page warns against configuring the hosted server and bundled server under the same server name.
For users specifically seeking Sidekick, the page points to the Claude Code plugin at [https://docs.mem0.ai/integrations/claude-code#sidekick-agent]. That requires a different coding environment. The linked resources' detailed behavior, prices and comparative performance are not assessed here.
evidence
The evidence is Mem0's complete Antigravity integration documentation at [https://docs.mem0.ai/integrations/antigravity]. It provides concrete installation commands, search parameters, hook mappings, an upgrade warning and release-specific workarounds.
This is a single publisher-authored documentation source. It supplies no runtime logs, independent evaluation, implementation audit or benchmark results. Capture, redaction and role-attribution descriptions are documented behavior rather than independently demonstrated guarantees.
Access & freshness
costs
The page describes Mem0 account signup as free. It does not specify API prices, included usage, subscription requirements, rate limits or Antigravity charges.
Ongoing cost is unknown. Free registration does not establish that memory capture and search are free to operate.
rights
The page links to a public GitHub repository but supplies no licence text or explicit redistribution permission for the plugin or documentation. Applicable usage and redistribution rights are unknown from this page.
Service terms, ownership of stored memories, retention periods, storage location and deletion guarantees are not specified. The presence of a forget skill or hosted deletion tools does not establish those contractual or operational guarantees.
freshness
The page was captured on 15 November 2026 and carries a modification timestamp of 10 September 2026. It identifies plugin version 0.3.1.
Antigravity 1.1.25 is named for compatibility workarounds; the page does not establish it as the newest or minimum supported release. Whether later plugin or Antigravity versions change the documented behavior is unknown.
actions
Before adoption, establish applicable API pricing and data-retention terms, and decide whether explicit memory search fits the intended coding workflow. Choose between the bundled search-and-capture integration and the hosted server's broader direct memory tools.
A useful initial evaluation would capture a harmless completed task, start another session and explicitly search for it. Check repository scope, role attribution and the remember, forget, pause and resume workflows. For Antigravity 1.1.25, also verify server registration and workspace detection. These are proposed evaluation steps, not completed tests.
