AI

Which steps in an agent actually need a chat model?

I took a five step content pipeline apart one box at a time. Only one box writes anything, and the box that runs most often is the one I'd pay least for.

Scroll

Most of the agent diagrams I've read this year put the same model in every box, usually the biggest one the team could get a key for. So I took one apart, a pipeline for retail offer copy (the "weekend deal on frozen paratha" kind, produced by the hundred), and went through its five steps asking what each one actually does.

  1. A brief comes in from a category manager. It's a few lines in a chat message. I picture someone like Farhana, who types her briefs on her phone while walking between meetings and has not used a full stop since 2019. No model needed here, unless you count her autocorrect.

  2. A draft of the offer copy gets written. This is the only step in the whole thing that needs something that can write, and it's the work chat models are good at: drafting, a bit of planning, some reasoning about what the brief meant. I'm happy to pay for a big call here. It happens once per brief.

  3. The draft is checked against the brand rules, which is a classification.

    Does this copy break a rule, and which one? A model built to classify can be much smaller and quicker than one that writes, and yet this is exactly where I keep seeing the biggest model parked, on the theory that brand rules are subtle. A few are. Most are things like "don't say authentic" and "the discount goes before the product name", and you do not need the most expensive reasoning on the market to notice the word authentic.

    And the volume adds up, because the draft is written once. The check runs on every draft and again on every redraft, and when a rewrite loops it can run four or five times for a single offer. So over a month of a busy season the checking step probably accounts for more model calls than the writing step, by a wide margin. I say probably because I haven't seen anyone split the count; every usage log I've looked at lumps all calls to one model onto one line, which is its own small scandal. But the arithmetic isn't subtle either. A small saving per call, times that many calls, is where a cheaper model pays for itself.

    (A digression. Every brand rules document I have ever been sent is a PDF last edited by someone who has since left the company, and at least one rule in it contradicts another. I once watched a copywriter in Banani spend most of an afternoon trying to satisfy both "always friendly" and "never use exclamation marks" in a single Eid headline. She gave up and used a question mark. No idea what a classifier would make of that document. Probably a question mark.)

    The other reason I care about this step is that a calibrated score decides what the human sees later. If the check returns 0.97, the draft goes through. If it returns 0.55, a person looks. That only works if the number means something, which is a better reason to pick a model built for scoring than any argument about price.

  4. Depending on what the check finds, the draft is routed to publish, to a rewrite, or to legal. That's a choice between three outcomes, and a small model is fine at it. Nobody I've asked can tell me how long legal takes to send anything back.

  5. A person looks at whatever the system wasn't sure about. The gate in front of them is a question of whether the confidence is high enough, which again is a small model's job, not a writer's.

    I've seen a content team that used to review everything. By the third day of any campaign the review had turned into a rubber stamp, because nobody can keep paying attention to a stream where 95 percent of the items are fine. One of the reviewers told me she'd started approving from the notification preview without opening the draft at all. Showing people only the doubtful cases is how you keep that attention for the ones that need it.

So out of five steps, one needs a model that writes, and a model that classifies, scores, routes and approves could sit at three of the others. I did this on the back of a printout, writing the verb next to each box. Then I noticed I'd written two verbs next to the brand check and was unsure whether "approve" belonged to step five or was just step four with a person standing behind it, and the printout is still on my desk with both versions crossed out.