# CLAUDE_CODE_DISABLE_EXPLORE_PLAN_AGENTS

> Set to 1, it turns off the Explore and Plan subagents.

**Field:** Artificial Intelligence  
**Category:** Claude Code  
**Also known as:** CLAUDE_CODE_DISABLE_EXPLORE_PLAN_AGENTS=1

## Think of it like

It is like the cook looks in the pantry. No runner is sent.

## Definition

CLAUDE_CODE_DISABLE_EXPLORE_PLAN_AGENTS set to 1 turns off the built-in Explore and Plan helpers. Claude then searches with its own tools or the general helper. In plan mode it reads files itself. Your own helpers named Explore or Plan still work. It needs version 2.1.198 or later.

## Example

Emma wants to see every file Claude reads while it plans. She sets this, and the reads happen in her own chat.

## Example code

```bash
export CLAUDE_CODE_DISABLE_EXPLORE_PLAN_AGENTS=1
claude --permission-mode plan
```

Plan without helper agents.

## Why it matters

Helpers hide their steps. Without them, you see all the reading in one place.

## Common mistake

Expecting it to remove your own Explore agent. Custom ones with that name stay.

## Three principles

- **Built-in Explore and Plan.** Turned off.
- **Claude reads itself.** In plan mode.
- **Custom ones stay.** Same names.

## Related terms

- [Built-in Subagents](https://learn.benibix.com/term/ai/built-in-subagents)
- [Plan Mode](https://learn.benibix.com/term/ai/plan-mode)
- [Agent Tool](https://learn.benibix.com/term/ai/agent-tool)

---

Source: https://learn.benibix.com/term/ai/claude-code-disable-explore-plan-agents-variable
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-16
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
