Quick Start
Change Log
Install Agentforce Vibes Extension
Set Up Agentforce Vibes
Agentforce Vibes in Government Cloud
Agentforce Vibes in Scratch Orgs
Inline Auto Completion
Troubleshooting
FAQ
Agentforce Vibes extension is available in the VS Code and Open VSX marketplaces as a part of the Salesforce Extension Pack and the Salesforce Extension Pack (Expanded). Agentforce Vibes is enabled by default. Any developer with access to a Salesforce org can use the extension to generate code from natural language instructions, get coding suggestions in Apex and LWC using inline autocomplete, or generate Apex unit tests to quickly accomplish required code coverage goals.
Available in: Developer, Enterprise, Partner Developer, Performance, and Unlimited Editions.
Inoperable in: Group, Professional, and Essentials Editions.
Not Available in: EU Operating Zone and Government Cloud. EU Operating Zone is a special paid offering that provides an enhanced level of data residency commitment. Agentforce Vibes is supported in orgs in the EU that aren’t part of EU OZ, per standard product terms and conditions.
Before you begin, ensure that your development environment meets these requirements.
VS Code releases a new version each month with new features and important bug fixes. You must be on the version of VS Code that’s currently supported by us. See Minimum VS Code version for more information. You can manually check for updates from Help > Check for Updates on Linux and Windows or Code > Check for Updates on macOS.
Extensions that are part of the Salesforce extension pack get updated automatically when the extension pack is updated. If you haven’t updated recently or automatic updates are disabled, confirm that your installed version of the Salesforce CLI Integration and Apex extensions are up-to date. Also:
Node.js version 22 or above installed.Checkpoints require Git. Install Git on your machine so that snapshots of your workspace can be created as you work, enabling rollbacks and change tracking across tasks.
Download Git: https://git-scm.com/downloads
After installation, confirm that Git is installed by running this command in a terminal:
git --version
From Setup, enter Agentforce Vibes in the Quick Find box, then select Agentforce Vibes.
If you don’t see Agentforce Vibes as an option under Setup in your org, it’s probably not available in that edition.
Note
Disable Agentforce Vibes to prevent the extension from being used in VS Code when this org is the default org.
You can enable or disable Agentforce Vibes from within Visual Studio Code. Click the Agentforce Vibes icon in the status bar to open the command palette, then click enable or disable. The Agentforce Vibes status icon in the bottom panel of the Visual Studio Code window indicates whether Agentforce Vibes is enabled or disabled.
You can disable or uninstall the Agentforce Vibes extension at any time. Bring up the Extensions view by clicking the Extensions icon in the Activity Bar in VS Code or the View: Show Extensions command (⇧⌘X). Search for “Agentforce Vibes” in installed extensions list, and then select Disable or Uninstall.
Telemetry helps monitor and audit Salesforce Generative AI functionality. In Code Builder, you must enable telemetry to use the Agentforce Vibes extension. However, after you’ve enabled the extension, you can then disable telemetry if you want. To enable telemetry, follow these steps:
salesforcedx-vscode-core.telemetry.enabled to confirm that this Salesforce telemetry setting is on in your workspace.sf config set disable-telemetry=false --global to enable CLI telemetry. See Salesforce CLI Data Collection and Metrics for more information.Once your org’s admin accepts the Agentforce Vibes IDE terms and conditions, Agentforce Vibes IDE is available from the Settings menu in your Salesforce org.
Agentforce Vibes is available in these scratch org editions that can author Apex:
It’s enabled by default in scratch orgs created from Dev Hub orgs with Agentforce Vibes enabled.
To disable Agentforce Vibes in a scratch org:
Edit the config/project-scratch-def.json file in your DX project and add:
1"settings": {
2 "AgentforceForDevelopersSettings": {
3 "agentforceForDevelopersOptOut": true
4 }
5}Agentforce Vibes is then disabled in new scratch orgs.
If you have multiple AI-enabled extensions installed in VS Code, you can run into some unexpected generated code outcomes. We recommend you disable all other AI-enabled extensions when working with Agentforce Vibes:
You can use the default keyboard shortcuts in Visual Studio Code when using Agentforce Vibes. You can rebind the shortcuts in the Keyboard Shortcuts editor using your preferred keyboard shortcuts for each specific command. For more information see Key Bindings for Visual Studio Code.
You can search for each keyboard shortcut by command name in the Keyboard Shortcuts editor.
| Command | Key Binding |
|---|---|
| Accept | ⌘Enter |
| Accept | Tab |
| Clear | Escape |
| Trigger Inline Suggestion | ⌥\ |
For information on using VS Code, and the Salesforce VS Code Extension Pack, see Salesforce Extensions for Visual Studio Code.