Skip to content
BENIBIX Learn

Subagent

AI🤖 AI AgentsAgent Orchestration

Also known as Sub-Agent, Worker Agent, Child Agent

A helper agent that starts fresh, does one job and sends back a short note.

Think of it like

Think of it like sending a friend to the shop. They go, and they only tell you what they found.

Example

Jack's coding agent needs to know where logins are handled. It starts a subagent that reads 40 files and returns a five-line answer.

Why it matters

It stops long tasks from filling the main context with detail that is only needed once.

Definition

A subagent is a helper agent that a main agent starts to do one piece of work. It begins with a fresh, empty context and its own orders, and often fewer tools. It does the job, such as searching through a lot of code. Then it sends back only a short summary. That keeps all the detail it read out of the main agent's context. Several subagents can run at once.
The main agent sends one job to a subagent with an empty context. Only a short summary comes back.

Common mistake

Expecting the subagent to know what the main agent knows. It starts empty, so the task must say everything.

Key takeaways

  1. 1
    Fresh context. Starts empty.
  2. 2
    One job. Then it reports.
  3. 3
    Short summary back. The detail stays out.

Compare

Learn it properly