Agentforce DX is a suite of tools to build and test agents. This extension provides integrated VS Code commands to easily open an agent in your org's Agent Builder UI and run the tests associated with an agent in the Agent Testing Panel.
-
Install the Salesforce Extension Pack and Salesforce CLI.
-
Install the Agentforce DX CLI plugin by running this command from VS Code's integrated terminal:
sf plugins install agent
-
Open an agent in the Agent Builder UI of your org by running the SFDX: Open Agent in Default Org command from the command palette. You can also run the same command by right-clicking any of these metadata components in your DX project package directory:
- Bot (file extension
.bot-meta.xml
) - BotVersion (file extension
.botVersion-meta.xml
) - GenAiPlanner (file extension
.genAiPlanner-meta.xml
) - GenAiDefinition (file extension
.genAiDefinition-meta.xml
)
- Bot (file extension
-
Run agent tests by viewing them in the Agent Testing Panel. Click on either a test definition or test case to get more information about it.
(Coming Soon) For information about Agentforce DX, see the Agentforce DX section of the Agentforce Developer Guide.
To report issues with this Agentforce DX extension, open a bug on GitHub. To suggest a new feature, start a GitHub discussion.