You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug] Desktop: Background exploration agent fails with "Unauthorized" error #10182
In the desktop environment, the Background Exploration Agent fails to start. The environment returns an Unauthorized error, preventing background tasks from executing. Currently, only direct code-reading tools are functional as a workaround.
Plugins
No response
OpenCode version
1.1.33
Steps to reproduce
Launch the desktop application.
Attempt to initiate the Background Exploration Agent.
Both describe the same root cause - when OPENCODE_SERVER_PASSWORD is set (which happens automatically in the OpenCode Desktop app), plugins and background task agents fail with 401 Unauthorized because they lack the necessary Basic Auth credentials.
The Background Exploration Agent that fails in your case is likely a subagent/plugin that uses the client API, and appears to be affected by this same issue.
Feel free to ignore if your specific case differs from these reports.
Activity
github-actions commentedon Jan 23, 2026
This issue might be a duplicate of existing issues. Please check:
Both describe the same root cause - when OPENCODE_SERVER_PASSWORD is set (which happens automatically in the OpenCode Desktop app), plugins and background task agents fail with 401 Unauthorized because they lack the necessary Basic Auth credentials.
The Background Exploration Agent that fails in your case is likely a subagent/plugin that uses the client API, and appears to be affected by this same issue.
Feel free to ignore if your specific case differs from these reports.
github-actions commentedon Mar 26, 2026
To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.