

Building an Agentforce agent once meant configuring topics, writing instructions, testing a few conversations, and hitting activate. That is no longer how Salesforce approaches agent development.
Since the week of July 13, 2026, every new agent starts in the new Agentforce Builder and is defined in Agent Script. But the change goes well beyond the builder itself.
Agents now live in source control, undergo batch testing, move through deployment pipelines, and are continuously refined using production session traces.
So, what does this mean for teams building, deploying, and managing Agentforce agents?
In this blog, we break down how the Agentforce development lifecycle has evolved across each phase and what this shift means for teams managing legacy agents.
The old Agentforce development lifecycle was UI-only. An admin configured topics and natural-language instructions in Setup, previewed a conversation, and activated the agent.
The new lifecycle treats an agent as source code. Its behaviour is now:
Salesforce formalises this as the Agent Development Lifecycle (ADLC). The Salesforce Architects guide describes five phases:
Development and testing form an inner loop, while monitoring and tuning after go-live form an outer loop that feeds changes back into the agent.
The guide positions the ADLC as an extension of Application Lifecycle Management (ALM). Your existing release discipline still applies. However, since agent inputs are free-form language, testing, data, and post-launch tuning carry more weight than they do in a standard SDLC.

Unlike the legacy flow, which ran in a straight line from configuration to activation, the ADLC introduces batch testing, a source-controlled pipeline, and a continuous feedback mechanism.
Through the outer loop, teams inspect session trace data captured in Data 360 to observe, monitor, and troubleshoot agent behaviour and feed updates back into authoring.
The rest of this post walks through each lifecycle phase and what changed in it.
In the legacy builder, the natural first step was to open Setup and start writing topic instructions.
The ADLC moves that work later. The Architects guide asks teams to define the agent's goal and measurable success metrics, its persona and guardrails, its data and memory needs, the tools it calls, and the points where it hands off to a human.
It also asks for a representative set of real user utterances before any configuration begins.
That utterance set does double duty.
Agent Script is the language behind every agent in the new Agentforce Builder. It allows teams to define conditionals, guards, and transitions for steps that must run consistently, such as identity verification or eligibility checks, while leaving open-ended conversations to the LLM.
Salesforce calls this hybrid reasoning. Previously, teams relied entirely on instruction wording, and the LLM decided whether to follow those instructions.
The new builder offers two views of the same agent:
Developers can also work outside the org using Agentforce DX, where each agent is stored as a metadata component called an authoring bundle (AiAuthoringBundle) containing its .agent file.
Teams can generate this bundle locally or retrieve one created in Agentforce Builder, then edit, validate, and preview it in VS Code.
At TDX 2026, Salesforce open-sourced the Agent Script spec, grammar, parser, and compiler on GitHub. For a deeper look at the language itself, read our explainer on Salesforce Agent Script, or follow the worked example in how to build a campaign agent using Agent Script.
Traditional software tests check for one expected output. The Architects guide makes the point that agent tests check whether behaviour fits the agent's purpose across a range of acceptable responses. It recommends layered testing:
Previously, most teams tested one conversation at a time in the builder preview. With the new Agentforce Builder, tests now live in the Tests tab in Agentforce Studio. Test suites are stored as AiTestingDefinition metadata and graded by scorers, replacing the AiEvaluationDefinition format used for legacy agents.
The Testing Center enhancements that reached general availability in May 2026 introduced:
Dreamforce 2026 expanded these capabilities further:
Agentforce DX also provides a CLI-based test suite, allowing agent tests to run in the same pipeline as Apex tests.
In the new lifecycle, the agent is stored as versioned metadata in Git and promoted through CI/CD, the same way you ship Apex or Lightning components. The Architects guide also recommends phased rollouts, such as canary releases, and agent versioning so you can roll back to the last known good version.
One rule carries over and matters more now: deployment and activation are separate steps. A new agent version does not go live until an administrator activates it. Pipelines move the code; a named person decides when customers see it.
Salesforce also supports controlled experiments in production. A/B Experimentation, announced at Dreamforce 2026, splits traffic between agent versions and compares them on an analytics scorecard, with setup built into Agentforce Builder. It entered beta in October 2026, so check your org's release notes before building a rollout plan around it.
The outer loop is the largest addition to the Agentforce development lifecycle. The Architects guide identifies latency, token cost, API errors, completion rates, dead ends, and escalations as key signals to monitor after go-live.
These signals come together in Agentforce Observability, covering agent analytics, session-level optimization, and health monitoring. The Session Tracing Data Model (STDM) in Data 360 stores every session and interaction for root-cause analysis.
Two tools turn this data into action:
Custom scorers measure test and production session quality on the same scale. Winter '27 also added a Sessions and Intents view, voice latency, and speech metrics in Session Trace.
For external monitoring, the Session Trace OTel API (beta) returns full session traces as OpenTelemetry spans for Splunk, Datadog, or New Relic. It handles one session per request, covering the previous 72 hours.
ADLC skills for AI coding tools can also read production traces and feed them directly back into authoring, allowing teams to address failed conversations using the traces that revealed those failures.
Agents built in the legacy builder keep running and remain editable. Salesforce is not shutting them down. Since the week of July 13, 2026, you can no longer create new agents there, and no new features are planned for it. Agent Script, new Agentforce Voice capabilities, per-subagent model selection, and multi-agent orchestration are available only in the new builder.
The way businesses build Agentforce agents has changed. The bigger question is whether their teams, processes, and development practices have evolved with it.
At MIDCAI, we help businesses bridge this gap. Our expertise spans Agentforce architecture, legacy agent migration, testing, deployment, and continuous optimisation.
Whether you're building your first Agentforce agent or rethinking your existing agent ecosystem, now is a good time to evaluate your development approach.
Connect with our Agentforce experts to discuss what your next phase of agent development should look like.
Got questions? We’ve got answers. Explore common queries to understand how we work and what to expect.
No. Salesforce has confirmed that legacy agents continue to run and remain editable. What ended in July 2026 is the ability to create new agents in the legacy builder. No new features are planned for it, so any agent that needs Agent Script, new voice capabilities, or multi-agent orchestration has to be rebuilt in the new Agentforce Builder.
No. Every new agent is defined in Agent Script, but the new Agentforce Builder's Canvas view presents that script as readable blocks, and Agent Optimizer (beta), the builder's built-in assistant, can turn natural-language requests into subagents, actions, and script. Developers who want direct control can use Script view or edit the .agent file in VS Code.
The ADLC extends the SDLC rather than replacing it. It differs in four main ways: inputs are free-form language, tests score behaviour across acceptable outcomes instead of one expected output, data plays a more central role, and the lifecycle continues after deployment through monitoring and tuning. Deployment and activation are also separate steps.
No, you can build entirely in Agentforce Builder. Agentforce DX becomes important when you want agents in version control, automated tests in a CI/CD pipeline, or development in VS Code and AI coding tools. You can start in the builder and retrieve the authoring bundle into a DX project later.
Get in touch with us for any enquiries and questions
Define your goals and identify areas where technology can add value to your business
We are looking for passionate people to join us on our mission.
where your skills fuel innovation and your growth powers ours