[BUG] `/agents` dialog shows "No agents found" despite project agents loading correctly.
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?
Claude Code version: 2.1.78
OS: macOS 25.2.0
Bug: /agents dialog shows "No agents found" despite project agents loading correctly.
What Should Happen?
- What was expected: agents should appear in the dialog
Error Messages/Logs
Agents
No agents found
❯ Create new agent
No agents found. Create specialized subagents that Claude can delegate to.
Each subagent has its own context window, custom system prompt, and specific tools.
Try creating: Code Reviewer, Code Simplifier, Security Reviewer, Tech Lead, or UX Reviewer.
─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
────
Built-in (always available):
claude-code-guide · haiku
Explore · haiku
general-purpose · inherit
Plan · inherit
statusline-setup · sonnet
Steps to Reproduce
Steps to reproduce:
- Add agent
.mdfiles to.claude/agents/with valid frontmatter (name,description) - Run
/agentsin the Claude Code chat
Claude Model
Sonnet (default)
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.1.78
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
Evidence that agents load correctly:
$ claude --version && claude agents
2.1.78 (Claude Code)
10 active agents
Project agents:
architect · opus
code-reviewer · sonnet
code-reviewerer · opus
developer · sonnet
repo-scout · sonnet
Built-in agents:
claude-code-guide · haiku
Explore · haiku
general-purpose · inherit
Plan · inherit
statusline-setup · sonnet
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗