Empty results from subagent on latest release 0.9.9 #1746

Closed
opened 2026-02-16 17:32:26 -05:00 by yindo · 8 comments
Owner

Originally created by @NaikSoftware on GitHub (Sep 17, 2025).

Originally assigned to: @rekram1-node on GitHub.

Image Subagent sucessfully finished but main agent shows nothing. And I didnt see my command /commit in the chat.
Originally created by @NaikSoftware on GitHub (Sep 17, 2025). Originally assigned to: @rekram1-node on GitHub. <img width="919" height="341" alt="Image" src="https://github.com/user-attachments/assets/ab2dae04-26da-4542-8561-ca05bde7cdb4" /> Subagent sucessfully finished but main agent shows nothing. And I didnt see my command /commit in the chat.
yindo closed this issue 2026-02-16 17:32:26 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Sep 17, 2025):

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

  • #2352: Subagents cannot interact normally - reports subagents sometimes not doing anything and behaving unpredictably
  • #2631: Subagents trying to execute destructive actions in Plan Mode - another subagent functionality issue from the same author
  • #2612: /undo after agent task doesn't remove agent tab - related to subagent output/display issues

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

@github-actions[bot] commented on GitHub (Sep 17, 2025): This issue might be a duplicate of existing issues. Please check: - #2352: Subagents cannot interact normally - reports subagents sometimes not doing anything and behaving unpredictably - #2631: Subagents trying to execute destructive actions in Plan Mode - another subagent functionality issue from the same author - #2612: /undo after agent task doesn't remove agent tab - related to subagent output/display issues Feel free to ignore if none of these address your specific case.
Author
Owner

@rekram1-node commented on GitHub (Sep 17, 2025):

is this a command using a subagent

@rekram1-node commented on GitHub (Sep 17, 2025): is this a command using a subagent
Author
Owner

@NaikSoftware commented on GitHub (Sep 17, 2025):

is this a command using a subagent

I used my slash command "/commit", maybe problem in that case

@NaikSoftware commented on GitHub (Sep 17, 2025): > is this a command using a subagent I used my slash command "/commit", maybe problem in that case
Author
Owner

@rekram1-node commented on GitHub (Sep 17, 2025):

yeah I meant like does it have a subagent specified in the command definition because then the command prompt goes to that agent

The primary agent will be able to see the input and output for the command the tui just doesnt show all outputs

@rekram1-node commented on GitHub (Sep 17, 2025): yeah I meant like does it have a subagent specified in the command definition because then the command prompt goes to that agent The primary agent will be able to see the input and output for the command the tui just doesnt show all outputs
Author
Owner

@NaikSoftware commented on GitHub (Sep 17, 2025):

@rekram1-node yes, i specified subagent for this slash command.

And another issue (idk it's related or not) - slash command is not displayed in the main agent

@NaikSoftware commented on GitHub (Sep 17, 2025): @rekram1-node yes, i specified subagent for this slash command. And another issue (idk it's related or not) - slash command is not displayed in the main agent
Author
Owner

@NaikSoftware commented on GitHub (Sep 17, 2025):

Another use case:

  1. Run command (with subagent) like /research
  2. After research try to use results by typing something like this: "Lets implement this"

Result: Opencode can't deliver messages to subagents and main agent didn't know anything about research results. In this case its unusable

@NaikSoftware commented on GitHub (Sep 17, 2025): Another use case: 1. Run command (with subagent) like /research 2. After research try to use results by typing something like this: "Lets implement this" Result: Opencode can't deliver messages to subagents and main agent didn't know anything about research results. In this case its unusable
Author
Owner

@rekram1-node commented on GitHub (Sep 17, 2025):

And another issue (idk it's related or not) - slash command is not displayed in the main agent

The main agent can see it but we do a synthetic message to do deterministic triggers but yeah we should probably show something so it is more intuitive

Result: Opencode can't deliver messages to subagents and main agent didn't know anything about research results. In this case its unusable

The main agent can see the output of the subagents so it can use that context, I don't think it can have a conversation with the subagent tho normally it is task delegation not conversation

@rekram1-node commented on GitHub (Sep 17, 2025): > And another issue (idk it's related or not) - slash command is not displayed in the main agent The main agent can see it but we do a synthetic message to do deterministic triggers but yeah we should probably show something so it is more intuitive > Result: Opencode can't deliver messages to subagents and main agent didn't know anything about research results. In this case its unusable The main agent can see the output of the subagents so it can use that context, I don't think it can have a conversation with the subagent tho normally it is task delegation not conversation
Author
Owner

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

changed this behavior in 1.0.69

@rekram1-node commented on GitHub (Nov 17, 2025): changed this behavior in 1.0.69
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#1746