[BUG] `/agents` dialog shows "No agents found" despite project agents loading correctly.

Resolved 💬 3 comments Opened Mar 18, 2026 by Sarah86 Closed Apr 15, 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?

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:

  1. Add agent .md files to .claude/agents/ with valid frontmatter (name, description)
  2. Run /agents in 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

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗