#SalesforceSpring25 – Create and Test Agents by Using Agentforce DX (Beta)

#1MinuteTip #SalesforceSpring25 Salesforce introduces the beta release of Agentforce DX — a set of pro-code tools that includes new Salesforce CLI commands and a Visual Studio Code (VS Code) extension. These tools enable you to create and test agents directly within a Salesforce DX project.

With Agentforce DX you can:

  • Generate YAML Spec Files—Use CLI commands to generate YAML spec files that describe agents and agent tests.
  • Create Agents and Agent Tests—Pass these spec files as inputs to CLI commands to create agents and agent tests in your development org.
  • Run Agent Tests—Execute agent tests and view the results from the VS Code testing panel or by running CLI commands.
  • Interact with Active Agents—Interact directly with active agents using a CLI command. (Developer Preview)

Product Area: Agentforce

The agent CLI commands are part of the @salesforce/plugin-agent Salesforce CLI plugin. Install the plugin from VS Code’s integrated terminal or from a terminal (macOS, Linux) or command prompt (Windows) with this command.

sf plugins install agent
Install Agentforce DX

References & Useful URLs

Want to Receive these Tips in your Inbox?

Finding it overwhelming to keep pace with Salesforce’s new release features? Try our “1 Day 1 Tip 1 Minute” emails, where you are going to get 1 tip every day that won’t take more than a minute to read. To find out more and subscribe please click here.

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Scroll to Top