Engine Control Hub
Antigravity allows you to seamlessly switch between different AI engines mid-workflow. Here's how to install the scripts and workflows that make it happen.
Under the Hood
This is the actual text of the workflow
Engine Control Hub
Antigravity allows you to seamlessly switch between different AI engines mid-workflow. This is handled by a set of utility scripts, specific switch workflows for each engine, and specialized skills that orchestrate the handoff.
I. Install the Core Scripts
You will need to download these two Python files and place them inside your Antigravity folder (global_workflows):
II. Install the Switch Workflows
Once the scripts are in place, save the following workflows to your global_workflows folder. Each workflow is specific to a target engine model:
- switch-to-claude-opus-4.6-thinking
- switch-to-gemini-3.1-pro-high
- switch-to-gemini-3.5-flash-high
- switch-to-other
- verify-engine
III. How it Works
When a workflow reaches a step that requires a different engine (for example, switching to Claude Opus 4.6 (Thinking) for rigorous logical analysis, or Gemini 3.1 Pro (High) for massive context window research), it relies on a specialized skill file (e.g., legal_analysis_engine_switch skill) to orchestrate the handoff.
The skill provides the incoming engine with everything it needs:
- The exact name of the parent workflow.
- The specific step number to execute next.
- Relevant context like the current dispute name, stage, and strict constraints (e.g., "Do NOT read any memos yet").
It then invokes the appropriate model-specific switch workflow (e.g., switch-to-claude-opus-4.6-thinking). The switch workflow triggers the Python script to physically manipulate the Antigravity UI, selects the new engine, pastes the orchestrated context message, and seamlessly continues the workflow exactly where the previous engine left off.
The Output
None
How to Set This Up
Option 1: The Easy Way (Automated)
Just point Antigravity to this webpage and ask it to figure it out for you. Antigravity can read this documentation, copy the workflow script, and automatically generate all the required skill files in the correct directories on your machine.
Option 2: The Hard Way (Manual Copy & Paste)
If Antigravity fails to set this up automatically, you will need to manually copy the scripts into your local directories:
- Copy the raw workflow script from the "Under the Hood" section above.
- Save it as
C:\Users\[Your Name]\.gemini\antigravity\global_workflows\engine-control.md. - You must also click every hyperlinked skill file and save its contents into your skills directory. You must do this for every single skill file linked in the workflow. For example, the
legal_analysis_partnerskill must be saved toC:\Users\[Your Name]\.gemini\antigravity\skills\legal_analysis_partner\SKILL.md. - Once all files are saved, open Antigravity and type
/engine-controlin the chat to run it.
New to Antigravity? Read the Master Installation Guide first.