Asset library versus in-agent creation of subagents and actions
Key Takeaway
If more than one agent needs the same custom action or subagent, build it once in the asset library and add it to each agent from there. Build it inside an agent in Agentforce Builder when only that agent needs it.
In Agentforce, you can build a custom subagent or a custom action in one of two places: the asset library, or directly inside an agent in Agentforce Builder. The place you choose decides reuse. Items in the asset library can be added to many agents and versions. Items built inside an agent belong only to that agent version. Either way, each agent works with its own independent copy, so later changes don't spread to other agents on their own.
Subagents and the asset library
Functionality didn't change when topics became subagents, so you may see both "topic" and "subagent" used for the same thing.
The asset library is a shared catalog of subagents and actions. In Setup, you find it as "Agentforce Assets". The asset library holds:
- Standard subagents, which are examples built for common business use cases.
- Custom subagents that you build yourself.
- Custom actions that you build yourself.