All posts

Field note

Agent Lifecycle Management on Salesforce: Run AI Agents Like a Workforce, Not a Release

Akshit Kandi
#Agentforce#agent lifecycle management#AI governance#AI ROI#Salesforce
Agent Lifecycle Management on Salesforce: Run AI Agents Like a Workforce, Not a Release
Agentforce

Agent Lifecycle Management on Salesforce: Run AI Agents Like a Workforce, Not a Release

SkySync

Building an Agentforce agent takes an afternoon. Keeping it right, cheap and accountable for a year is the real job. Here is the seven-stage lifecycle we use, from baseline to Agent Care.


The hard part of AI agents is no longer building them. With Agentforce Builder, a reasonable spec and a free afternoon, most Salesforce teams can stand up an agent that answers questions, routes cases or qualifies leads. The hard part is what happens on day 40, day 90 and day 300: when the price list changes, the model gets updated underneath you, a new product launches, and nobody is quite sure whether the agent is still right, what it costs to run, or what it has returned.

That is what agent lifecycle management (ALM) is for. Salesforce now frames it as a discipline in its own right, and it should be. An agent is not a release you ship and forget. It is closer to a new hire: it needs a clear job, onboarding, supervision, feedback and a manager who answers for its results.

Why apps and agents need different lifecycles

Traditional application lifecycle management assumes deterministic software. Same input, same output. Bugs throw errors. Once it passes its tests, it keeps passing them until someone changes the code.

Agents break every one of those assumptions:

  • They are probabilistic. The same question can produce two different, both plausible, answers. You evaluate a distribution, not a single result.
  • Their logic is spread out. Behaviour lives in instructions, topics, actions, prompt templates, grounding data and the model itself, not only in code.
  • They fail quietly. The common failure is not an outage. It is a fluent, confident, wrong answer while every dashboard stays green.
  • They cost money per use. Consumption scales with every conversation and action, so an agent that is busy but useless is actively expensive.
“

Most agent projects do not fail at launch. They fail around week twelve, when the people who built the agent move on and nobody is left running it.

The seven-stage SkySync Agent Lifecycle

Salesforce describes a five-stage lifecycle (ideate and plan, build, test, deploy, observe) and, in its developer guide, adds a sixth stage for extending into the wider ecosystem. We agree with the shape. In our delivery work we add one stage at each end, because those are where ROI is won or lost.

1. Plan and baseline

Pick one workflow. Write down the job, the data the agent must read, what it may do alone, what needs a human, and where people will reach it. Then measure the business metric it should move, today, in your system of record. If the team cannot agree on the baseline number, the project is not ready to build.

2. Build

Admins shape topics and actions in Agentforce Builder and Flow. Developers own Apex, Lightning Web Components and integrations. Coding agents such as Agentforce Vibes, Claude Code or Cursor turn a reviewed spec into metadata and tests, ideally through the Salesforce DX MCP server so they work from accurate org context. Agent Script holds the parts that must be deterministic. Everyone works in scratch orgs or sandboxes, and everything goes through source control.

3. Test

Unit tests still matter for actions and code. But the agent itself needs evaluations: hundreds of real and adversarial utterances, each with an expected topic, action and outcome, run in Agentforce Testing Center and scored on every release. Write the release bar before you test, and shrink scope rather than lower the bar.

4. Deploy

Treat an agent version as the whole bundle: instructions, topics, actions, templates, model setting and data scope. Deploy it from source with the Salesforce CLI, DevOps Center or your own CI/CD, roll it out in rings from internal users to full traffic, and make sure someone can switch it off in five minutes.

5. Observe

Watch four things together: quality (routing, resolution, escalations), outcome (the metric from stage 1), cost (consumption per conversation and per action) and risk (sensitive data access, unusual API use). Agentforce Observability, Shield Event Monitoring and Digital Wallet cover most of it.

6. Extend

Connect the agent to the rest of the stack through governed MCP servers and APIs: Slack, Tableau, MuleSoft, your warehouse through Data 360, and outside AI assistants that need to reach Salesforce. Start new connections read-only, and add each tool to the cost view before scaling it.

7. Care and prove the return

This is the stage most programmes leave out. Every production agent gets a named owner, a weekly review of sampled conversations and failures, a change log, and a monthly scorecard of value against cost compared with the stage 1 baseline. Findings feed straight back into planning. We call this Agent Care, and it is the difference between an agent that compounds and one that rots in place while still answering customers.

Governance is the spine, not the last gate

Governance belongs in every stage: the Einstein Trust Layer masking data and screening outputs, Data 360 policies controlling what the agent can see, MuleSoft securing agent-to-agent and MCP traffic, and least-privilege agent users with a consumption budget. Done early, it speeds teams up, because nobody has to retrofit controls the week before launch.

Get the full field guide

We have turned this into a 15-page field guide, The Agent Lifecycle on Salesforce, with "done when" checklists for each stage, the tools that fit each one, a headless reference architecture, a 20-line readiness scorecard and a 90-day plan.

Download the free guide