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

  1. Run claude agents — note the full list of agents shown in the interactive agent view.
  2. Run claude agents --json — observe the output.
  3. Compare: the --json output 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

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗