t3code icon indicating copy to clipboard operation
t3code copied to clipboard

Antigravity provider: subagents no longer appear in UI after antigravity-acp updated invoke_subagent schema

Open benzin8 opened this issue 1 week ago • 1 comments

What happened

When an Antigravity thread spawns a background subagent via invoke_subagent, it no longer appears in the T3 Code thread sidebar or activity UI (previously rendered as an Antigravity subagent batch card / active subagent). The parent thread immediately transitions to completed with pendingBackgroundTasks: [] even while the Antigravity subagent is actively running in the background.

Diagnosis

antigravity-acp recently updated its invoke_subagent tool schema from a batch array ({ Subagents: [...] }) to a single-subagent object:

  • Input: { TypeName: string, Role: string, Prompt: string, Model?: string, Workspace?: string }
  • Output: returns a single conversationId (managed via manage_subagents / send_message).

T3 Code's Antigravity provider adapter still expects the legacy { Subagents: [...] } payload structure. As a result, invoke_subagent falls back to a generic dynamic_tool item (title: "Run invoke_subagent"), no subagent card/entry is created in the UI, and T3 Code does not track the running background subagent state.

Steps to reproduce

  1. Start a thread using the Antigravity provider (antigravity-acp).
  2. Ask the agent to delegate a task to a native Antigravity subagent (triggering invoke_subagent).
  3. Observe that invoke_subagent is recorded only as a completed generic dynamic_tool (Run invoke_subagent), no subagent card appears in the sidebar/thread UI, and the thread status becomes completed while the subagent is still running (manage_subagents({ Action: "list" }) shows status running).

Version

0.1.11-nightly.20261118.4864

Environment

Windows 10 x64 (10.0.19045), Node v22.23.4, agy 1.4.12 (antigravity-acp)

Evidence

{
  "thread": {
    "providerInstanceId": "antigravity",
    "status": "completed",
    "pendingBackgroundTasks": []
  },
  "item": {
    "type": "dynamic_tool",
    "status": "completed",
    "title": "Run invoke_subagent",
    "text": "{\n  \"toolName\": \"Run invoke_subagent\",\n  \"input\": {\n    \"TypeName\": \"code-implementer\",\n    \"Role\": \"Step 5 Trigger Funnels Implementer\",\n    \"Prompt\": \"<redacted>\"\n  }\n}"
  }
}

Related issues

No response

Fix applied or workaround

No response

Filed by

No response

benzin8 avatar Nov 18 '26 07:11 benzin8

Same experience here on Linux with 0.1.11-nightly.20261118.4890 and agy CLI 1.5.11.

In a normal thread, the main agent wrote a draft plan and started an isolated audit subagent (invoke_subagent), then told me it was waiting for the audit to finish before handing it back to me. Instead of showing the subagent still running, T3 immediately finished the turn (Worked for 2m 28s) and went back to idle.

The subagent was clearly still running in the background because when I manually typed "done yet?", the agent woke up with the round-1 audit findings, updated the file, started a round-2 audit, and then T3 ended the turn again (Worked for 1m 28s), forcing me to ask "any update?" all over again.

Also shared this experience on the related issues: #36105, #38535, #30082, and #16442.

dimsedra avatar Nov 19 '26 01:11 dimsedra