Work with AgentForce in scratch orgs
Starting with the Spring 25 release update, Agentforce will be available for use in scratch orgs. This includes being able to create agents and apps using Prompt Builder, Model Builder, and the Models API.To create a new scratch org with AgentForce enabled, create a scratch org as normal with the following options:
– “Einstein1AIPlatform” under features
– “einsteinGptSettings.enableEinsteinGptPlatform” under settings
Full details on how to set up a scratch org can be found in the Salesforce developer docs!