Dependent components in an agent change set
Key Takeaway
Add each dependent component, direct or indirect, to the change set unless it already exists in every org that will receive the change set. You find them with View/Add Dependencies on the outbound change set.
When you move an agent from a sandbox to production with a change set, the components you add often need other components to deploy. These other components are dependent components. If one is missing, the deployment can't succeed, so you need to find them, including indirect ones, and add them before you deploy.
Moving an agent with a change set
You move an agent from a sandbox to production with a change set. First, you create an outbound change set in the sandbox and upload it. The production org then receives it as an inbound change set.
To add components to a change set, you pick a "Component Type" and then the specific items to deploy. Agent-related component types include:
- Generative AI Function Definition
- Generative AI Planner Definition
- Generative AI Plug-in Definition
- Generative AI Prompt Template