Repository navigation
[BUG] Questions from nested sub-agents don't appear in TUI #7654
Copy link
Copy link
Closed as not planned
Description
Activity
- addedopentuiThis relates to changes in v1.0, now that opencode uses opentuiThis relates to changes in v1.0, now that opencode uses opentui
on Jan 10, 2026 github-actions commented
on Jan 10, 2026 on Jan 10, 2026 – with GitHub ActionsContributorMore actionsThis issue might be a duplicate of existing issues. Please check:
- Cannot confirm selected options in
questiontool withmultiple: true#7544: Cannot confirm selected options inquestiontool withmultiple: true- Related to question tool interaction issues with nested agents
Feel free to ignore if none of these address your specific case.
- Cannot confirm selected options in
- marked [BUG] Agent question is not passed in a sub-sub session #10492 as a duplicate of this issue
on Jan 25, 2026 Hi, @mortimr I faced the same problem and I added a phrase to make it works, in your case, I use this:
Do the following: - spawn one subagent - from this subagent spawn 3 background_task and give them a name (one, two and three) - in each background_task ask 3 questions (ask if I prefer python or typescript). Include both the background_task name and the question number. Once all is done, give me a summary of all answers if the subagents has questions, use the tool question to make them interactive to meAdding this:
if the subagents has questions, use the tool question to make them interactive to meAnd this is the result:
I hope this works for you.
- removedbugSomething isn't workingSomething isn't workingopentuiThis relates to changes in v1.0, now that opencode uses opentuiThis relates to changes in v1.0, now that opencode uses opentui
on May 3, 2026 To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.
Reacted by Benoit de Chezelles and QuantumCoded
Metadata
Metadata
Assignees
Labels
No labels
Description
When using sub-agents that spawn other agents (e.g., via background_task), questions from deeply nested agents never appear in the main session's TUI. The user has no way to answer them, causing the agents to hang.
Root cause: The TUI only looks at direct children sessions when collecting questions, missing grandchildren and deeper descendants.
Additional improvements needed:
Plugins
ohmyopencode
OpenCode version
1.1.11
Steps to reproduce
(It was done using ohmyopencode which often ends up spawning agents that spawn other agents via the
background_tasktool)Screenshot and/or share link
No response
Operating System
macOS
Terminal
Ghostty