Skip to content

VSCode extension for working with salesforce `agents`!

License

Notifications You must be signed in to change notification settings

forcedotcom/vscode-agents

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Agentforce DX for Visual Studio Code

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.

Prerequisites

  1. Install the Salesforce Extension Pack and Salesforce CLI.

  2. Install the Agentforce DX CLI plugin by running this command from VS Code's integrated terminal:

    sf plugins install agent

How to Use this Extension

  1. 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)
  2. 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.

Documentation

(Coming Soon) For information about Agentforce DX, see the Agentforce DX section of the Agentforce Developer Guide.

Bugs and Feedback

To report issues with this Agentforce DX extension, open a bug on GitHub. To suggest a new feature, start a GitHub discussion.