Understand Agentic Development
Transition to the Latest Version
Trust and Verification
Quick Start
Change Log
Agentforce Vibes in Government Cloud
Agentforce Vibes in Scratch Orgs
Inline Auto Completion
Troubleshooting
FAQ
Agentforce Vibes protects your data and workspace through two layers of trust: the Einstein Trust Layer masks sensitive CRM data before prompts reach the LLM, and permission modes control what the agent can do without asking you first. Neither layer replaces code review. Always verify agent-generated Apex, LWC, and metadata output before deploying.
Agentforce Vibes is built on two layers of trust. Salesforce protects your data automatically through the Einstein Trust Layer before prompts reach the large language model (LLM). You control what the agent can do in your workspace through permission modes and code review. Both layers work together. Neither replaces the other.
Agentforce Vibes routes prompts through the Einstein Trust Layer, so Einstein Trust Layer protections apply to your Agentforce Vibes sessions.
The Einstein Trust Layer can identify and mask personally identifiable information (PII) and payment card industry (PCI) data in prompts before sending them to the LLM. Masked values are replaced with placeholders for LLM processing, then restored in the response. Your sensitive CRM data stays inside Salesforce.
:::note When Einstein Trust Layer data masking is active, the context window is capped at 115K tokens regardless of the model’s native limit. Plan your context accordingly when masking is enabled in your org. :::
For full details on supported languages, locales, and masking behavior, see Large Language Model Data Masking.
Agentforce Vibes acts directly in your workspace, creating files, modifying code, and running commands. This topic covers how to verify agent-generated Apex and LWC output. The agent produces code quickly. That speed is only valuable if you verify the output.
System.assertNotEquals(null, result))?Reactivity: Are reactive properties decorated with @track or using @wire correctly? Does the component re-render when data changes?
Event handling: Are custom events named correctly (lowercase, no camelCase)? Do event boundaries stay within the shadow DOM unless composed: true is set?
Apex integration: Do @wire adapters reference real Apex methods with correct parameters? Are imperative calls handling errors?
Accessibility: are interactive elements keyboard-accessible? Do images have alt text? Are ARIA attributes used correctly?
Completeness: Are all referenced fields, objects, and record types included in the metadata changes? Dependencies: Does the deployment succeed, or are there missing references to objects and fields that don’t exist yet? Permissions: Are new fields and objects added to the relevant permission sets or profiles?
Permission modes control what the agent can do without asking you first. Use them to match your current trust level.
Starting out (low trust):
Building confidence (medium trust):
High confidence (established trust):
You can always tighten permissions again. The progression isn’t one-directional.