Sub-Agent
How sub-agents work
While the main agent runs your build, it delegates narrow jobs to sub-agents built for them, like a testing specialist, an integration checker, or an image processor. Each sub-agent receives a filtered view of the main agent's context so it can focus on its one task without the whole project's detail getting in the way. The main agent stays in control and pulls the results back into the build.
Example
You ask for a recipe app with photos and a working sign-in. When the build is ready, the main agent sends the login flow to a testing sub-agent to check it works, and asks an image sub-agent to find header photos for each recipe, then folds both results back into your app.
on Emergent today


