Apex Aide apexaide

How Agentforce Enhanced Chat Built an Agent-first Chat Experience While Ensuring Easy Migration for 3,000+ Customers

By Andy Shah· Salesforce Engineering Blog· ·Advanced ·Developer ·8 min read
Summary

Agentforce Enhanced Chat is a redesigned agent-first chat experience built from the ground up to integrate seamlessly with existing Salesforce customer websites. It solves the challenge of upgrading thousands of live tenants by enabling easy migration with a one-click switch and backward compatibility, all while enhancing customization, performance, and real-time intelligence for agents. The new architecture leverages Lightning Web Components and modern frameworks to deliver a highly scalable, responsive UI optimized for fast iteration and reduced developer friction. Salesforce teams can use these insights to design scalable, customizable chat solutions that minimize customer disruption during upgrades.

Takeaways
  • Design backward-compatible features to enable smooth upgrades and rollbacks for multi-tenant systems.
  • Use Lightning Web Components and centralized state management to build performant and customizable UIs.
  • Implement one-click migration switches controlled by customers to reduce deployment friction.
  • Leverage AI tools to speed up developer onboarding and create diagnostic tools for rapid iteration.
  • Adopt incremental rollout and compatibility enforcement patterns for scalable, reliable platform evolution.

By Andy Shah, Jeremy Klukan, Ben Drasin, Nikhil Pachpande, and Stuart Clark. In our Engineering Energizers Q&A series, we highlight the engineering minds driving innovation across Salesforce. This edition features Andy Shah, Director of Software Engineering, who leads the development of Agentforce Enhanced Chat, a core customer-facing surface that brings Agentforce capabilities to the consumer web. Explore how the team built a net new agent-first web experience, re-architecting the system from the ground up, while allowing for easy migration for current production customers and removing developer friction to enable faster iteration. What is your team’s mission as it relates to Agentforce Enhanced Chat? We enable rich Agentforce experiences for the consumer web. This involves seamlessly embedding new Agentforce capabilities into customer web properties with comprehensive tools and APIs that create native agent experiences with their existing website ecosystem.

AgentforceArchitecture