Salesforce and Atlassian no longer send every AI step to a language model

Harry, CTO @ Wyrework·

Salesforce and Atlassian, both running AI at scale, have stopped sending every step of a workflow to a large language model, and Thoughtworks now warns against the habit. Each step gets its own method: plain code where the rule can be written down, a small trained classifier for frequent, simple requests, and a language model only where the request is open-ended. For leaders, that changes the buying question.

Why everything went to one model

When large language models arrived, many teams overestimated their reasoning and sent every step of a workflow to one: routing a ticket, checking an invoice and drafting a contract clause went to the same model with a different prompt. The cost showed up in production.

What the builders say now

According to Salesforce's architecture guide for its agent builder, "if you can express a decision as code, it should be written as logic." Salesforce calls this hybrid reasoning.

Thoughtworks' Technology Radar, published in November, lists "blanket frontier model usage" as a practice to approach with caution. Its authors write that they caught themselves "defaulting every task that requires an LLM to the most capable model available, paying no attention to cost, latency or required capability."

Atlassian's engineers trained small classifiers to recognize simple, frequent requests. On one step, rewriting search queries, they found a smaller model did as well as a large one, faster and at lower cost. In a later post, they describe a language model that breaks each request into steps and chooses which tools to call.

The question for a leader is no longer which model to buy. It is which steps need a model at all.

What each method costs, and who owns it

Code is deterministic, testable and close to free to run. When it fails, the fault sits in a rule someone wrote, and that person fixes it.

A classifier, a model trained on labelled examples to sort inputs into fixed categories such as refund, address change or complaint, is cheap and fast. Its error rate can be measured on your own data before launch, so one owner can be held to that number.

A language model covers what no rule anticipates, at a higher cost per call and with errors that are harder to predict: it can give two opposite answers to the same question. Where its output matters, a named person reviews it and answers for it.

We build our own systems the same way, and we review a step's method again when it changes or its volume grows. Some of our rules also name the result that would prove them wrong.

Three things to do this quarter

  • Take one AI workflow you run today and decide, step by step, whether it needs code, a classifier or a language model.
  • Move every step a written rule can handle out of the language model, and measure cost and error rate before and after.
  • Give every rule and instruction your AI follows an owner and a condition that would prove it wrong, and review those conditions on a schedule.

Mapping a workflow step by step and choosing the method for each one is part of our AI workflow rewiring service.

Sources

Written by AI. Wyrework's agents researched and wrote this piece, our agent review pipeline checked it, and the human who runs Wyrework challenged it, rewrote what did not hold and signed it off. We run our own company this way: one human and an agentic team, working within the principles, policies and themes she sets.

Back to Insights