Understanding sub-agents #2809

Closed
opened 2026-02-16 17:37:20 -05:00 by yindo · 4 comments
Owner

Originally created by @jgordijn on GitHub (Nov 12, 2025).

Question

I'm experimenting with subagents. I've noticed behavior I don't really understand.

When a subagent is performing tasks and needs my approval to commit at a certain point or to use specific tools, it appears the main agent is waiting, but I don't see any request for approval. Then, when I navigate through the subagents using the left and right keys, I eventually find the subagent that is waiting for my approval. Once I approve it, the subagent continues its work.

Is this the expected behavior, or am I doing something wrong? I would expect the main agent to report back to me so I can respond to it.

Originally created by @jgordijn on GitHub (Nov 12, 2025). ### Question I'm experimenting with subagents. I've noticed behavior I don't really understand. When a subagent is performing tasks and needs my approval to commit at a certain point or to use specific tools, it appears the main agent is waiting, but I don't see any request for approval. Then, when I navigate through the subagents using the <leader>left and <leader>right keys, I eventually find the subagent that is waiting for my approval. Once I approve it, the subagent continues its work. Is this the expected behavior, or am I doing something wrong? I would expect the main agent to report back to me so I can respond to it.
yindo closed this issue 2026-02-16 17:37:20 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Nov 12, 2025):

This issue might be a duplicate of existing issues. Please check:

  • #4078: Sub-agent's request for permission is not shown in the primary agent's view - describes the exact same behavior where subagent permission requests are not visible in the main agent view and require manual navigation to find
  • #4180: ctrl-left/right doesn't navigate between subagents since 1.0 TUI - discusses navigation issues between subagents using keyboard shortcuts
  • #4092: Better navigation of output, alternative vim mode and non-blocking agent permission requests - requests non-blocking permission requests so they don't interrupt the main workflow

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Nov 12, 2025): This issue might be a duplicate of existing issues. Please check: - #4078: Sub-agent's request for permission is not shown in the primary agent's view - describes the exact same behavior where subagent permission requests are not visible in the main agent view and require manual navigation to find - #4180: ctrl-left/right doesn't navigate between subagents since 1.0 TUI - discusses navigation issues between subagents using keyboard shortcuts - #4092: Better navigation of output, alternative vim mode and non-blocking agent permission requests - requests non-blocking permission requests so they don't interrupt the main workflow Feel free to ignore if none of these address your specific case.
Author
Owner

@jgordijn commented on GitHub (Nov 12, 2025):

I see this is already an issue https://github.com/sst/opencode/issues/4078

@jgordijn commented on GitHub (Nov 12, 2025): I see this is already an issue https://github.com/sst/opencode/issues/4078
Author
Owner

@rekram1-node commented on GitHub (Nov 12, 2025):

@jgordijn im gonna fix it today

@rekram1-node commented on GitHub (Nov 12, 2025): @jgordijn im gonna fix it today
Author
Owner

@jgordijn commented on GitHub (Nov 12, 2025):

Awesome! Good work! @rekram1-node

@jgordijn commented on GitHub (Nov 12, 2025): Awesome! Good work! @rekram1-node
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#2809