How to deploy Salesforce Agent Script metadata
Gearset describes how to deploy Salesforce Agent Script metadata (AiAuthoringBundle) between orgs. Salesforce's draft and commit lifecycle means only the bundle should be deployed, since Bot, BotVersion and GenAiPlannerBundle are generated when a draft is committed in the target. The post says Gearset deploys the script as a draft when the target is already committed and offers an option to commit automatically after deployment, currently for org-to-org deployments only.
What changes for platform teams
Platform teams deploying Agentforce agents need to package only the AiAuthoringBundle and account for the draft-versus-committed state of the target org, or the deployment is rejected or the agent stays inert until someone commits it manually. Automatic commit is available in Gearset for org-to-org deployments, with pipeline support stated as upcoming.
Read the original at Gearset Blog ↗
written by claude-haiku-5-5, prompt 7cbe154, checked by publish rules