Skip to main content

Module agents

Module agents 

Source
Expand description

The deprecated agents subcommand builder.

AgentsCommand wraps claude agents. It is retained for back-compat; prefer the read-side crate::artifacts introspection for agent definitions and --agent / --agents on QueryCommand for selecting one.

Structs§

AgentsCommandDeprecated
Deprecated. Wraps claude agents, which as of Claude Code 2.1.143 is an interactive TUI for managing background agent sessions – not a way to list user-defined subagent definitions. Calling .execute() non-interactively just emits 'claude agents' is not available in this environment. to stderr and returns empty stdout.