Agentforce Vibes: The Complete Guide to Enterprise Vibe Coding
Everything you need to know about Salesforce's AI-powered development tools: the IDE and VS Code extension, models, Plan Mode, MCP, usage limits and licensing, and pro tips.
01 What is Vibe Coding?
The term "vibe coding" was first coined by Andrej Karpathy in February 2025. It describes a way of building software where developers describe what they want in natural language and AI generates the code.
Rather than writing code line by line, developers "vibe" with an AI agent and iterate on ideas through conversation. The agent reads your context, proposes changes and writes code that you then review.
The Enterprise Vibe Coding Race
In a May 2025 report, Gartner predicted that 40% of new production software will be created via vibe coding by 2028, as CIO Dive reported at the Agentforce Vibes launch. Major technology providers moved quickly:
Consumer AI coding tools such as GitHub Copilot, Cursor and Windsurf changed individual developer productivity. Enterprises also need security, governance and integration with the platform they already run. Agentforce Vibes is Salesforce's answer to those needs, and Salesforce says it carries the platform's security and governance controls.
02 Agentforce Vibes Overview
Agentforce Vibes is Salesforce's tooling for agentic development. Salesforce Help says it is "a set of AI app development tools to agentically plan, build, debug, test, and deploy Salesforce agents, web apps, mobile apps, Salesforce metadata, and more" (Help article published June 13, 2026, read on November 9, 2026). It launched on October 1, 2025.
Two Ways to Use It
What Changed in Version 2.0
The transition guide describes version 4.x of the extension (marketed as Agentforce Vibes 2.0) as "reimagined from the ground up and built on the Salesforce's Coding Agent Platform". The 2.0 GA announcement says it is powered by Claude and the Mastra agent orchestration engines. At launch in October 2025 it was built on a fork of the open source Cline extension, according to TechCrunch.
Key Differentiators
.vibes/rules/ and .vibes/skills/, and MCP servers extend what the agent can reach.What's Included
- Agentic chat with multi-tab conversations, history, reasoning traces and PNG or JPEG image attachments
- Plan Mode for structured plans before any file changes
- Autonomous sub-agents that work in parallel in isolated Git worktrees (Teams Mode)
- Inline code completions for Apex and LWC, informed by connected org metadata
- Live previews for Lightning Web Components and metadata visualizations, plus React UI bundle previews
- MCP support with Salesforce DX, API Context and Metadata Experts tools, and your own servers through
mcp.json
These items come from the Agentforce Vibes Developer Guide overview, the transition guide and the 2.0 GA announcement.
Supported Languages and Frameworks
Salesforce lists Apex and Lightning Web Components for inline completions. The agent also works on other Salesforce project files:
- Apex (classes, triggers, tests)
- Lightning Web Components (LWC)
- Aura Components
- Visualforce
- HTML, CSS, JavaScript
- SOQL and SOSL queries
- Metadata configurations, including Flows and permission sets
03 Meet Vibe Codey: Your AI Pair Programmer
At launch, Salesforce introduced Vibe Codey, an autonomous AI coding agent that works like a pair programmer. TechCrunch and CIO Dive used that name. Current Salesforce documentation simply calls the experience Agentforce Vibes, so this guide uses "the agent" for the coding agent inside it.
Context Awareness
The agent can retrieve project files and connected-org metadata. It can read:
- Project structure - your files, source code and metadata
- Org metadata - sObjects, fields, record types, profiles and permission sets through the Salesforce DX MCP tools
- Rules and Skills - your team's conventions from the
.vibes/folder and the Toolkit panel - Open files and conversation history - when enabled in the context settings
This list follows the guide on agentic development. You still have to explain business intent, org-specific conventions that are not in code, and integration contracts.
Full-Cycle Development Capabilities
Teams Mode and Sub-Agents
According to the same guide, the agent can assign work to specialized sub-agents (Logic Builder, Component Builder and QA Validator). Each works in an isolated Git worktree, and Agentforce Vibes then merges the result. Salesforce's overview describes the layers as Apex logic, Lightning Web Components, Jest testing and SOQL queries.
Model Flexibility
The model list has changed since launch. At launch, Salesforce named xGen, GPT-5 and internally hosted models. The Usage and Billing page now lists these models (read on November 9, 2026):
- Unmetered: GPT-5 (Included) and Claude Sonnet 4.6 (Premium)
- Flex Credits (metered): Claude Sonnet 4.6 (default), GPT-5, GPT-5.4, Claude Opus 4.5, Claude Opus 4.6, Claude Opus 4.7 and Claude Opus 4.8
Salesforce says it adds support for new models on an ongoing basis. The model selection page describes three tiers: most capable (for complex multi-file tasks and architecture), balanced (everyday tasks) and fastest (quick questions). Switching models mid-conversation does not reset your context. You can also bring your own tools through MCP.
Salesforce requires 75% Apex code coverage to deploy to production. Describe a feature or a bug, and the agent can propose the change and generate test classes together. You still run the tests, check the assertions and review the code, because generated tests can pass without proving much.
04 5 Pro Tips for Power Users
The Salesforce Developers blog post Five Pro Tips for Using Agentforce Vibes (December 2025) is the base for these tips. Limits and commands have changed since that post, so treat the product screens as the final word for your version.
AgentforceVibesUnmeteredAccess (Summer '26) or AgentforceVibesFlexCreditsAccess to the features array of config/project-scratch-def.json. Your Dev Hub must have that access enabled first, and scratch orgs get the same model access and limits as the standard unmetered or Flex Credit tier. Create one with the SFDX: Create a Default Scratch Org command./newrule (system-level prompt for your coding standards), /newchat (summarize context and start fresh), /deep-planning (a detailed implementation plan) and /reportbug (a GitHub issue for unexpected behavior). Version 2.0 added Plan Mode in the chat and Rules and Skills in the Toolkit panel, so check which commands your version still offers.@force-app/main/default/classes/AccountController.cls, instead of letting the agent discover them. The post also lists @terminal, @problems, Git commits and URLs. Version 2.0 keeps @-mention context.05 Agentforce Vibes vs. Other AI Coding Tools
Developers also use GitHub Copilot, Cursor, Windsurf and Claude Code for Salesforce work. Salesforce's launch blog says Agentforce Vibes is extensible to other agentic tools like Claude Code, Cursor, or Windsurf through the Salesforce DX MCP Server (see section 7 for its end of life). Here is a comparison of how they fit. The Salesforce integration column states what the launch blog says.
| Tool | Best for | Salesforce integration | Pricing |
|---|---|---|---|
| Agentforce Vibes | Salesforce-specific development | Native: org metadata through built-in MCP tools | Developer Edition allowance, unmetered add-on or Flex Credits (section 8) |
| GitHub Copilot | Inline suggestions, beginners | Salesforce's DX MCP Server quick start uses VS Code with GitHub Copilot as the MCP client | Copilot plans page |
| Cursor | Solo developers, fast prototyping | Named in the launch blog as extensible through the Salesforce DX MCP Server | Cursor pricing page |
| Windsurf | Large codebases, teams | Named in the launch blog as extensible through the Salesforce DX MCP Server | Windsurf pricing (windsurf.com now redirects to devin.ai) |
| Claude Code | Agentic coding and reasoning | Named in the launch blog as extensible through the Salesforce DX MCP Server | Claude pricing page |
Plans and prices for the other tools change often, so this table links their pricing pages instead of quoting figures.
The Key Difference
GitHub Copilot, Cursor, Windsurf and Claude Code are generalists. You teach them your org's patterns and verify their suggestions against platform constraints. Agentforce Vibes is built for the Salesforce platform and reads your connected org's metadata directly. Salesforce's own guidance says it targets Salesforce platform work, not general-purpose code generation.
For mixed tech stacks: Many developers use Agentforce Vibes for Salesforce-specific work and a general tool for everything else. Salesforce's Hosted MCP Servers let tools such as Claude Code and Cursor reach your org's data without a local install, as the April 2026 Developer Edition post describes.
For pure Salesforce: Agentforce Vibes is the option that is built into the platform and its licensing.
06 Enterprise Security and Governance
Consumer vibe coding tools raise security questions. For Agentforce Vibes, Salesforce points to its trust boundary and platform controls. These points come from the Agentforce Vibes FAQ (read on November 9, 2026):
Data Handling
Governance Capabilities
- Sandboxes and scratch orgs - develop and test in isolated environments before production
- Human-in-the-loop approvals - tool approval, a permission-mode engine with safety guards and inline diff review. Version 2.0 starts in "Run safe defaults" mode, which auto-approves in-workspace edits and asks for approval for out-of-workspace paths, protected files and
.git/writes - Per-tool settings - set individual MCP tools to Always ask or Auto-approve in the Toolkit
- Code Analyzer - Salesforce Code Analyzer is available to the agent through the DX MCP code analysis toolset
- Admin controls - disable Agentforce Vibes per org in Setup, and control access with permission set licenses and permission sets
- Permissions - users need the "View All Data" permission, per Salesforce Help
Model Governance
Admins can manage which models are used. Salesforce Help (published June 13, 2026) says the only applicable model to disable is GPT-5, by toggling off OpenAI Models, after which requests use the Core model only. The Usage and Billing page lists Claude and other GPT models that this Help text does not mention, so confirm in your org which models you can restrict. Generated code carries the same review requirement as human-written code. The agent can hallucinate method names or make wrong assumptions about your org, so check security, bulkification, governor limits and error handling.
07 MCP Integration: Connect Tools to Your IDE
Model Context Protocol (MCP) is an open standard that lets AI models communicate with external tools and data sources. Agentforce Vibes uses it to reach your org and can connect to your own servers.
What is MCP?
Think of MCP as the USB of AI tools: a universal adapter that lets an AI agent work with any compatible tool. The Salesforce DX MCP server, for example, lets an agent call tools such as deploy_metadata in your local DX project instead of guessing at a CLI command.
MCP in Agentforce Vibes
| Item | Value |
|---|---|
| Tools in the Salesforce DX MCP server | 60+ (per the Salesforce DX Developer Guide) |
| MCP tools included at the October 2025 launch | 20+ (per the launch blog) |
| DX MCP Server released (Developer Preview) | May 2025 |
| Local DX MCP server end of life | November 2, 2026 |
@salesforce/mcp) "reaches end of life on November 2nd, 2026" (read on November 9, 2026; the repository is archived). Salesforce points to issue 46 for details. Issue 46 says "Salesforce tooling is now delivered as skills" and names forcedotcom/sf-skills as their public location. The npm package is marked deprecated but stays installable, so pinned setups keep working. The Agentforce Vibes docs still describe the DX tools as built in, so check the Toolkit panel in your version to see which MCP servers are active.Hosted and Built-in MCP Servers
Version 2.0 adds a platform-hosted MCP server bundle with trust controls, a user-level mcp.json, and per-tool permissions with auto-approval for trusted read-only Salesforce tools (Salesforce DX, API Context and Metadata Experts), per the 2.0 GA announcement. For other tools, the April 2026 Developer Edition post compares the two server types: the DX MCP Server runs on your machine with CLI credentials, while a Hosted MCP Server runs on Salesforce infrastructure with per-user OAuth 2.0 and exposes sObject API access, invocable actions and flows.
DX MCP Toolsets
The Salesforce DX Developer Guide groups the DX tools into these toolsets:
- Core DX: orgs, deploying and retrieving metadata
- Code Analysis: static analysis with Salesforce Code Analyzer
- DevOps: work items, merge conflicts and deployment problems in DevOps Center
- LWC and Aura: design, build, test and optimize LWC code, and migrate Aura to LWC
- Mobile: Lightning web components that use device-native features
- Scale Products: ApexGuru for detecting and fixing Apex performance issues
Salesforce is building on an open protocol, so Agentforce Vibes is not locked into one tool ecosystem. For org data access from external tools, see the Hosted MCP Servers setup in my Salesforce MCP Server guide.
08 Usage Limits, Licensing and Cost
Agentforce Vibes has its own usage limits and licensing, separate from Apex governor limits. The figures below come from the Agentforce Vibes Developer Guide pages cited in each item, read on November 9, 2026. Salesforce changes them, so check the page before you plan around a number.
Three Ways to Pay
What a Request Costs on Flex Credits
The Flex Credit multiplier depends on the prompt usage type of the model you select (Starter, Basic, Standard or Advanced), and Opus models use Advanced prompts, per the Usage and Billing page. For a Standard Prompt, Salesforce Help says every request is billed in chunks of 2,000 tokens, which equals 1 Standard Prompt, which equals 4 Flex Credits. The Agentforce pricing page (read in Chrome on October 24, 2026) lists Flex Credits at $500 per 100,000 credits and shows Agentforce Vibes under both Salesforce Foundations and Flex Credits. The pricing page shows $0 for Foundations.
As an illustration for Standard prompts only, take the billing page's example of a 6,500-token prompt, metered as four units. At 4 Flex Credits per Standard Prompt that is 16 credits, or $0.08 at $500 per 100,000 credits. Advanced prompts (Opus) use a higher multiplier, so check the current rate card before estimating them. This is simple arithmetic, not a Salesforce quote. The Flex Credits estimator in the docs is the better tool for planning.
Rules That Affect Your Planning
- Switching models does not reset limits: token usage is tracked independently of the model you select.
- Hitting the premium limit: you can switch to the Included model, move to a metered Flex Credits license, or contact your Salesforce account team.
- Unmetered does not fall back to Flex: when the included monthly allocation is used up, Agentforce Vibes does not switch to Flex Credit billing automatically.
- Digital Wallet: use Digital Wallet to track near real-time consumption.
- Context limits: long sessions accumulate context. Version 2.0 shows a live context-window indicator with automatic compaction, and starting a fresh session for unrelated work keeps context focused.
Licensing for Admins
Access needs a chain of three things per user: Einstein enabled, a permission set license and a permission set. The license assignment guide says all paid users need Flex. For Flex, assign the "Agentforce Developer and Admin Tools" permission set (permission set license "Agentforce Platform Developer and Admin"). Unmetered access needs the "Agentforce 360 Platform - Developer and Admin Tools" SKU, the "Unmetered Platform Developer and Admin AI User" license and a custom permission set with the unmetered system permission.
Request Conservation Best Practices
- Use @mentions for files: inject file content directly so the agent skips the discovery step.
- Pick the model tier for the task: do not use the most capable model for a quick question. Each model has a Flex Credit multiplier set by its prompt usage type (Starter, Basic, Standard or Advanced), and Opus models use Advanced prompts, which carry a higher multiplier than Standard.
- Plan first: the April 2026 Developer Edition post suggests Plan mode before Act mode and specific prompts, and retrieving only the metadata relevant to the task.
- Use the CLI for trivial tasks: a single metadata deploy is faster with the Salesforce CLI.
- Start fresh for unrelated work: a new session keeps context small.
09 Getting Started with Agentforce Vibes
Prerequisites
- An org in a supported edition (Developer, Enterprise, Partner Developer, Performance or Unlimited) with Agentforce Vibes enabled and a user with the needed license and permission set
- VS Code on a version the extension supports, or the browser-based Agentforce Vibes IDE
- The latest Salesforce CLI, or Node.js 22 or above
- A Salesforce DX project open and an org connection (
sf org login web) - Git, which Checkpoints require
- On Windows, the Microsoft Visual C++ Redistributable, without which the extension fails to activate
Installation Steps
These steps follow the install guide.
- Install the Salesforce Extension Pack (or the Expanded pack) from the VS Code or Open VSX marketplace. Agentforce Vibes is part of it and is enabled by default.
- Disable other AI-enabled extensions. Running several at once can produce unexpected results.
- Authenticate to your org with
sf org login weband open your Salesforce DX project. - Open the Agentforce Vibes panel and complete the setup checklist, including your AI provider.
- To use the browser version instead, ask an admin to accept the Agentforce Vibes IDE terms. The IDE is then available from the Settings menu in your org.
- Start with Plan Mode and describe what you want to build in natural language.
Your First Vibe Session
Try these prompts to get started:
"Create an Apex trigger on Account that prevents deletion if there are related Opportunities"
"Build a Lightning Web Component that displays a sortable table of Contacts with search functionality"
"Generate a test class for my AccountService class with bulk and negative test cases"
"Review my existing trigger and suggest performance improvements"
Best Practices for Success
- Be specific: the more context you provide, the better the output.
- Use @mentions: reference existing files to stay consistent with your codebase.
- Start in scratch orgs: get comfortable before working in sandboxes.
- Review generated code: the agent assists, but you remain responsible.
- Iterate: vibe coding is a conversation, not a one-shot request.
Developer Edition orgs include Agentforce Vibes and the Agentforce Vibes IDE at no cost, within the usage allowance in section 8, per the April 2026 Developer Edition post. That is a low-risk way to try the workflow before you ask for licenses.
10 Frequently Asked Questions
Agentforce Vibes is a set of AI app development tools to plan, build, debug, test and deploy Salesforce agents, web apps, mobile apps and metadata. It has two components: the Agentforce Vibes IDE (a browser-based VS Code, formerly Code Builder) and the Agentforce Vibes VS Code extension (formerly Agentforce for Developers).
Developer Edition orgs get a free allowance, and the Salesforce Foundations plan lists Agentforce Vibes at $0 on the pricing page. Paid use is metered through Flex Credits or covered by an unmetered add-on. The exact free allowance differs between Salesforce's docs pages, so check the current page.
On the Usage and Billing page, unmetered users get GPT-5 (Included) and Claude Sonnet 4.6 (Premium). Flex Credit users can choose Claude Sonnet 4.6 (default), GPT-5, GPT-5.4 and Claude Opus 4.5 through 4.8. Salesforce adds models on an ongoing basis.
Salesforce's FAQ says it treats your code as confidential under your Master Subscription Agreement and does not use it to train the global LLM. Only the data you provide in a prompt is transmitted, and PII and secrets are scrubbed first. Do not put production credentials or sensitive record data in prompts.
Search for "Agentforce Vibes Extension" in Setup and switch the toggle to Off, per Salesforce Help. The extension is then disabled when that org is the default org in VS Code.
The extension runs in VS Code and the Agentforce Vibes IDE. For other tools, Salesforce's launch blog says Agentforce Vibes capabilities are extensible to Claude Code, Cursor and Windsurf through the Salesforce DX MCP Server. That local server reached end of life on November 2, 2026. The retirement notice says Salesforce tooling is now delivered as skills (forcedotcom/sf-skills). Hosted MCP Servers are a separate option: they give external tools access to org data and logic, not the local development tooling.
11 Abbreviations & Glossary
Abbreviations & Glossary
Reference guide for technical terms and abbreviations used throughout this article.
sf)
Thank you Jitendra , for the best document on agentforce vibes. very useful. just one thing is missing, is architecture diagram, i am happy to share you that via linkedin which salesforce product team shared
Hi Anil,
Would love to see what do you have.