[BUG] VS Code UI Tool not Detecting Agents
Resolved 💬 2 comments Opened Apr 3, 2026 by bpersaud571 Closed Apr 3, 2026
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
In the Claude Code VS Code sidebar, UI view, it doesn't detect custom agents. However, if I switch it back to the Terminal view, I can use the Agents with the @ command.
What Should Happen?
Claude should recognize custom agents in the UI mode
Error Messages/Logs
Steps to Reproduce
- Create a custom agent ex.
.claude/agents/someagent.md - Reload VS code
- Open the UI view of Claude Code in the sidebar
- Attempt to use the agent with the
@command
Claude Model
Sonnet (default)
Is this a regression?
No, this never worked
Last Working Version
_No response_
Claude Code Version
2.1.91
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
_No response_
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗