Where does the bug appear (feature/product)?
Cursor CLI
Describe the Bug
I’m so excited for subagents! But it looks like they aren’t working in Cursor CLI.
I have no problem in the IDE.
According to the docs Cursor CLI should support this:
- Subagents | Cursor Docs
- “You can use subagents in the editor, CLI, and Cloud Agents.”
I made sure my Cursor CLI is up-to-date (as of Feb. 6).
I created a agent file in .cursor/agents/ and like I said it works in the IDE. But when. I use the same prompt in Cursor CLI it does not use the subagent. When I ask it says it does not have the tools to create a subagent.
I understand you want me to use the type-analyzer subagent, but I don't have a tool available to invoke
subagents.
Looking at the documentation you provided, it states that "Agent includes all custom subagents in its available
tools," but when I check my available tools, I don't see any subagent invocation mechanism or a tool for the
type-analyzer subagent you've defined.
My available tools are:
• Shell, Glob, Grep, Read, Delete, StrReplace, Write
• EditNotebook, TodoWrite, SemanticSearch, WebFetch
• ListMcpResources, FetchMcpResource
The Cursor documentation suggests subagents should be automatically available, but they're not appearing in my
tool set. This might be:
1. A limitation of the current Cursor Agent version
2. A configuration issue with how subagents are exposed to the agent
3. Requires a specific Cursor version or setting
I cannot invoke the type-analyzer subagent because I don't have the tool to do so. Would you like me to continue
providing the type analysis manually using the methodology defined in your type-analyzer subagent, or would you
prefer to investigate why the subagent isn't available to me?
In both the IDE and CLI I am using Sonnet 4.5 (thinking)
Steps to Reproduce
- Create a new agent file via
/create-skillcommand in the IDE - Run a prompt in the IDE, instruction the agent to invoke the new subagent (works)
- Start Cursor CLI
cursor-agentoragent - Run the same prompt as step 2 (just uses grep etc… tools to complete the task)
Expected Behavior
My subagent is used
Operating System
MacOS
Version Information
2026.01.28-fd13201
For AI issues: which model did you use?
Claude 4.5 Sonnet (Thinking)
Does this stop you from using Cursor
Sometimes - I can sometimes use Cursor