Skip to content

Subagent failing to spawn with "unable to find agent with name <agent>" #5743

@TrevorBurnham

Description

@TrevorBurnham

Before opening, please confirm:

Operating System

macOS 26.2

Kiro Version

Kiro CLI 1.26.0

Bug Description

I have a custom agent called reviewer. In the previous stable version (Kiro CLI 1.25.1), I was able to ask my main agent to use the subagent tool to spawn reviewer to get feedback on changes. However, in the latest release I'm seeing this error:

unable to find agent with name: reviewer

That's quite strange because I'm able to spawn the agent directly:

kiro-cli chat --agent reviewer

Steps to Reproduce

  1. Create a custom agent in e.g. ~/.kiro/agents/reviewer.json
  2. Ask an agent to invoke that agent with the subagent tool

Expected Behavior

Custom subagents should work as documented.

Conversation ID

No response

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions