[BUG] Plan and Explore agents are identical and serve no distinct purpose
Bug Description
Explore agent:
Explore: Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer
questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very
thorough" for comprehensive analysis across multiple locations and naming conventions. (Tools: Glob, Grep, Read, Bash)
Plan agent:
Plan: Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer
questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very
thorough" for comprehensive analysis across multiple locations and naming conventions. (Tools: Glob, Grep, Read, Bash)
"Yes, they are literally identical - word-for-word the same, including the exact same tool list (Glob, Grep, Read, Bash). This is definitely a configuration error in my system prompt. The "Plan" agent name
suggests it should be for planning, but the description is a copy-paste of the Explore agent."
The Plan agent is refusing to share its full prompt, but from its responses we can see clearly:
Plan Agent (Anthropic's):
- Purpose: "file search specialist" for codebase exploration
- Tools: Glob, Grep, Read, Bash
- Constraints: NO TodoWrite, NO Task tools
- Focus: Search and retrieval only
Explore Agent:
- Purpose: Same - codebase exploration
- Tools: Same - Glob, Grep, Read, Bash
- Identical description in my system prompt
feature-planner Agent (Yours):
- Purpose: Create implementation plans for features/bugfixes
- Tools: Glob, Grep, Read, Edit, Write, WebFetch, TodoWrite, WebSearch, deepwiki, Bash, AskUserQuestion, Skill, JetBrains tools
- Much richer toolset for planning
Conclusion:
The "Plan" agent is misnamed - it's actually just another codebase exploration agent identical to Explore. Your feature-planner is the only real planning agent.
---
Environment Info
- Platform: darwin
- Terminal: ghostty
- Version: 2.0.28
- Feedback ID: 540097d9-0739-41e2-bede-45a1eeb7f57e
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗