How to use Claude Code or Codex with Antigravity for a second opinion
Claude Code or Codex can ask an Antigravity conversation on your Mac for a second opinion and get the answer back, or start a new Antigravity conversation with the question. The answer comes from the model chosen in Antigravity, on Antigravity's own quota.
Updated 2026-11-20
Turn on messages
- In Agent HUD, open Settings → Agent plugins and turn on Let agents message each other under Agent tools. It is off until you turn it on.
- Add HUD tools to the agent that will ask, Claude Code or Codex, on the same page.
- Keep Antigravity open: messages reach it through its running local service. To get replies back into Claude Code, install Agent HUD's plugin for Claude Code as well.
- Start a new session in each agent. A session loads its tools when it starts, so one opened earlier cannot send.

Ask in plain words
In Claude Code or Codex, say what you want checked and what you want back. For example:
Ask Antigravity for a second opinion: start a new Antigravity session in this project and ask whether the caching in api/cache.ts can serve stale data after a failed refresh. Ask for the failure cases, most likely first. Wait for the answer and tell me where it disagrees with you.A paper plane flies on the HUD to Antigravity. For a new conversation, Antigravity's mark appears first and then catches the plane.
Which model answers
The model in Antigravity's picker, the same as for a message you type there. An agent names another model only when you ask for one: it can look up what Antigravity offers, with the quota left on each model, and send the message in the one you name. The conversation stays in that model afterwards.
When Antigravity gets it
The message goes in as a new turn once the conversation is idle, and Antigravity keeps a queued message in its own queue until then. If Antigravity takes a message while a turn is still running, its answer cannot be told apart from that turn, so ask it to reply with a message of its own.
What goes across
Only the words of the message, under a line naming the sender and its session. The conversation so far, the files it read and its tool calls stay where they are, and what comes back is the receiver's reply.
So name the place, the question and the answer you want. The receiver reads the code for itself, in its own session, under its own permissions: what it must ask for, it asks you.
Questions
Can Claude Code or Codex ask Antigravity a question?
Yes. With HUD tools added to the asking agent and Antigravity running, it sends the question to an Antigravity conversation or starts a new one, and the answer comes back to the asking session.
Which Antigravity model answers?
The one chosen in Antigravity's picker. Ask your agent for a specific model and it sends the message in that one; the conversation then stays in it.
Whose quota does the answer use?
Antigravity's. A message starts a turn in Antigravity on its own sign-in and quota, as if you had typed it there.
Does this need Agent HUD Remote?
No. Messages between sessions on the same Mac are free and stay on your Mac.
