{"id":1887,"date":"2026-04-19T13:07:08","date_gmt":"2026-04-19T20:07:08","guid":{"rendered":"https:\/\/salesforcechronicles.com\/?p=1887"},"modified":"2026-04-19T13:07:10","modified_gmt":"2026-04-19T20:07:10","slug":"agentforce-builder-whats-new-and-why-it-matters","status":"publish","type":"post","link":"https:\/\/salesforcechronicles.com\/?p=1887","title":{"rendered":"Agentforce Builder: What\u2019s New and Why It Matters"},"content":{"rendered":"\n<p>In this post, we take a deep dive into the new Agentforce Builder and walk through what has changed, what it means for developers, and how it affects the way agents are built and deployed.<\/p>\n\n\n\n<p>The previous builder relied almost entirely on LLM interpretation. You wrote instructions and the Atlas Reasoning Engine decided what to do. For simple use cases that works well. For production workflows where specific rules need to execute the same way every time, it created unpredictable behavior that was difficult to debug and harder to govern.The new builder addresses this directly with <strong>Agent Script<\/strong>, a new scripting language for agent logic, alongside a rebuilt workspace, in-builder testing, and a VS Code integration that brings agents into your existing deployment pipeline.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>What is the New Agentforce Builder?<\/strong><\/h4>\n\n\n\n<p>The new <strong>Agentforce Builder<\/strong> is a completely rebuilt interface for creating and managing agents. The biggest structural change is that everything now lives in a single workspace. The old builder split Topics, Actions, Testing and Settings across separate tabs, which meant constant context switching.The <strong>Explorer sidebar<\/strong> now gives you a flat, navigable tree of your entire agent including subagents, actions, variables and connections, all visible at once.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"567\" src=\"https:\/\/salesforcechronicles.com\/wp-content\/uploads\/2026\/04\/image-14-1024x567.png\" loading=\"lazy\" alt=\"\" class=\"wp-image-1902\" title=\"Legacy Agentforce Builder\" srcset=\"https:\/\/salesforcechronicles.com\/wp-content\/uploads\/2026\/04\/image-14-1024x567.png 1024w, https:\/\/salesforcechronicles.com\/wp-content\/uploads\/2026\/04\/image-14-300x166.png 300w, https:\/\/salesforcechronicles.com\/wp-content\/uploads\/2026\/04\/image-14-768x425.png 768w, https:\/\/salesforcechronicles.com\/wp-content\/uploads\/2026\/04\/image-14-1536x850.png 1536w, https:\/\/salesforcechronicles.com\/wp-content\/uploads\/2026\/04\/image-14.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\"><em>The legacy builder \u2014 Topics, Actions, Testing and Settings each on separate tabs<\/em><br><\/figcaption><\/figure>\n\n\n\n<p>Here is what the same agent looks like in the new builder:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"550\" src=\"https:\/\/salesforcechronicles.com\/wp-content\/uploads\/2026\/04\/image-2-1024x550.png\" loading=\"lazy\" alt=\"\" class=\"wp-image-1890\" title=\"New Agentforce Builder unified workspace\" srcset=\"https:\/\/salesforcechronicles.com\/wp-content\/uploads\/2026\/04\/image-2-1024x550.png 1024w, https:\/\/salesforcechronicles.com\/wp-content\/uploads\/2026\/04\/image-2-300x161.png 300w, https:\/\/salesforcechronicles.com\/wp-content\/uploads\/2026\/04\/image-2-768x412.png 768w, https:\/\/salesforcechronicles.com\/wp-content\/uploads\/2026\/04\/image-2-1536x824.png 1536w, https:\/\/salesforcechronicles.com\/wp-content\/uploads\/2026\/04\/image-2.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\"><em>The new builder \u2014 Explorer sidebar, Preview panel and Agentforce Assistant in a single workspace. The sidebar now shows Subagents instead of Topics<\/em><\/figcaption><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Canvas View and Script View<\/strong><\/h4>\n\n\n\n<p>The editing area supports two views that stay in sync with each other. <strong>Canvas View<\/strong> renders agent configuration as structured visual blocks, which is useful for reviewing logic quickly or for admins making changes. <strong>Script View<\/strong> is where developers write Agent Script directly, with syntax highlighting, autocompletion and real-time validation.<\/p>\n\n\n\n<p>Think of it like a spreadsheet with a formula bar. Canvas View shows you the formatted result, Script View shows you the underlying formula. Editing either one updates the other automatically.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"924\" src=\"https:\/\/salesforcechronicles.com\/wp-content\/uploads\/2026\/04\/image-3-1024x924.png\" loading=\"lazy\" alt=\"\" class=\"wp-image-1891\" title=\"Canvas View showing Create Case action inputs\" srcset=\"https:\/\/salesforcechronicles.com\/wp-content\/uploads\/2026\/04\/image-3-1024x924.png 1024w, https:\/\/salesforcechronicles.com\/wp-content\/uploads\/2026\/04\/image-3-300x271.png 300w, https:\/\/salesforcechronicles.com\/wp-content\/uploads\/2026\/04\/image-3-768x693.png 768w, https:\/\/salesforcechronicles.com\/wp-content\/uploads\/2026\/04\/image-3-1536x1386.png 1536w, https:\/\/salesforcechronicles.com\/wp-content\/uploads\/2026\/04\/image-3.png 1594w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\"><em>Canvas View \u2014 the Create Case action with each input field displayed as a configurable block<\/em><br><\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"552\" src=\"https:\/\/salesforcechronicles.com\/wp-content\/uploads\/2026\/04\/image-7-1024x552.png\" loading=\"lazy\" alt=\"\" class=\"wp-image-1895\" title=\"Script View showing Agent Script\" srcset=\"https:\/\/salesforcechronicles.com\/wp-content\/uploads\/2026\/04\/image-7-1024x552.png 1024w, https:\/\/salesforcechronicles.com\/wp-content\/uploads\/2026\/04\/image-7-300x162.png 300w, https:\/\/salesforcechronicles.com\/wp-content\/uploads\/2026\/04\/image-7-768x414.png 768w, https:\/\/salesforcechronicles.com\/wp-content\/uploads\/2026\/04\/image-7-1536x827.png 1536w, https:\/\/salesforcechronicles.com\/wp-content\/uploads\/2026\/04\/image-7.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\"><em>Script View \u2014 the full agent definition in Agent Script with variables, system instructions and config<\/em><\/figcaption><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>What is Agent Script?<\/strong><\/h4>\n\n\n\n<p><strong>Agent Script<\/strong> is a new scripting language for defining agent logic. It sits between natural language instructions and Apex code on the complexity scale.<\/p>\n\n\n\n<p>Before Agent Script, the agent was essentially a black box. You wrote instructions and trusted the LLM to apply them correctly. Agent Script changes that by letting you define the logic explicitly.<\/p>\n\n\n\n<p>With Agent Script you can:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Define conditions<\/strong> using if\/else logic based on context variables<\/li>\n\n\n\n<li><strong>Chain actions<\/strong> in a guaranteed sequence before the LLM takes over<\/li>\n\n\n\n<li><strong>Manage variables<\/strong> across subagents<\/li>\n\n\n\n<li><strong>Control transitions<\/strong> between subagents explicitly<\/li>\n<\/ul>\n\n\n\n<p>The underlying reasoning engine has also shifted to a <strong>hybrid model<\/strong>. Deterministic paths are defined in Agent Script. Conversational parts remain LLM-driven. You control which parts are which.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>How Does Testing Work?<\/strong><\/h4>\n\n\n\n<p>The <strong>Preview panel<\/strong> is built directly into the workspace. You no longer need to switch tabs or leave the builder to test a change.<\/p>\n\n\n\n<p><strong>Live Test Mode<\/strong> lets you set context variables, run a conversation using mock data and see a reasoning trace per message showing which subagent was selected, which actions fired and why.<\/p>\n\n\n\n<p>Here is an example where a customer asked to create a case for a login issue. The Interaction Summary on the right shows each reasoning step the agent took:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"490\" src=\"https:\/\/salesforcechronicles.com\/wp-content\/uploads\/2026\/04\/image-8-1024x490.png\" loading=\"lazy\" alt=\"\" class=\"wp-image-1896\" title=\"Live Test Mode showing case creation and Interaction Summary\" srcset=\"https:\/\/salesforcechronicles.com\/wp-content\/uploads\/2026\/04\/image-8-1024x490.png 1024w, https:\/\/salesforcechronicles.com\/wp-content\/uploads\/2026\/04\/image-8-300x144.png 300w, https:\/\/salesforcechronicles.com\/wp-content\/uploads\/2026\/04\/image-8-768x368.png 768w, https:\/\/salesforcechronicles.com\/wp-content\/uploads\/2026\/04\/image-8-1536x735.png 1536w, https:\/\/salesforcechronicles.com\/wp-content\/uploads\/2026\/04\/image-8.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\"><em>Live Test Mode \u2014 the agent confirms case details with the customer and the Interaction Summary traces each reasoning step<\/em><\/figcaption><\/figure>\n\n\n\n<p>You can also drill into the Trace view for a granular breakdown of every step with millisecond timings:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"548\" src=\"https:\/\/salesforcechronicles.com\/wp-content\/uploads\/2026\/04\/image-10-1024x548.png\" loading=\"lazy\" alt=\"\" class=\"wp-image-1898\" title=\"Trace view with reasoning steps and timings\" srcset=\"https:\/\/salesforcechronicles.com\/wp-content\/uploads\/2026\/04\/image-10-1024x548.png 1024w, https:\/\/salesforcechronicles.com\/wp-content\/uploads\/2026\/04\/image-10-300x160.png 300w, https:\/\/salesforcechronicles.com\/wp-content\/uploads\/2026\/04\/image-10-768x411.png 768w, https:\/\/salesforcechronicles.com\/wp-content\/uploads\/2026\/04\/image-10-1536x821.png 1536w, https:\/\/salesforcechronicles.com\/wp-content\/uploads\/2026\/04\/image-10.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\"><em>The Trace view \u2014 every reasoning step for the case creation interaction with action execution time and agent response<\/em><\/figcaption><\/figure>\n\n\n\n<p><strong>Agentforce Grid<\/strong> is a bulk testing environment available under Setup > Testing Center. It lets you run a test suite across multiple utterances at once and review the results in a single view.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"546\" src=\"https:\/\/salesforcechronicles.com\/wp-content\/uploads\/2026\/04\/image-11-1024x546.png\" loading=\"lazy\" alt=\"\" class=\"wp-image-1899\" title=\"Testing Center test suite results\" srcset=\"https:\/\/salesforcechronicles.com\/wp-content\/uploads\/2026\/04\/image-11-1024x546.png 1024w, https:\/\/salesforcechronicles.com\/wp-content\/uploads\/2026\/04\/image-11-300x160.png 300w, https:\/\/salesforcechronicles.com\/wp-content\/uploads\/2026\/04\/image-11-768x410.png 768w, https:\/\/salesforcechronicles.com\/wp-content\/uploads\/2026\/04\/image-11-1536x819.png 1536w, https:\/\/salesforcechronicles.com\/wp-content\/uploads\/2026\/04\/image-11.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\"><em>Testing Center \u2014 85% Topic Pass, 45% Action Pass and 50% Response Pass across 20 utterances<\/em><\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"554\" src=\"https:\/\/salesforcechronicles.com\/wp-content\/uploads\/2026\/04\/image-12-1024x554.png\" loading=\"lazy\" alt=\"\" class=\"wp-image-1900\" title=\"Test results grid\" srcset=\"https:\/\/salesforcechronicles.com\/wp-content\/uploads\/2026\/04\/image-12-1024x554.png 1024w, https:\/\/salesforcechronicles.com\/wp-content\/uploads\/2026\/04\/image-12-300x162.png 300w, https:\/\/salesforcechronicles.com\/wp-content\/uploads\/2026\/04\/image-12-768x416.png 768w, https:\/\/salesforcechronicles.com\/wp-content\/uploads\/2026\/04\/image-12-1536x831.png 1536w, https:\/\/salesforcechronicles.com\/wp-content\/uploads\/2026\/04\/image-12.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\"><em>Results grid \u2014 expected subagent vs actual subagent for each utterance with pass or fail per topic<\/em><\/figcaption><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>What is the Agentforce Assistant?<\/strong><\/h4>\n\n\n\n<p>The <strong>Agentforce Assistant<\/strong> is an AI panel embedded in the builder. You describe what you want in plain English and it generates subagents, actions and Agent Script for you to review and accept.<\/p>\n\n\n\n<p>It is particularly useful for generating test utterances, which would otherwise need to be written manually:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"589\" height=\"1024\" src=\"https:\/\/salesforcechronicles.com\/wp-content\/uploads\/2026\/04\/image-13-589x1024.png\" loading=\"lazy\" alt=\"\" class=\"wp-image-1901\" title=\"Agentforce Assistant suggesting test scenarios\" srcset=\"https:\/\/salesforcechronicles.com\/wp-content\/uploads\/2026\/04\/image-13-589x1024.png 589w, https:\/\/salesforcechronicles.com\/wp-content\/uploads\/2026\/04\/image-13-172x300.png 172w, https:\/\/salesforcechronicles.com\/wp-content\/uploads\/2026\/04\/image-13-768x1336.png 768w, https:\/\/salesforcechronicles.com\/wp-content\/uploads\/2026\/04\/image-13.png 830w\" sizes=\"auto, (max-width: 589px) 100vw, 589px\" \/><figcaption class=\"wp-element-caption\"><em>The Agentforce Assistant suggesting test utterances across order management, troubleshooting, escalation and knowledge Q&amp;A<\/em><\/figcaption><\/figure>\n<\/div>\n\n\n<h4 class=\"wp-block-heading\"><strong>What is Agentforce DX?<\/strong><\/h4>\n\n\n\n<p>Agentforce DX is a developer toolchain that lets you work with agents outside the browser. You can pull agent definitions including Agent Script files into a local Salesforce DX project, edit in VS Code with full language support, and deploy using standard sf deploy commands.<\/p>\n\n\n\n<p>Agent Script is version-controlled metadata. That means pull requests, code reviews and rollbacks apply to agent logic the same way they apply to Apex classes and other org metadata.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Key Takeaways<\/strong><\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Agent Script<\/strong> replaces prompt-only instructions with deterministic, programmable logic<\/li>\n\n\n\n<li><strong>The hybrid reasoning engine<\/strong> lets you mix guaranteed paths and LLM-driven paths in the same agent<\/li>\n\n\n\n<li><strong>Live Test Mode and Agentforce Grid<\/strong> make agent behavior verifiable before deployment<\/li>\n<\/ul>\n\n\n\n<p>Agentforce DX brings agents into source control and your existing CI\/CD pipeline<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>References<\/strong><\/h4>\n\n\n\n<ul class=\"wp-block-list has-small-font-size\">\n<li><a href=\"https:\/\/developer.salesforce.com\/docs\/ai\/agentforce\/guide\/agent-script.html\">Salesforce Developer Docs: Agent Script<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/developer.salesforce.com\/blogs\/2026\/01\/developers-guide-to-the-spring-26-release\">Salesforce Developer Blog: Spring \u201926 Developer Guide<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/admin.salesforce.com\/blog\/2026\/build-with-confidence-inside-the-new-agentforce-builder\">Salesforce Admins Blog: Build With Confidence Inside the New Builder<\/a><\/li>\n\n\n\n<li style=\"font-size:7px\"><a href=\"https:\/\/trailhead.salesforce.com\/content\/learn\/modules\/new-agentforce-builder-quick-look\/explore-the-new-agentforce-builder\">Trailhead: Explore the New Agentforce Builder<\/a><\/li>\n<\/ul>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this post, we take a deep dive into the new Agentforce Builder and walk through what has changed, what it means for developers, and&#8230;<\/p>\n","protected":false},"author":1,"featured_media":1903,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"inline_featured_image":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":"[]"},"categories":[36],"tags":[38,39,31],"class_list":["post-1887","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-agentforce","tag-agentforce","tag-agentforce-builder","tag-salesforce"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/salesforcechronicles.com\/index.php?rest_route=\/wp\/v2\/posts\/1887","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/salesforcechronicles.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/salesforcechronicles.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/salesforcechronicles.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/salesforcechronicles.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1887"}],"version-history":[{"count":1,"href":"https:\/\/salesforcechronicles.com\/index.php?rest_route=\/wp\/v2\/posts\/1887\/revisions"}],"predecessor-version":[{"id":1904,"href":"https:\/\/salesforcechronicles.com\/index.php?rest_route=\/wp\/v2\/posts\/1887\/revisions\/1904"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/salesforcechronicles.com\/index.php?rest_route=\/wp\/v2\/media\/1903"}],"wp:attachment":[{"href":"https:\/\/salesforcechronicles.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1887"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/salesforcechronicles.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1887"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/salesforcechronicles.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1887"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}