Glossary

What is Subagent?

In Turkish: Alt ajan · Topic: Using AI

A helper AI agent that a main agent calls on to handle one specific part of a larger task, working with its own instructions and tools.

How does it work?

The main agent splits a task into pieces and hands each piece to a separate subagent. A subagent usually starts with a clean context; it sees only the instructions and tools it needs. When it finishes, it returns a short result or summary to the main agent. This keeps the main agent's context window from filling up with detail. Independent jobs can run at the same time; for example, one subagent can scan code while another reads documentation.

Why does it matter?

Dividing the work can improve speed and quality on long, complex tasks, because each subagent focuses on a narrow topic. The main agent's context also stays clean. The cost is more model calls, which means higher expense and more coordination to manage.

Example

A research assistant writing a report hands three different topics to three subagents; each searches its own sources and sends a short summary back to the main agent.

FAQ

Is a subagent the same as a multi-agent system?

They are close but not identical. With subagents there is a hierarchy: a main agent assigns work and gathers results. A multi-agent system is a broader idea that also covers peer agents working together.

Why do subagents start with a clean context?

When a subagent sees only what its job requires, it can stay focused and is not distracted by a long conversation history. This supports both accuracy and efficient use of the context window.

All terms