claude agents --json returns subset of agents shown in interactive agent view
Status Fixed / completed
Maintainer reply None cached
Activity 1 comment · opened Jun 4, 2026 · closed Aug 19, 2026
Bug description
Running claude agents --json returns a different (smaller) list of agents than what appears in the interactive claude agents view.
Steps to reproduce
- Run
claude agents— note the full list of agents shown in the interactive agent view. - Run
claude agents --json— observe the output. - Compare: the
--jsonoutput is missing agents that appear in the interactive view.
Expected behavior
claude agents --json should return the same complete set of agents as the interactive claude agents view.
Actual behavior
claude agents --json returns only a subset of the agents shown in the interactive view.
Environment
- Platform: macOS (darwin)
- Shell: zsh
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗