← Back to all workflows
System

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:

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:

  1. The exact name of the parent workflow.
  2. The specific step number to execute next.
  3. 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:

  1. Copy the raw workflow script from the "Under the Hood" section above.
  2. Save it as C:\Users\[Your Name]\.gemini\antigravity\global_workflows\engine-control.md.
  3. 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_partner skill must be saved to C:\Users\[Your Name]\.gemini\antigravity\skills\legal_analysis_partner\SKILL.md.
  4. Once all files are saved, open Antigravity and type /engine-control in the chat to run it.