Back to Blog
TIA™July 22, 20266 min read

Salesforce Cut the Wait in Compound AI So Workers Stay

A 50% cut at the ninety-fifth percentile of latency is not a nicer chart. For a multi-step AI tool, it can be the line between a worker staying with the tool and taking the work back.

That is the practical answer hiding inside Salesforce’s production study on compound AI systems. Salesforce, the customer software company, did not make agents feel trustworthy by making the idea bigger. It made the work smaller, cleaner, and more owned at every handoff.

Enterprise AI has moved past the simple question-and-answer shape. A worker no longer asks one model for one response. One request may now split into several jobs: retrieve knowledge, classify intent, choose a tool, run a model, check the result, take an action, and turn the pieces back into something useful. The study describes these as compound AI systems: multiple models, retrievers, and tools working together to complete a task.

That shift changes where trust lives.

In a chat box, trust often feels tied to the answer. Was it right? Was it useful? Did it miss something obvious? In a compound system, the answer is only the last visible artifact. The worker is really trusting a pipeline. If one hidden step stalls, the whole tool feels slow. If one dependency wakes up cold, every later step waits. If three model calls happen where one used to happen, the delay compounds before the value arrives.

This is why isolated model quality is not enough. A brilliant model trapped in a loose workflow can still fail the person using it. The intelligence may be real, but the experience feels unreliable because the system cannot return inside the rhythm of work.

Salesforce put that problem into production. Its study covers a modular inference architecture built to support compound AI use cases, including autonomous business agents and AI-powered code analysis. These were not lab toys. They had to handle concurrent, different kinds of calls while staying fast enough for workers who were trying to move through real tasks.

A single agent interaction could call an embedding model for retrieval, a large language model for dialogue, and specialized models for intent classification. The exact mix could change by request. Some work could run in parallel. Some work depended on earlier output. Some steps had stricter latency needs than others.

That is the pressure demos often hide. A demo can wait. Work cannot.

The weak point was static deployment. Fixed infrastructure was expensive when traffic was quiet and clumsy when traffic spiked. Different model types competed for the same resources. One component could need more capacity while another sat idle. Worse, cold starts could cascade. If one model instance had to wake up before answering, everything downstream inherited the delay.

This is the true enemy of agentic work: not one slow call, but delay that multiplies across the workflow. The user does not experience “component-level cold-start propagation.” The user experiences a blank pause at the exact moment the tool was supposed to help.

Salesforce’s answer was to stop treating inference like one big deployment. The architecture separated orchestration, routing, pre-processing, post-processing, and model serving. The reasoning layer broke work into a graph of functions, such as retrieval, planning, and action execution. Those functions could run concurrently through an asynchronous pattern. Below that, a prediction service acted as a gateway, routing requests to the right model backend without tying the whole system to one hosting setup.

The principle is simple: put fire in the fireplace.

Inference is powerful because it is not fully deterministic. That is also why it must be boxed. A model call should have a known job, a known input, a bounded output, and a place in a loop that knows what to do if the result fails. Salesforce’s architecture points in that direction at enterprise scale. Each part does a contained piece of work. The system composes the pieces.

That containment matters more as ambition rises. The bigger the agent’s task, the less acceptable it is for the workflow to become vague. The system earns room to do complex work by making each handoff smaller and more observable.

Then Salesforce attacked the tail.

Average speed is a comfort metric. Workers feel the edge cases. They feel the request that hangs while the customer waits. They feel the second refresh. They feel the moment confidence starts to leak.

The study’s system used dynamic autoscaling so capacity could respond to changing load. It used serverless execution where light processing could scale down when unused. It kept provisioned capacity for models with strict latency needs. It also used routing and deployment patterns that let components scale separately instead of forcing every part of the agent through the same resource pool.

The point was not speed everywhere in the abstract. It was speed where compound systems break: bursts, cold starts, uneven demand, and hidden dependencies. A workflow with five moving parts does not need five chances to disappoint the worker. It needs the system to own the delays before they become visible.

The reported results were large: more than 50% lower ninety-fifth-percentile latency, up to 3.9 times better throughput, and 30 to 40% cost savings compared with prior static deployments. Faster, cheaper, and more believable arrived together because they came from the same source: the architecture stopped wasting effort on monolithic readiness and started matching capacity to bounded work.

There is a lesson here that reaches beyond Salesforce and beyond cloud infrastructure. Most failed automation does not fail because the ambition was too high. It fails because the ambition was not disciplined into parts the system could actually steward. More context gets added. More authority gets granted. More tools get connected. The agent becomes broader, but not more trustworthy.

Trust grows when the system narrows each moment of execution enough that it can be observed, routed, retried, warmed, scaled, or stopped.

Picture the worker staring at a pending AI action while the customer waits on the other side of the screen. Or the manager watching the meeting clock run while a summary is still generating. Or the analyst whose next decision depends on an output that has not arrived. The model’s intelligence is invisible in that moment. What the human feels is whether the tool returns before confidence expires.

Salesforce made multi-step AI tools fast enough to trust by treating speed as stewardship of attention. Compound AI earns belief when its ambition is broken into bounded parts, its delays are owned, and its power arrives before the human has to reclaim the work.

Sources

Jon Mayo

Written by

Jon Mayo

Liked “Salesforce Cut the Wait in Compound AI So Workers Stay”?

Get notified when new TIA™ articles are ready.

Subscribed to: