Skip to content
BENIBIX Learn

Agent Tool

AI⌨️ Claude CodeBuilt-in Tools

Also known as Agent, Task tool, Agent(Explore)

The tool that starts a subagent and gets back its answer.

Think of it like

It is like sending a friend to look for something. They come back and tell you what they found.

Example

Jack asks how login works in a big project. Claude sends a helper to read twenty files, and only the short answer comes back into the chat.

Why it matters

Big searches stay out of the main chat, so its context stays clean for the real work.

Definition

The Agent tool starts a subagent: a helper with its own fresh context window. The helper works on its task alone. When it is done, it sends back one final answer, and the main session never sees the steps in between. Subagents run in the background by default. Starting one does not ask for permission, but each tool the helper uses is checked against your rules. A rule like Agent(Explore) names one kind of helper.

Example code

json
{"permissions": {"deny": ["Agent(Explore)"]}}
Stop Claude from starting the Explore helper.
The Agent tool starts a helper and gets back one answer.

Common mistake

Thinking the main session sees each step the helper took. It only gets the last answer.

Key takeaways

  1. 1
    A fresh helper. Its own context.
  2. 2
    One answer back. Not the steps.
  3. 3
    Rules still apply. To every tool it uses.

Learn it properly