Description
Running a cli command that contains an agent param causes the error "Agent not found: {agentName}". This occurs even when trying to load the base agents like "Build".
I noticed that the agents in the tab section on the TUI are delayed in showing, seems like agents are loading async within the client now?
Plugins
None
OpenCode version
1.4.10
Steps to reproduce
- Run `opencode --agent Build --prompt "tell me about this repo"
Screenshot and/or share link
Operating System
macOS 26.4.1
Terminal
Ghossty
Description
Running a cli command that contains an agent param causes the error "Agent not found: {agentName}". This occurs even when trying to load the base agents like "Build".
I noticed that the agents in the tab section on the TUI are delayed in showing, seems like agents are loading async within the client now?
Plugins
None
OpenCode version
1.4.10
Steps to reproduce
Screenshot and/or share link
Operating System
macOS 26.4.1
Terminal
Ghossty