Open main menu
Article
Quizzes
Tools
EN
Article
Quizzes
Tools
All quizzes
/
Sub-Agents & Parallel Execution
/
A pipeline...
A pipeline needs to: (1) scrape raw data, (2) clean the data, (3) analyse the cleaned data. How should sub-agents be structured?
Run three sub-agents sequentially — each receives the prior agent's output as its input
Run all three sub-agents in parallel to save time, then merge outputs at the end
Use a single sub-agent for all three steps to avoid context switching overhead
Run steps 1 and 3 in parallel and feed their outputs to step 2
Submit answers