Testing, Deployment, and Maintenance10% of the exam
Deploying agents from sandbox to production
How API-version-specific agent metadata moves through change sets or Salesforce CLI, how dependencies and agent access affect release, and how pre-v68 authoring bundles identify matching runtime versions.
Identify the considerations for deploying an agent from sandbox to production.
~7 min read · 6 practice questions
What the exam expects
- Choose between a change set and Salesforce CLI with source control for moving an agent.
- Name agent metadata and dependencies for the selected API version and deployment path.
- Complete the move: inbound change set validation and deployment, or CLI retrieve and deploy.
- Plan post-deployment steps: agent user, permissions and activation.
- Build a go-live checklist that keeps testing in the sandbox.
- Key terms: change set (Setup tool that sends metadata from one connected org to another); Salesforce CLI (command-line tool that retrieves and deploys metadata between orgs and a local project); GenAiPlugin / GenAiFunction (metadata for an agent's subagents, formerly topics, and its actions); agent user (the user record a Service agent runs as); interdependent components (everything an action needs to run in the target org).
Key facts
December 2025 recipe components
- Detail
- GenAI Function Definition, GenAI Plugin Definition, Bot
Change set recipe dependencies
- Detail
- Add flows, Apex classes, custom objects and permission sets the actions use
Completing a change set
- Detail
- Open the inbound change set in the target, then validate and deploy
Committed agent metadata (v67 and earlier)
- Detail
- AiAuthoringBundle, Bot and BotVersion; not editable
v68 agent metadata
- Detail
- AiAgentDefinition and AiAgentDefinitionVersion; Bot only for Einstein Bots
CLI path
- Detail
- Retrieve from sandbox to a DX project, deploy to production
After CLI deploy
- Detail
- Service agents: assign the agent user; keep source and target versions matching
Activation
- Detail
- One active version per agent; needs Manage AI Agents plus agent-type permissions
Sources for this section (5)
- Agentforce Deployment with Change Sethelp.salesforce.com (opens in a new tab)
- Define Agent Metadata (v67 and Earlier)developer.salesforce.com (opens in a new tab)
- Agentforce Metadata Types (v68 and Later)developer.salesforce.com (opens in a new tab)
- Move an Agent to a New Orgdeveloper.salesforce.com (opens in a new tab)
- Activate or Deactivate Your Agenthelp.salesforce.com (opens in a new tab)
- Why can authoring-bundle and runtime version numbers differ in API v67 and earlier?
- When preparing a manifest for a selected authoring bundle, where should the matching runtime versions be read?
- Which paired runtime components does that documented target metadata identify?
The questions are free to read. Answers with their sources and self-grading are included with the pack.
Keep reading with the Agentforce Specialist pack
- Core concepts
- Exam traps
- Worked scenario
The pack includes:
- All 26 lessons of the Agentforce Specialist guide, with reading progress
- Interactive decision walks and step-by-step sequence steppers
- Practice exams purchase adds inline bank questions and topic practice (6 questions for this lesson)
- An official source cited for every claim
- An AI tutor that answers from the guide
- Choose guide-only, practice-only, or save $4 with both