Skip to content

Sub-agents spawned by background agents appear in UI without user notification #2493

@vladk2854-max

Description

@vladk2854-max

Describe the bug

When a background general-purpose agent spawns a child agent,
the child appears in the /tasks panel silently — no chat message,
no explanation of why it was started or what it does.

Affected version

No response

Steps to reproduce the behavior

  1. Launch a general-purpose agent in background mode with a complex task
  2. The agent internally spawns a sub-agent (e.g. to split work)
  3. The sub-agent appears in /tasks panel with a different name/description
  4. User has no idea who started it or why

Actual behavior

Silent appearance in /tasks. User can only discover it via /tasks panel.

Expected behavior

Any agent launched (directly or by another agent) should post a notification in the chat explaining what it is and who started it.

Additional context

The parent agent also hung for 18+ minutes (7 tool_calls) with no
timeout or warning, then its child continued working after the parent
was killed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:agentsSub-agents, fleet, autopilot, plan mode, background agents, and custom agents

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions