Skip to the content
AI and Cybersecurity Learning and Practice Center Test automation Open the Learning Center

Glossary

Subagent

An agent that a main agent hands one sub-task to. It works in its own fresh context, with its own instructions, tools and permissions, and returns a summary rather than its whole conversation.

The OpenAI Agents SDK offers two versions: agents as tools, where a manager keeps control and calls specialists, and handoffs, where the specialist takes over with the conversation so far. OWASP advises trust boundaries between agents so a chain of them cannot escalate privileges: give each subagent only the tools its task needs.

Open the glossary in the Learning Center