opsforenergy
AI Agent Term

Sub-Agent

A sub-agent is a specialized agent created or invoked by a parent agent to handle a narrow task. Sub-agents are useful for breaking complex workflows into smaller, more manageable pieces.

For example, the Ops Supervisor might spawn a sub-agent to summarize a week's worth of field reports, or the Permit Agent might use a sub-agent to parse an unusually complex AHJ email. The parent agent retains oversight; the sub-agent handles the detail work.

Sub-agents improve reliability because each one can have a focused prompt and a limited tool set. They also make debugging easier: when something goes wrong, you know exactly which sub-agent was responsible.