Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 9 additions & 32 deletions docs/integrations/antigravity.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -24,45 +24,22 @@ echo 'export MEM0_API_KEY="m0-your-api-key"' >> ~/.bashrc && source ~/.bashrc

## Installation

**Option A — degit** (one command, no clone needed):
**Option A — degit** (recommended):

```bash
npx degit mem0ai/mem0/mem0-plugin/.antigravity ~/.gemini/config/plugins/mem0
# Install the plugin (MCP server, hooks, scripts)
npx degit mem0ai/mem0/mem0-plugin ~/.gemini/config/plugins/mem0
```

**Option B — agy CLI** (if you have the repo cloned):

```bash
agy plugin install /path/to/mem0/mem0-plugin/.antigravity
```

**Option C — MCP only** (no hooks or skills):

Create `~/.gemini/config/plugins/mem0/plugin.json`:

```json
{
"name": "mem0",
"mcpServers": {
"mem0": {
"serverUrl": "https://mcp.mem0.ai/mcp/",
"headers": { "Authorization": "Token ${MEM0_API_KEY}" }
}
}
}
```

Restart Antigravity. The full plugin auto-registers the MCP server, lifecycle hooks, scripts, and all `/mem0:` skills. It reads `MEM0_API_KEY` from your environment automatically — no extra config needed.


This installs the MCP server, lifecycle hooks, and shared scripts.

## What's Included

| Component | Full Plugin (A/B) | MCP Only (C) |
|-----------|:-----------------:|:------------:|
| MCP Server (9 memory tools) | Yes | Yes |
| Lifecycle Hooks | Yes | No |
| 16 Slash Commands | Yes | No |
| Component | Included |
|-----------|:--------:|
| MCP Server (9 memory tools) | Yes |
| Lifecycle Hooks | Yes |
| 16 Slash Commands | Yes |

## Available MCP Tools

Expand Down
4 changes: 0 additions & 4 deletions docs/integrations/opencode.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,6 @@ If you only need the memory tools without hooks or skills, add this to your `ope
}
```

<Info icon="check">
Start a new OpenCode session and ask: *"Search my memories for hello"*. If the `mem0` tools appear and respond, you're all set.
</Info>

## What's Included

| Component | Plugin (A) | MCP Only (B) |
Expand Down
10 changes: 0 additions & 10 deletions mem0-plugin/.antigravity-mcp.json

This file was deleted.

1 change: 0 additions & 1 deletion mem0-plugin/.antigravity/scripts

This file was deleted.

1 change: 0 additions & 1 deletion mem0-plugin/.antigravity/skills

This file was deleted.

41 changes: 10 additions & 31 deletions mem0-plugin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -186,35 +186,14 @@ See [OpenCode integration docs](https://docs.mem0.ai/integrations/opencode) for

### Antigravity (Google)

**Option A — degit** (recommended, one command):
**Option A — degit** (recommended):

```bash
npx degit mem0ai/mem0/mem0-plugin/.antigravity ~/.gemini/config/plugins/mem0
# Install the plugin (MCP server, hooks, scripts)
npx degit mem0ai/mem0/mem0-plugin ~/.gemini/config/plugins/mem0
```

**Option B — agy CLI** (if you have the repo cloned locally):

```bash
agy plugin install /path/to/mem0/mem0-plugin/.antigravity
```

Both install the MCP server, lifecycle hooks, all 16 skills, and shared scripts.

**Option C — MCP only** (no hooks or skills) — create `~/.gemini/config/plugins/mem0/plugin.json`:

```json
{
"name": "mem0",
"mcpServers": {
"mem0": {
"serverUrl": "https://mcp.mem0.ai/mcp/",
"headers": { "Authorization": "Token ${MEM0_API_KEY}" }
}
}
}
```

All options read `MEM0_API_KEY` from your environment automatically.
This installs the MCP server, lifecycle hooks, and shared scripts.

See [Antigravity integration docs](https://docs.mem0.ai/integrations/antigravity) for full details.

Expand Down Expand Up @@ -265,11 +244,11 @@ The plugin includes 17 skills accessible via `/mem0:` commands:

## What's included

| Component | Claude Code / Cowork | Cursor (Marketplace) | Cursor (Deeplink/Manual) | Codex (Sideload) | Codex (Direct MCP) | OpenCode (Full) | OpenCode (MCP) | Antigravity (A/B) | Antigravity (C) |
|-----------|:--------------------:|:--------------------:|:------------------------:|:----------------:|:------------------:|:---------------:|:--------------:|:------------------:|:-----------------:|
| MCP Server | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes |
| Lifecycle Hooks | Yes | Yes | No | Opt-in | No | Yes | No | Yes | No |
| Mem0 SDK Skill | Yes | Yes | No | Yes | No | Yes | No | Yes | No |
| Component | Claude Code / Cowork | Cursor (Marketplace) | Cursor (Deeplink/Manual) | Codex (Sideload) | Codex (Direct MCP) | OpenCode (Full) | OpenCode (MCP) | Antigravity |
|-----------|:--------------------:|:--------------------:|:------------------------:|:----------------:|:------------------:|:---------------:|:--------------:|:-----------:|
| MCP Server | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes |
| Lifecycle Hooks | Yes | Yes | No | Opt-in | No | Yes | No | Yes |
| Mem0 SDK Skill | Yes | Yes | No | Yes | No | Yes | No | Yes |

- **MCP Server** — Connects to the Mem0 remote MCP server (`mcp.mem0.ai`), providing tools to add, search, update, and delete memories. No local dependencies required.
- **Lifecycle Hooks** — Automatic memory capture at key points. Claude Code, Cursor, OpenCode, and Antigravity wire hooks natively when the full plugin is installed. Codex hooks are opt-in via a one-time installer (`scripts/install_codex_hooks.py`).
Expand All @@ -283,7 +262,7 @@ When the plugin updates (new version pulled from the marketplace, or a fresh loc
- **Cursor:** quit and relaunch.
- **Codex:** restart the editor session.
- **OpenCode:** restart the session.
- **Antigravity:** restart the session, or re-run `agy plugin install /path/to/mem0/mem0-plugin/.antigravity`.
- **Antigravity:** restart the session.

Your `MEM0_API_KEY` doesn't need to be re-entered — the auth header is re-read from your environment on the new session. The plugin's MCP config uses `${MEM0_API_KEY}` interpolation at session start, not at install time, so as long as the env var is set persistently (in your shell profile or `~/.claude/settings.json` `env` block), reconnection is automatic on restart.

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading