Antigravity 2.0 stops working after looking at PDFs in my folder

Error ID: 01324bd2-07ff-4580-ad75-3d674536f4d2-54. The program cannot answer any prompts afterwards. I simply get this error code. The last 2 digits change. I had 54, 57 and 60. Everything else stays the same.

Hi @Chaos_Pilot,

Can you please try these steps:

  • Start a New Conversation (Immediate fix) : Click the “+” (New Conversation) in the sidebar, or press Ctrl+Shift+P“Antigravity: New Conversation”. This clears the broken stream and restores normal operation.

    • If new conversations also fail, reload the window: Ctrl+Shift+P“Developer: Reload Window”
  • Deny PDF access entirely via permissions: Create .agents/permissions.json in your workspace root:

    • {
      
      "deny": ["read_file(*.pdf)", "read_file(**/*.pdf)"]
      
      }
      
    • The agent will skip all PDFs without attempting to parse them.

  • Move PDFs outside the workspace: Since these files inside the active workspace are auto-indexed, move your PDFs to a folder outside the project root so they’re not automatically scanned.

  • Reference PDFs explicitly with @file: Instead of bulk indexing, only reference a specific PDF to the chart interface: @/path/to/document.pdf summarize this

If the error persists even in a new conversation after reloading, please also clear the session cache at ~/.gemini/antigravity-ide/brain/ (macOS/Linux) or%USERPROFILE%\.gemini\antigravity-ide\brain\ (Windows) and restart the IDE.