{"version":"2.1.337","anchor":"agent-definitions-from-restricted-sources-are-filtered-and-e","canonical_anchor":"agent-definitions-from-restricted-sources-are-filtered-and-e","heading":"Choosing an unusable agent with --agent no longer just says \"not found\"","tier":"notice","area":"Agents","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.337\/e\/agent-definitions-from-restricted-sources-are-filtered-and-e","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.337","markdown":"### Choosing an unusable agent with `--agent` no longer just says \"not found\"\n\nAt startup agents are split into usable and unusable, and naming an unusable one with `--agent` now gives a specific message\n\n**Unclear.** It is not clear what makes an agent unusable.\n\n**What**\n\nAn agent is a saved definition of a helper Claude can run as, and `--agent` picks one for the session. At startup, Claude Code now sorts agent definitions into those that can be used and those that currently cannot.\n\n- Naming an agent with `--agent` whose file exists but cannot be used now gives a specific message. Before, it only said the agent was not found and listed the available ones.\n\n- An agent's initial prompt, and the notice about it, are handled separately for agents that cannot currently be used.\n\n**Why**\n\nThis changes which agents load when Claude Code starts and what error you see when you ask for one that cannot be used.\n\n- Area: Agents\n- Names: `--agent`\n- Tier: You'll notice\n- Useful: 3\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: no"}