---
title: Subagent
description: 'An agent invoked by another agent or orchestrator to perform a bounded portion of a larger task.'
canonical_url: 'https://darkfactory.dev/glossary/subagent'
markdown_url: 'https://darkfactory.dev/glossary/subagent.md'
collection: glossary
date_published: '2026-08-03T00:00:00-04:00'
date_modified: '2026-08-26T00:00:00-04:00'
---

# Subagent


## Definition

A subagent is an agent invoked by another agent or orchestrator to perform a bounded part of a larger task. The relationship defines the term: a subagent is subordinate in scope and control, not necessarily smaller, cheaper, or less capable.

Delegation needs a contract. The caller should provide the objective, relevant context, allowed tools, resource budget, acceptance criteria, and the form of the result. It should also say whether the subagent may create more work or affect shared state.

The caller remains responsible for integration unless control is formally handed off. A subagent's confident report is an input, not proof that its work is correct.

## Distinguish it from nearby terms

A subagent receives bounded delegated work and returns a result. A handoff transfers next-action authority. A tool call may perform one capability without running an agent loop.

## Check your understanding

A coding subagent is asked to "fix authentication" with write access to the whole repository and no acceptance test. The task has been delegated, but it is not bounded well enough to verify or contain.

## Also called

worker agent

## Related factory areas

- [Orchestration, state, concurrency & recovery](https://darkfactory.dev/factory/orchestration-state)

## Evidence and further reading

- [OpenAI: A Practical Guide to Building Agents](https://openai.com/business/guides-and-resources/a-practical-guide-to-building-ai-agents/)
- [Beyond Individual Intelligence (LIFE)](https://arxiv.org/abs/2605.14892)
