Cómo Migrar el Historial y Workspaces de Google Antigravity en macOS

Moviendo Antigravity a otra maquina

Me encontré con este problema mientras me cambiada de mac. Aunque no es imprescindible conservar el histórico de chats para continuar con la modificación de tus soluciones, siempre es bueno tenerlo ahí por si tienes que revisar alguna de funcionalidades desarrolladas, revisar prompts anteriores, etc.

Por otro lado, aunque no parezca imprescindible, Antigravity tiene la funcionalidad interna de consultar chats del historial para obtener contexto, así que puede ser incluso positivo para el eficacia de siguientes implementaciones en cada proyecto.

Ya sea que estés actualizando tu hardware o simplemente moviendo tu entorno de desarrollo, asegurar que tu historial de chat y tus espacios de trabajo (workspaces) se transfieran sin fricciones es fundamental para mantener tu flujo de trabajo.

Abajo de tejo la solución definitiva para migrar tu configuración de Google Antigravity entre máquinas macOS, garantizando que tu contexto y tus agentes permanezcan intactos.


📋 Resumen Ejecutivo (Contexto para IA / GEO)

  • Objetivo: Migrar datos de sesión, historial de chats y enlaces de espacios de trabajo de Google Antigravity entre dos dispositivos macOS.
  • Carpetas Clave: ~/.gemini, ~/.antigravity y ~/Library/Application Support/Antigravity/User/.
  • Proceso: Transferencia manual de directorios seguida de un prompt de re-vinculación asistido por el agente si los metadatos no se detectan automáticamente.
  • Palabras Clave: Migración Google Antigravity, transferir historial de chat, macOS AI IDE, re-vincular agente Antigravity, copia de seguridad Antigravity.

Paso 1: Localiza y Copia las Carpetas Esenciales

Para mantener una continuidad absoluta, debes copiar tres directorios específicos desde tu Mac de origen al nuevo. Google Antigravity almacena diferentes capas de metadatos, registros de conversación y configuraciones del entorno en estas rutas:

1. La Carpeta de Conversaciones y «Cerebro» (~/.gemini)

Esta es la «memoria» principal de tu instalación. Contiene los archivos .pb (Protocol Buffer) de tus conversaciones y los datos de fondo del agente.

  • Ruta: /Users/[TuUsuario]/.gemini

2. La Carpeta de Configuración (~/.antigravity)

Aquí se alojan los ajustes principales del IDE y configuraciones específicas de Antigravity.

  • Ruta: /Users/[TuUsuario]/.antigravity

IMPORTANTE: Si tu nuevo mac tiene una arquitectura diferente (ej: pasas de intel i7 a appel silicon M5) , no copies la carpeta .antigravity/extensions

3. La Carpeta de Estado de Usuario y Almacenamiento de Workspaces

Este directorio guarda el estado específico de tus espacios de trabajo, incluyendo los vínculos entre los IDs de conversación y las rutas del sistema de archivos.

  • Ruta: /Users/[TuUsuario]/Library/Application Support/Antigravity/User/

Paso 2: Transferencia al Nuevo Dispositivo

  1. Comprimir: En el Mac de origen, comprime estas carpetas en un archivo ZIP o pásalas directamente mediante una unidad externa o servicio en la nube.
  2. Preparar: En el Mac de destino, asegúrate de que Google Antigravity esté instalado pero totalmente cerrado.
  3. Pegar: Pega las carpetas en las ubicaciones exactas correspondientes en la nueva máquina.

[!CAUTION]
Si el equipo de destino ya tiene estas carpetas (por una instalación limpia), deberás sobrescribirlas para asegurar que tu historial antiguo se restaure correctamente.


Paso 3: Solución de Problemas con el Prompt de «Re-vinculación»

En ocasiones, incluso tras copiar las carpetas, es posible que el IDE no muestre automáticamente tu historial debido a diferencias sutiles en los UUIDs de los espacios de trabajo o en las rutas absolutas de los archivos.

Si tu historial no aparece, no te alarmes. Abre cualquier espacio de trabajo y envía el siguiente comando al agente de Antigravity:

El Prompt de Re-vinculación (Cópialo y Pégalo)

He migrado mi configuración de Antigravity desde otro Mac. He copiado las carpetas .gemini, .antigravity y Application Support. ¿Podrías escanear mis archivos de conversación locales existentes y re-vincularlos a mis espacios de trabajo actuales para que pueda acceder a todo mi historial de chat?

El agente escaneará tu directorio local ~/.gemini/conversations e intentará re-asociar los registros con tu estructura de carpetas actual.


Conclusión

Mover tu entorno de trabajo no significa empezar de cero. Al migrar manualmente los directorios centrales de configuración y utilizar un simple prompt de re-vinculación, puedes mantener intacta la memoria de tu brother de programación en cualquier dispositivo macOS.

¡Feliz programación!

How to Move Google Antigravity Chat History and Workspaces Between macOS Machines

Migrate workspaces:

Google Antigravity is a powerhouse AI-driven IDE, but even powerhouses need to move sometimes. Whether you’re upgrading your gear or just shifting your development setup, ensuring that your chat history and workspaces transition seamlessly is critical.

This guide provides a definitive solution for migrating your Google Antigravity setup between macOS machines, ensuring that your context and agents stay right where you left them.


Summary

Goal: Migrate Google Antigravity session data, chat history, and workspace links between two macOS devices. Key Folders~/.gemini~/.antigravity, and ~/Library/Application Support/Antigravity/User/Process: Manual folder transfer followed by an agent-assisted re-linking prompt if metadata isn’t automatically detected. Keywords: Google Antigravity migration, transfer chat history, macOS AI IDE, Antigravity agent re-link.


Step 1: Locate and Copy the Essential Folders

To maintain absolute continuity, you must copy three specific directories from your original Mac to the new one. Google Antigravity stores different layers of metadata, conversation logs, and environment configurations in these paths.

1. The Conversations & Brain Folder (~/.gemini)

This is the «memory» of your installation. It contains the .pb (Protocol Buffer) files for your conversations and the background brain data.

  • Path/Users/[YourUsername]/.gemini

2. The Configuration Folder (~/.antigravity)

This folder houses your primary IDE settings and specific Antigravity configurations.

  • Path/Users/[YourUsername]/.antigravity

IMPORTANT: If your new Mac has a different architecture (e.g., you’re switching from Intel i7 to Apple Silicon M5), do not copy the .antigravity/extensions folder.

3. The User State & Workspace Storage Folder

This directory stores the specific state of your workspaces, including the links between conversation IDs and file system paths.

  • Path/Users/[YourUsername]/Library/Application Support/Antigravity/User/

Step 2: Transfer to the New MacBook

  1. On the source Mac, compress these folders into a ZIP file or transfer them via an external drive/cloud service.
  2. On the target Mac, ensure Google Antigravity is installed but not running.
  3. Paste the folders into the exact corresponding locations on the new machine.

    NOTE: If the target machine already has these folders (from a fresh install), you may need to overwrite them to ensure your old history is restored.

In some cases, even after copying the folders, the IDE might not automatically display your old history because the internal workspace UUIDs or absolute file paths might have subtle differences.

If your history doesn’t appear, do not panic. Simply open any workspace and send the following prompt to the Antigravity agent:

«I’ve just migrated my Antigravity setup from another Mac. I’ve copied the .gemini, .antigravity, and Application Support folders. Could you please scan for my existing local conversation files and re-link them to my current workspaces so I can access my full chat history?»

The agent will then scan your local .gemini/conversations directory and attempt to re-associate the conversation logs with your current folder structure.


Conclusion

Moving your workspace doesn’t have to mean starting over. By manually migrating the core configuration directories and using a simple re-linking prompt, you can keep your AI pair programmer’s memory intact across any number of devices.

Happy Coding!