Skip to content
GitAudience

Antigravity

.md

Connect the Antigravity CLI to a GitAudience project, install its two custom sub-agents and its skill, and start the enrichment.

You end with the Antigravity CLI (agy) connected to the MCP server of one project, two custom sub-agents and a project skill installed, and a prompt that enriches the project’s stargazers.

Warning

Antigravity sub-agents run without strict tool isolation. Unlike Claude Code sub-agents, they inherit the tools of the session, because their files have no list of allowed tools; the crawler, which reads public pages, has them too. Launch Antigravity from an empty dedicated folder with no source code or secrets, and keep tool confirmations on. The server checks stay the same as for any client: a token reaches one project, each sub-agent’s capability opens only its own tools for one stargazer, and no email leaves through MCP. See Privacy and data.

Before you start

  • The Antigravity CLI installed on your computer.
  • A project whose setup is finished, with a published configuration. See Add a project.
  • The owner role on the instance, to create the token and to switch the project’s client. See Users.
  • Your instance reachable from your computer at its PUBLIC_URL, such as https://gitaudience.example.com.
  • An empty folder to run Antigravity from.

While you add a project, step 2 asks which AI tool you use, step 6, MCP agent, shows the same command and files, and step 7 gives the first prompt. This page follows Settings › MCP agent, where you find them once the project is set up.

  1. Choose Antigravity

    Open the project, then Settings › MCP agent. At step 1, Choose your agent, pick Antigravity and confirm Switch to Antigravity.

    Switching saves Antigravity for this project and resets the crawler and decider models of your configuration draft to Antigravity’s defaults. Your facts, instructions, target profiles and parallelism stay. Publish the draft in Settings › Agent instructions so the generated files follow it.

    Settings › MCP agent for the orbit project with Antigravity chosen at step 1: the warning that sub-agents run without strict tool isolation, and step 3 showing the agy mcp add command
    Settings › MCP agent for the orbit project with Antigravity chosen at step 1: the warning that sub-agents run without strict tool isolation, and step 3 showing the agy mcp add command
  2. Create an agent token

    At step 2, Create an agent token, type a name for the token and click Create agent token. The token shows once, and the command of the next step already contains it.

  3. Register the MCP server

    Step 3, Register the MCP server in Antigravity, gives the command. For a project whose slug is orbit:

    agy mcp add --type http --header "Authorization: Bearer <YOUR_TOKEN>" \
      gitaudience-orbit https://gitaudience.example.com/mcp

    Click Copy command and run it in a terminal. Keep the options before the server name, as in the command.

    To edit the configuration by hand instead, open Alternative: edit ~/.gemini/config/mcp_config.json manually and add the server to that file:

    {
      "mcpServers": {
        "gitaudience-orbit": {
          "serverUrl": "https://gitaudience.example.com/mcp",
          "headers": {
            "Authorization": "Bearer <YOUR_TOKEN>"
          }
        }
      }
    }
  4. Install the two sub-agents and the skill

    At step 4, Install the two sub-agents, click Copy install command and run it in a terminal. It writes three files:

    FileWhat it is
    ~/.gemini/config/agents/gitaudience-orbit-crawler.mdResearch agent: reads the public pages about one stargazer and saves a dossier
    ~/.gemini/config/agents/gitaudience-orbit-decider.mdEvaluation agent: reads that dossier and returns the facts and target profile scores
    ~/.gemini/config/skills/gitaudience-orbit/SKILL.mdThe skill that runs the enrichment of this project with the two sub-agents

    Inspect install command shows the command first, and a Download button gives each file. The files contain no token and no text from your configuration: only the server name, the project slug and the model of each sub-agent.

    The sub-agent files have no tools: field, and the sub-agents call their MCP tools through call_mcp_tool. The crawler reads public pages with curl: at most 5 pages per stargazer, never LinkedIn and never a search engine.

  5. Start the enrichment

    Start Antigravity from your empty folder. Step 5, Start the enrichment, gives the prompt, which calls the project’s skill:

    /gitaudience-orbit Enrich my GitAudience stargazers for project "orbit".

    Antigravity takes the stargazers in batches. For each one it starts the crawler, then the decider, and saves the result. It goes from one batch to the next without asking you, until no stargazer is left or the server tells it to stop.

    Run the prompt again when new stargazers arrive.

Check that it works

In Settings › MCP agent:

  • Your agent is connected, waiting for its first stargazer as soon as the token has been used.
  • Your agent is connected once both sub-agents have called their MCP tools on the same stargazer. Step 4 then shows MCP tools verified with the date. This says the tools were called; it doesn’t prove the sub-agents were isolated.

The project’s Enrichment page shows the stargazers being processed. See Enrichment.

Sub-agent models

Each sub-agent has its own model, set in Settings › Agent instructions, in the sub-agents card. Antigravity takes a model tier:

Default model
Crawlerflash
Deciderpro

The console offers flash, pro and inherit. The sub-agent files have no effort setting: set the effort of the session with agy --effort or /effort.

After you publish a change to these settings, run the install command of step 4 again.

Read-only access

To let Antigravity read the reports of a project without enriching it, create a Read only token from the Tokens card of Settings › MCP agent. Its banner gives Copy connection command and Copy read-only prompt. No sub-agent file or skill is needed. See MCP server.

If something goes wrong

What you seeWhat to do
The sub-agents cannot reach their tools, or Antigravity reports tools_missingCheck that the server is registered under the MCP server name shown under Advanced, install the files of step 4 again, then run the prompt again.
contract_changedYour sub-agent files come from an older version of GitAudience. Run the install command of step 4 again.
The enrichment stops with limit_reachedThe project has used its 500 free places. See Licence.

After you rename the MCP server, redo steps 3 and 4: register the server under its new name and install the files again under their new names.

Next steps