Skip to content

Request classifiers

Request classifiers label the messages your agents receive: the language, the sentiment, the intent, how urgent it is, and whether it tries to manipulate the agent or run something destructive. Labels show up on every message in Conversations. The guardrail classifiers also add up a risk score per person, so an admin hears about the person who keeps trying, not about every single message, and can block them.

Without them, Classifiers isn’t in the menu and the page says Not included in this workspace’s plan.

  • Classification never delays a reply. A message is answered as usual and classified right after it’s stored. Labels appear on the message shortly after.
  • Classifiers don’t stop individual messages. They label, add to a person’s risk score, and raise alerts. Turning someone away happens per person: when an admin blocks them, or automatically if you turn that on.
  • Nothing happens until you turn it on. Every classifier starts Off, and the workspace starts in shadow mode: messages are classified and scored, but nobody is alerted or restricted.
  • Classifications are a model’s judgment, and can be wrong. Use shadow mode to see what they’d do with your own traffic before relying on them.

Classification doesn’t use your model provider keys and isn’t counted in your budgets.

Open Monitor > Classifiers. Seeing it requires classifiers.view; turning classifiers on, editing them, changing the settings and blocking people requires classifiers.manage. The workspace admin role has both.

At the top of the page:

Card What it shows
Model Whether the classification model is Reachable, Unreachable or Model not loaded. When it’s down, messages wait in the queue and are classified when it’s back.
Queue Messages waiting (pending), being classified (running) and those that couldn’t be classified (failed)
Shadow mode Shown while shadow mode is on
Last 7 days Classified messages, Messages that would have alerted, People who would have been restricted, and People by risk band

Below are People at risk, the Workspace settings card, and the classifiers, grouped as Guardrails, Business and Your classifiers.

Every workspace gets these classifiers, all Off until you turn them on:

Classifier Group Labels Watches by default
Prompt injection Guardrails benign, injection Web chat, Google Chat, Telegram, Slack, A2A
SQL risk Guardrails read_only, scoped_write, destructive, injection OpenCode, console
Shell risk Guardrails read_only, mutating, destructive OpenCode, console
Language Business es, en, pt, other All channels
Sentiment Business positive, neutral, negative All channels
Generic intent Business question, request_action, complaint, purchase_intent, greeting, other All channels
Urgency Business low, normal, high All channels
Off topic Business on_topic, off_topic All channels

Off topic judges a message against the agent’s own description, so it skips agents without one. SQL risk and Shell risk watch the technical channels because the agents there hold a database or a shell; a developer running DROP TABLE on purpose is the reason their risk stops at Alert (see below). On a customer channel they would read ordinary sentences about “deleting” something as dangerous. You can change the channels of any classifier.

Turn a classifier on or off with its On / Off button. Each classifier shows how many messages got each label in the last 7 days.

Each one runs on what people write. Guardrails mark some labels as dangerous (shown in red); those add risk. Business classifiers add no risk; they label, and two combinations raise an alert:

Rule Alert severity
A complaint (complaint) marked as high urgency (high) Warning
Three negative messages in a row in the same conversation Info

Both need the classifier to be at least 90% sure, and both need Generic intent and Urgency, or Sentiment, turned on.

For each guardrail, a message gets a probability of being dangerous (P(danger)). What happens next depends on two thresholds you can set per classifier:

P(danger) What happens
Below the Floor (default 30%) Nothing
From the Floor up to Alert at (default 97%) The message adds to the person’s risk score
At or above Alert at The message also raises an alert on its own

What a message adds is the classifier’s Weight times the probability. By default:

Classifier Weight Can push someone up to
Prompt injection 35 Restricted
SQL risk 20 Alert
Shell risk 20 Alert

With these defaults, three clear injection attempts within an hour take a person to Restricted, while a developer running destructive commands all afternoon stays at Alert: you’re told, and nobody is turned away for doing their job.

Only what people write adds risk. A classifier that watches the agent’s replies can raise alerts, but it never adds to the score of the person in the conversation.

The score runs from 0 to 100 and halves every 24 hours, so an isolated incident fades by itself. It places each person in a band:

Band Score What happens
Normal Below 25 Nothing
Watch 25 or more Listed in People at risk. No alert.
Alert 60 or more A warning alert
Restricted 85 or more A critical alert, and the person is turned away if Restrict automatically is on

Someone in Restricted leaves it when their score drops below 60, not 85, so they don’t bounce between bands. A person is alerted about once per band per day. Every value here can be changed in the settings.

People at risk lists everyone above Normal and everyone blocked:

Column What it shows
Person A recognizable name when the channel provides one (a Google Chat profile name, a Telegram username, a VirtuAI user), the identifier, and the channel
Why The labels that added risk, with how many times, such as prompt_injection:injection ×3
Flagged messages How many of their messages were flagged
Last flagged When the last one was
Score and Band The score as of now, with the 24-hour decay applied

A risk score belongs to one identity on one channel. The same person writing on Telegram and on web chat appears twice.

Select a row to open the person. What added risk lists each flagged message and Conversations lists their conversations, each with Open to see it in Conversations. Only labels and numbers are shown here; to read the messages, open the conversation.

Some identities are confirmed by the platform they come from; others are whatever the client sent:

Verified not verified
A signed-in VirtuAI user on web chat, the console or OpenCode; a Telegram, Slack or Google Chat account; the signed-in user of an A2A client An anonymous web chat visitor; an A2A caller without a signed-in user

Unverified identities are marked not verified. Anyone could send that identifier, so they’re never restricted automatically: you get the alert, and you decide.

  1. In People at risk, select the person.
  2. Optionally, write Why (optional, for your team).
  3. Select Block.

From then on, that identity gets the workspace’s restriction message on that channel instead of an answer, and the agent is never called. It lasts until someone selects Unblock.

Reset score sets the score back to zero. It doesn’t unblock: blocking and the score are separate decisions.

A block applies on web chat, Google Chat, Telegram, Slack, A2A, OpenCode and the console. Blocking an unverified identity only stops that identifier; the visitor can come back with another.

The Workspace settings card on the Classifiers page holds the switches for the whole workspace:

Setting Default What it does
Shadow mode On Classify and score without alerting or restricting anyone. Turn it off once the numbers on the page look right; alerts start then.
Restrict automatically Off Turn away people who reach Restricted without waiting for an admin. Only verified identities.
Risk half-life (hours) 24 How fast a score fades, from 1 to 720 hours
Bands: watch / alert / restricted 25 / 60 / 85 Where each band starts. They must rise, up to 100.
Leave restricted below 60 The score at which someone leaves Restricted. Between the alert and restricted thresholds.
Message a blocked person gets “I can’t continue with this conversation. If you think this is a mistake, contact the team responsible for this service.” Up to 500 characters

Select Save settings. The Settings reference lists the keys behind them.

Select Edit on a classifier. On the built-in ones you can change what applies to your workspace:

  • On, and Alerts: whether a message at or above Alert at raises an alert.
  • Classify: What people write, What the agent replies or Both.
  • Channels: which channels it watches. With none selected, it watches All channels.
  • Weight, Floor, Alert at and Can push someone up to.

The wording and labels of a built-in classifier are updated with the platform. To change them, select Duplicate: the copy is yours to edit, and it starts Off.

Under each guardrail, Thresholds measured with names the model its default thresholds were measured against. Your own classifiers show Thresholds not measured.

  1. Select New classifier.
  2. Give it a Name and a Task: what the model should decide, in one or two sentences.
  3. Add between 2 and 24 Labels. For each, a name in lowercase (letters, digits and _), What it means, and up to 5 Examples, one per line. Tick Adds risk on the labels that should count toward a person’s risk score.
  4. Choose what to Classify, the Channels, and the risk values.
  5. Select Save.

Clear descriptions matter more than many examples: the model decides from what you write here, with no training step.

Try it classifies a sample message without saving anything. Write a message and select Classify to see the label, its probability and P(danger). For Off topic, fill in Agent purpose.

Delete removes one of your classifiers and its results. Built-in classifiers can’t be deleted; turn them off instead.

When classifiers are on, each message in a conversation shows a chip per classifier, such as sentiment:negative. The color follows what the result did: red when it raised an alert (Would alert in shadow mode), amber when it added risk, and neutral otherwise. Hover over a chip to see the probability.

Filter the conversation list with the classification filter: Any classification, Flagged by a guardrail, or a specific Classifier: label. The filter also applies to Export CSV. Using it requires classifiers.view. See Conversations.

Classification results and alerts are kept for the same window as conversations, conversations.retention_days. A person’s risk score is forgotten once it has faded below 1 and they’ve had no activity within that window, unless they’re blocked.

If classifiers are removed from your workspace’s plan, nothing is deleted, but nothing is classified either, and blocks stop applying. When they’re added back, your classifiers, results, scores and blocks are as you left them.

The same operations are available under /api/classifiers, with the permissions of the page. Requests are scoped to the current workspace, and a workspace without the feature gets 403 with feature_not_in_plan.

Request What it does Permission
GET /api/classifiers List the workspace’s classifiers classifiers.view
POST /api/classifiers Create a classifier classifiers.manage
GET, PUT, DELETE /api/classifiers/{id} Read, change or delete one. Built-in ones can’t be deleted. classifiers.view to read, classifiers.manage to change
POST /api/classifiers/{id}/duplicate Copy a classifier classifiers.manage
POST /api/classifiers/{id}/test Classify a sample text with a saved classifier classifiers.manage
GET /api/classifiers/summary?days=7 Label counts, messages that would have alerted, and people by band, over 1 to 90 days classifiers.view
GET /api/classifiers/results?conversation_key=... The labels of every message in a conversation classifiers.view
GET, PUT /api/classifiers/settings The workspace settings classifiers.view to read, classifiers.manage to change
GET /api/classifiers/actors, GET /api/classifiers/actors/{id} People at risk, and one person’s detail classifiers.view
POST /api/classifiers/actors/{id}/lock, /unlock, /reset Block, unblock, or reset a person’s score classifiers.manage
Permission Allows
classifiers.view Opening Classifiers, the labels in Conversations and the classification filter
classifiers.manage Turning classifiers on and off, editing and creating them, changing the workspace settings, and blocking, unblocking and resetting people

See the Permissions reference.