Skip to content

Subagent sessions cannot be prompted. Back to main session. #21458

Closed as not planned

Description

@FQXCS

Question

Why was the Windows version of the sub-agent changed to "Subagent sessions cannot be prompted. Back to main session."?
I believe in some cases, the subagent should be guided.

Image

OpenCode version
1.4.0

Activity

  1. added
    coreAnything pertaining to core functionality of the application (opencode server stuff)
    on Apr 8, 2026
  2. github-actions commented on Apr 8, 2026

    @github-actions
    Contributor

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

    If your question is specifically about the Windows behavior or a recent change that introduced this message, please provide more context (e.g., version where it changed, what behavior you expected) so maintainers can investigate.

  3. FQXCS commented on Apr 8, 2026

    @FQXCS
    Author

    I believe in some cases, the subagent should be guided. Just like the previous version

    OpenCode version
    1.4.0

  4. cpkt9762 commented on Apr 8, 2026

    @cpkt9762

    For anyone hitting this from the error recovery angle (subagent session halted after provider failures / retry exhaustion, composer now locked so you can't type "retry" to resume it) rather than the steering angle this issue discusses — I opened #21525 to track that case separately.

    The distinction matters because the "you weren't actually talking to the subagent, it was routed through the primary agent" reply (valid for steering) doesn't apply when the session is already in an error state and there is no live primary-agent turn to route to.

  5. MicroCats37 commented on Apr 8, 2026

    @MicroCats37

    Hello, good morning.

    I am currently working on designing a sub-agent-based architecture, where tasks are delegated according to specifications stored in a database. Additionally, every change, thought, or design decision is recorded alongside the executed tasks.

    However, I’ve encountered a significant issue: due to model limitations, there are cases where the agents start producing erratic or irrelevant text. This negatively impacts the architecture, especially since it is optimized for token efficiency.

    In such situations, the current flow gets interrupted. The main agent has to stop the process and create a new sub-agent with a clean context. Then, this new sub-agent needs to request all the necessary data again in order to resume the task, which introduces overhead and inefficiency.

    Because of this, it would be very useful to have an option to enable or control the prompt directly within sub-agents in certain scenarios. This would provide better control over their behavior and help prevent unnecessary disruptions in the workflow.

  6. removed
    coreAnything pertaining to core functionality of the application (opencode server stuff)
    on May 3, 2026
  7. rekram1-node commented on Jun 23, 2026

    @rekram1-node
    Contributor

    Automated: closing question issues.

    GitHub Issues are for bug reports and feature requests only — questions / support are no longer tracked here.

    If this is a bug or feature request, please open a new issue with the appropriate template.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions