When to split, combine or add subagents
Key Takeaway
Start with the fewest subagents the agent needs, and change one thing at a time. Split a subagent that needs two or more sets of instructions for different jobs. Combine subagents that often hand off to each other in a single conversation or that share nearly identical actions and instructions.
An Agentforce agent is made up of subagents. Each subagent defines one job the agent can do and holds the actions, or tools, that the agent uses to do that job. Your choices about when to add a subagent, split one, or combine several shape how reliably the agent picks the right job and the right action.
What a subagent is
For example, a customer service agent might have Order Management, Troubleshooting, Returns and Exchanges, and Product Support subagents.