All articles

Agentforce

Agentforce model defaults are changing: the October reroute and how to pin

On October 15 new agents started picking their own default model, and on October 20 Gemini 2.5 requests get rerouted to newer models. Your agent's behaviour is now a moving target. What changes, and how to pin a model so a quiet swap doesn't rewrite your answers.

Two changes a few days apart move the ground your Agentforce agent stands on. On October 15, 2026, new agents created in Agentforce Builder started defaulting to a model Salesforce picks for them rather than a fixed one. On October 20, requests to the Gemini 2.5 models get rerouted to newer Gemini versions. Neither needs a click from you, and both can change what your agent says.

If you run agents in production, the decision in front of you is narrow: pin an explicit model on the paths you cannot afford to have move, and leave the rest on the managed default on purpose. The rest of this post is why, and the exact syntax to do it.

Think of this as the companion to choosing a model in the first place. That post answers which engine to pick. This one starts after you pick it, when the engine changes on its own and the agent you already shipped moves with it.

What changed in October

Take the two changes one at a time, because they hit different agents.

The first is the new default. Salesforce’s release notes state that starting October 15, 2026, new agents created in Agentforce Builder default to an optimal model selected for them. The word to sit with is selected. You are no longer getting one named model as the starting point. You are getting Salesforce’s current pick, which can differ from the pick a teammate got last month and can move again later.

This touches new agents at creation. It does not reach into an agent where you already set an explicit model, and it does not retroactively rewrite an older agent. So the exposure is narrowest for teams who pin, and widest for teams who spin up agents fast and never open the model setting.

The second change reaches agents already in production. Requests to Gemini 2.5 Pro, 2.5 Flash, and 2.5 Flash-Lite are rerouted to newer Gemini models on October 20, 2026. Google’s own model lifecycle page lists the 2.5 family’s retirement on the same date, so this is a provider deprecation Salesforce is passing through, not a Salesforce preference.

If a subagent of yours runs on Gemini 2.5 today, it runs on a different model next week. Salesforce’s guidance is to test your prompts before the reroute, because the responses can change.

One more detail that catches people: Google Gemini is only offered for agents built in the new Agentforce Builder. The supported-models guidance warns against selecting Gemini if you have active agents created in the legacy builder. If you are mid-migration, that constraint decides the order you do things in.

Why a model you did not change is still a change

The instinct is to treat the model as infrastructure: set it once, forget it, it is Salesforce’s problem. That instinct is right for a lot of agents and wrong for the ones that matter most.

A model is not a neutral runtime. The model reads your instructions, decides which subagent and action to fire, and writes the words a customer reads. Swap it and all three can shift.

The Atlas reasoning engine plans on whatever model you gave it, so a new model can pick a different action on the same utterance. A prompt tuned to one model’s quirks can read differently on another. And the tone, length, and confidence of the final answer are model-specific in ways your customers feel before your dashboards catch up.

The sharpest version of the problem: an agent that passed your evals last month can be running a different model this month, with nobody on your team having touched it. None of that is hypothetical with a managed default whose whole job is to change under you. Drift is the normal operating condition.

So the question is not “is the new model better.” The question is “did my agent’s behaviour just move, and did I notice.” Those are different questions, and only the second is in your control.

The Salesforce Default is a real answer, not a cop-out

Before the pinning argument, the case for doing nothing. For a large share of agents, leaving the Salesforce Default in place is the correct call. The default is a managed mix of trusted models (the official page currently names GPT-4o among them) that Salesforce selects and tunes, and it supports the full library of standard actions.

If you do nothing, you are outsourcing the “keep it current” problem to the vendor whose actions you are calling. For a low-stakes internal lookup agent, that is a feature, not a risk.

The distinction that matters is blast radius. A subagent that classifies a case or reads an order status can ride the default and absorb a quiet swap with no one the wiser. A subagent that decides a refund, writes a regulated disclosure, or drafts outbound email to a prospect cannot.

The first kind benefits from the default moving with the state of the art. The second needs the model held still so your tests mean something.

Pin the paths where a surprise is expensive. Float the rest. The whole skill is knowing which subagent is which before the reroute, not after.

How to pin a model, in code

You pin a model with a model_config block, and the cleanest place to express it is Agent Script, where the choice gets reviewed, versioned, and deployed like the rest of your metadata instead of clicked into a canvas that nobody can diff later.

The override has a precedence order worth memorising: a subagent-level model beats an agent-level model, which beats the org default. So you can set a safe default for the whole agent and override only the subagents that need a different engine.

subagent refundDecision
  model_config:
    model: "model://sfdc_ai__DefaultGPT41"
  // ... instructions, actions

The identifiers follow a model:// prefix and a model API name. The three Salesforce documents as tested for overrides are GPT 4.1 (sfdc_ai__DefaultGPT41), Claude Haiku 4.5 (sfdc_ai__DefaultBedrockAnthropicClaude45Haiku), and Gemini 3.5 Flash (sfdc_ai__DefaultVertexAIGemini35Flash). Confirm the exact names and the current block indentation against the Agent Script model reference before you deploy, because the API names refresh as models do and a typo here fails without warning rather than loudly.

Pinning does not opt you out of provider deprecations. If you pin Gemini 2.5, the October 20 reroute still moves you to a newer Gemini. Pinning buys you a stable choice until the provider retires it, not immortality. The upside is that a deprecation is a dated, announced event you can test against, where a managed-default swap is not.

The test loop is the actual deliverable

Pinning without testing is half a plan. The point of holding a model still is that your evals stay meaningful, so you need evals.

Build a batch of your hardest real utterances and a set of full-conversation simulations, and run them whenever the model moves or might. Our walkthrough of testing agents in CI/CD covers wiring AiEvaluationDefinition and the CLI into a pipeline, so this is a build step rather than a quarterly fire drill. Two moments make the loop pay off: before you adopt a newer pinned model, and before a provider reroute like October 20 lands.

What you are looking for is not a pass/fail grade. You are looking for a diff: whether the new model picked a different action on the same input, or got chattier, or started answering a question it used to escalate. A custom scorer that encodes your own definition of a good resolution catches the drift that a generic accuracy number hides, because the failure is usually not “wrong” but “subtly different in a way your brand cares about.”

Watch the standard-action paths with particular suspicion. Those are validated against the default provider, and a model swap is exactly where a standard action starts behaving differently or stops being supported. If your agent’s real work lives in custom actions and prompt templates, you have more room, because that logic is model-portable and does not ride on standard-action behaviour.

Cost moves when the model moves

A quieter consequence: the model is a cost lever, and a swap moves your bill. Every run bills Flex Credits, and a stronger default model on a high-volume subagent multiplies straight into the invoice without a line item that says “we changed your model.” If your October credit burn jumps and nothing in your config changed, the new default is the first place to look, not the last.

The same logic makes per-subagent pinning worth the effort. Put a fast, cheap model on the trivial high-volume paths and a stronger one on the rare hard paths, and you control both the behaviour and the spend instead of letting a managed default decide both for you.

What I would do this week

Three moves, in order. First, list every production agent and note which subagents carry real consequence (money, compliance, outbound to a human) and which do not. Second, pin an explicit model on the consequential ones in Agent Script and leave the rest on the default deliberately, as a decision you can point to rather than a setting nobody chose. Third, run your eval batch now, before October 20, so you have a baseline to diff against when the Gemini reroute and the new defaults have fully landed.

The platform turning Agentforce on by default was the first sign that the defaults are no longer yours to assume. The model defaults are the second. The fix is the same in both cases: decide on purpose, write the decision down where it deploys, and test that it still holds.

Understanding the basics

Is Salesforce changing my existing Agentforce agent’s model automatically?

The October 15, 2026 change applies to the default assigned to new agents created in Agentforce Builder, not to an agent where you already set an explicit model. The October 20, 2026 Gemini reroute is different: it moves any agent currently running Gemini 2.5 onto a newer Gemini model, including agents already in production. Pinning an explicit model protects you from the first but not from a provider retiring the model you pinned.

How do I stop my Agentforce agent’s model from changing?

Set an explicit model with a model_config block rather than relying on the Salesforce Default. Expressing it in Agent Script lets you version and review the choice. A subagent-level model takes precedence over an agent-level one, which takes precedence over the org default, so you can pin only the subagents that need it. Pinning holds your choice until the provider deprecates that model.

What happens to Gemini 2.5 in Agentforce on October 20, 2026?

Requests to Gemini 2.5 Pro, Flash, and Flash-Lite are rerouted to newer Gemini models, matching Google’s own retirement of the 2.5 family on that date. Salesforce advises testing your prompts before the reroute because responses can change. Gemini is only supported for agents built in the new Agentforce Builder, not the legacy builder.

Should I just leave the Salesforce Default model on?

For low-stakes subagents, yes. The default is a managed mix of trusted models that Salesforce keeps current and that supports every standard action, so you offload the upkeep. For subagents that decide money, write regulated content, or send outbound messages, pin an explicit model so your tests stay meaningful and a quiet swap can’t rewrite consequential answers.


Pinning the paths that matter, floating the ones that don’t, and wiring an eval loop so a model change can’t surprise you is a normal part of how our Agentforce practice keeps agents both current and predictable. If a reroute is making your agents behave differently and you want it diagnosed against real transcripts, talk to us.

Keep reading

All articles