Agent not found: agent-name #4029

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

Originally created by @gasatrya on GitHub (Dec 31, 2025).

Originally assigned to: @rekram1-node on GitHub.

Description

Whenever I switch to the subagent process, I get an Agent not found: agent-name notification at the top right, even though the subagent exists. Is this a bug?

OpenCode version

1.0.218

Steps to reproduce

  1. Main agent start
  2. Invoke subagent
  3. Navigate to subagent session

Screenshot and/or share link

Image

Operating System

WSL 2

Terminal

Windows Terminal

Originally created by @gasatrya on GitHub (Dec 31, 2025). Originally assigned to: @rekram1-node on GitHub. ### Description Whenever I switch to the subagent process, I get an `Agent not found: agent-name` notification at the top right, even though the subagent exists. Is this a bug? ### OpenCode version 1.0.218 ### Steps to reproduce 1. Main agent start 2. Invoke subagent 3. Navigate to subagent session ### Screenshot and/or share link <img width="528" height="175" alt="Image" src="https://github.com/user-attachments/assets/09bf0adf-673e-47e9-a1b0-6c074ab93036" /> ### Operating System WSL 2 ### Terminal Windows Terminal
yindo added the windowsbug labels 2026-02-16 17:42:20 -05:00
yindo closed this issue 2026-02-16 17:42:21 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Dec 31, 2025):

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

  • #4727: Subagent Switching - Buggy
  • #4422: Primary agent responds in subagent view; delegated subagent views become inaccessible
  • #6491: Session does not automatically return to parent after subagent execution
  • #4180: ctrl-left/right doesn't navigate between subagents since 1.0 TUI

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

@github-actions[bot] commented on GitHub (Dec 31, 2025): This issue might be a duplicate of existing issues. Please check: - #4727: Subagent Switching - Buggy - #4422: Primary agent responds in subagent view; delegated subagent views become inaccessible - #6491: Session does not automatically return to parent after subagent execution - #4180: ctrl-left/right doesn't navigate between subagents since 1.0 TUI Feel free to ignore if none of these address your specific case.
Author
Owner

@anzulaqeel-anunzio commented on GitHub (Dec 31, 2025):

Fixed a documentation bug in tips.ts where @agent-name was suggested literally, causing Agent not found errors for users. Updated tip to use @ placeholder syntax. Sent for review.

@anzulaqeel-anunzio commented on GitHub (Dec 31, 2025): Fixed a documentation bug in tips.ts where @agent-name was suggested literally, causing Agent not found errors for users. Updated tip to use @ placeholder syntax. Sent for review.
Author
Owner

@rekram1-node commented on GitHub (Dec 31, 2025):

@anzulaqeel-anunzio that tip fix has nothing to do w/ this, also note that the code is unreachable

@rekram1-node commented on GitHub (Dec 31, 2025): @anzulaqeel-anunzio that tip fix has nothing to do w/ this, also note that the code is unreachable
Author
Owner

@rekram1-node commented on GitHub (Dec 31, 2025):

Fixed by @vtemian in next release

@rekram1-node commented on GitHub (Dec 31, 2025): Fixed by @vtemian in next release
Author
Owner

@gasatrya commented on GitHub (Dec 31, 2025):

Great, thanks @rekram1-node

@gasatrya commented on GitHub (Dec 31, 2025): Great, thanks @rekram1-node
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#4029