Platform guide

Intent classification for AI agents, explained.

A customer says they want to stop their service. They might mean cancel it, pause it while they travel, or end one line on a family plan. Each is different work, with its own rules, its own systems and its own point at which a person should decide. An AI agent that acts before it knows which one it was asked for is guessing with the customer’s account.

cvlSoft10 min read

What intent classification is.

Intent classification sorts a request by what the person wants done. The idea is older than AI. A phone menu asks callers to press 2 for billing, a web form asks them to pick a topic, and a support team sorts its inbox into queues. Each is a way of deciding what kind of work has arrived before anyone starts on it.

Language models made the sorting far better at reading. A customer no longer has to find the right button. They can say what happened in their own words, mention three things at once or describe a problem without knowing what it is called, and a well-built classifier still works out what they need.

What changes with an AI agent is what follows the decision. A phone menu only chooses a queue, and a person picks the work up from there. An agent picks up the work itself. The classification becomes the decision about what the agent will do next, and about what it is allowed to do.

Why it comes before anything else.

Everything an agent does follows from its first reading of the request. If that reading is wrong, everything after it is the right procedure applied to the wrong case. The agent can follow every rule, call every system correctly and still change something the customer never asked to change.

The risk grows when a request passes through several agents. Take a customer who asks to suspend a wireless line. If one agent reads the request, another turns it into account changes and a third chooses the billing action, each can shift what “suspend” means, the date it takes effect or the line it applies to. Are we standardizing the wrong abstraction? walks through why each extra reading adds risk without adding value.

AIOS reads the request in one core and keeps the objective there for the rest of the run. Understanding what is asked is the first of the five steps every run follows, and the other four depend on it.

What the decision should settle.

A label such as “billing” is not enough to act on. Before anything runs, the classification should answer five questions, because each one changes what the agent is allowed to do.

  • Which part of the business it belongs to. A late payment and a disputed charge both mention a bill, but they belong to different teams with different procedures.
  • Which rules apply. Refund limits, what may be said before someone’s identity is confirmed, and the steps the law or your policy requires.
  • Which tools it may use. The systems this kind of work touches, and only those. A question about a bill needs to read the billing system. It does not need to change the address on the account.
  • What knowledge is relevant. The procedure for this kind of request, the product rules behind it and the customer’s own history.
  • How far it may go alone. The point at which the work waits for an expert’s sign-off, such as a refund over a set amount or a change that cannot be taken back.

That is the principle AIOS is built on: understand the work before doing it. Before anything runs, AIOS decides what kind of work it is, which part of the business it belongs to, which rules apply, which tools are allowed, what knowledge is relevant and how much it may do before an expert signs off.

Here is how those answers differ for three requests that could reach the same agent on the same afternoon.

Why did my bill go up?Move my visit to Thursday.Cancel my service.
Belongs toBillingSchedulingAccounts
Rules that applyWhat may be shown before the caller is confirmedBooking windows and notice periodsContract terms, and the offers the team may make
Systems it may useReads the bill and the planReads and changes the calendarReads the account
Knowledge it needsHow each charge is calculatedWho can do which visits, and whereWhat this customer was promised
Waits for an expert’s sign-offA credit over the limitNothing, inside the rulesThe cancellation itself

A billing question and a scheduling change can share one core without sharing permissions. The run that explains the bill never holds the right to rebook, and the run that rebooks sees no more of the account than the visit needs. Choosing that knowledge and those tools for each job is the subject of context engineering for AI agents.

Build the categories from the work, not the words.

Many classification projects start from phrasings: long lists of things a customer might say, grouped under names. That produces a classifier that reads language well and sorts it into categories nobody actually works. A better starting point is the work your team already does.

  1. 1

    Sort a few weeks of real requests.

    Take calls, emails and chats as they arrived, and sort them by what the team did about each one, not by the words the customer used.

  2. 2

    Make each category a piece of work.

    A category earns its place when it leads to a different procedure, different rules or a different person. Two phrasings that lead to the same work are one category.

  3. 3

    Name the requests you will not handle.

    Complaints, legal threats and anything outside your rules should be categories too, each with its own path to a person.

  4. 4

    Give every category an owner.

    Someone who decides what the procedure is and approves changes to it.

  5. 5

    Keep a category for not knowing.

    An agent forced to choose from a fixed list will always choose something. A clear way to say that a request is unclear is safer than a forced guess.

In many businesses most requests are about a handful of things. Telecom customer care is a clear case: a bill that went up, a plan that no longer fits, a phone due for an upgrade and a network that is down, each with a right answer in the billing and network systems.

In AIOS each kind of work ends in an approved workflow, with its goal, its steps, its checks and the points where an expert signs off, which your team reads and approves before it runs. The core chooses the workflow, and Executor runs it. What is an agentic workflow? covers what a workflow holds.

When a request is unclear, or is really two.

Real requests are messy. People describe symptoms instead of problems, change their minds halfway through and put two unrelated things in one message. A classifier that handles only clean requests will fail on the cases that matter most.

  • Ask one question that separates the readings. If “stop my service” could mean cancel or pause, ask which. A good question names the options in the customer’s own terms, so one answer settles it.
  • Let the stakes decide how sure it must be. Explaining a charge on the wrong reading costs a sentence of correction. Cancelling on the wrong reading can cost the customer. The higher the cost of a mistake, the more the agent should confirm before it acts.
  • Split a message that holds two requests. “Change my address, and why was I charged twice?” is two pieces of work. Each should run under its own rules, and the second should never borrow the first one’s permissions.
  • Read it again when the request changes. A caller who starts by asking about a bill and ends by asking to cancel has made a new request. The agent should classify it again instead of carrying on under the first decision.
  • Confirm who is asking before it matters. What may be said before someone’s identity is confirmed is itself a rule. The agent can often work out what kind of request it has first, then confirm the person before it says anything about the account.

That last rule should not change from one channel to the next. In AIOS, what may be disclosed before a customer is confirmed, and which changes need more than that, is a policy your team writes once, and it applies on the phone, by text and in chat alike.

Why voice is the hardest test.

On a call, the request has to be understood, looked up, acted on and confirmed while the person waits. There is no menu to show and no time to think quietly. A pause that would go unnoticed in a chat sounds like a dropped line on the phone.

Voice also makes the reading harder. Callers interrupt, correct themselves mid-sentence and speak over poor lines. They say “the thing from last week” and expect to be understood. On a call, classification has to happen at the pace of a conversation, and it has to be revised as the caller keeps talking.

That is why voice is where a platform shows whether it can run at the speed of a conversation, and hand off cleanly when it should not continue. In AIOS, the communicator answers your number and places calls itself, from the same approved workflow that runs on text, chat and email, with the same knowledge, rules and record.

Test it the way callers behave. Proof tests voice workflows with simulated callers, each with a goal and a voice, who may cut in mid-sentence and call over a clean, typical or poor line. Every call is scored.

When it should not continue.

Classification also decides when the agent should stop. Some requests should reach a person whatever the agent could do with them.

  • Outside the rules. A request no workflow covers, or one that asks for an exception to a policy.
  • High stakes. Changes that cannot be taken back or that carry fraud risk, such as moving a number to another carrier, can wait for an expert’s sign-off.
  • About the person, not the request. A complaint, a customer who sounds distressed, or one who simply asks for a person.
  • Still unclear. A request the agent cannot place after a question or two.

Where those lines fall is your team’s decision, made once and applied on every channel. The handover matters as much as the decision to make it, and in AIOS the conversation reaches your team with the whole story already in hand. AI chatbot vs AI agent covers what a good handover looks like, and What an approval gate should cover covers where a sign-off belongs.

How to tell whether it is working.

A high score on a list of sample phrases says little about how a classifier does on your real requests. Look at what happened after each decision.

  • Wrong work started. Runs that followed the wrong procedure, found by reviewing a sample of runs each week.
  • Questions nobody needed. A customer asked to clarify something they had already said clearly.
  • Requests passed back and forth. Work that started under one category and had to move to another.
  • Handovers for unclear requests. How many reached a person only because the agent could not place them, and what they turned out to be.
  • Actions before confirmation. Anything said or done about an account before the person was confirmed.

Each of these needs a record of what the agent decided. Every AIOS run keeps its goal, a plain-language account of what happened, each step’s result and every system call, so a wrong reading can be found and its cause fixed.

Before anything goes live, the test cases should include the ambiguous phrasings, the two-part requests and the requests the agent must turn down. How to evaluate an AI agent before it goes live covers how to build those cases.

Questions.

What is intent classification?

The step where an AI agent works out what kind of work a request is before it does anything. For an agent that acts, it also settles which rules apply, which tools it may use, what knowledge is relevant and how far it may go before an expert signs off.

Is intent classification the same as a phone menu?

It does the same job: sorting a request by what the person wants. A menu makes the caller do the sorting by pressing a button. Intent classification lets them say it in their own words, and for an AI agent it also decides what the agent may do next.

What does an AI agent do when it is not sure what a customer wants?

It should ask one question that separates the possible readings, or bring in a person. The higher the cost of a wrong reading, the more it should confirm before it acts.

Can one message hold more than one request?

Yes, and a good agent splits it. Each request runs under its own rules and tools, so the second one never borrows the permissions of the first.

Does each channel need its own classification?

Not in AIOS. One communicator holds the instructions, knowledge and workflows for every channel, so the same rules apply on the phone, by text, in chat and by email.

Why is voice harder than chat?

On a call the work has to be understood, looked up, acted on and confirmed while the person waits, and callers interrupt and correct themselves as they go. AIOS tests voice workflows with simulated callers who cut in and call over poor lines before a real customer calls.

You pay for results. Not for software.

AIOS learns your processes and carries out the work across your existing systems—from customer follow-ups to invoice collection. Your team handles approvals and exceptions.

More guides