Back to all posts

Developer & technical insights November 23, 2026 10 min read

Sentiment-Aware Agents (How Conversational AI Reads Frustration and Adjusts)

by Melek Messoussi AI Product Specialist at Myna

Nobody types I am frustrated. They just stop using punctuation.

TL;DR: Customers almost never announce that they’re frustrated. They show it by repeating themselves, writing shorter messages, dropping their punctuation or picking it up in capitals, and asking whether there’s anyone else they can talk to. Modern conversational AI can read those signals from the whole conversation, which older sentiment analysis mostly couldn’t. What matters is what the agent does next: dropping the jokes, getting shorter and plainer, fixing the problem instead of apologising for it, and knowing when to hand over to a person. This post looks at how agents read emotion, how they should respond, and where it goes wrong.

In 1980, the psychologist Robert Plutchik proposed that human emotions could be arranged like colours on a wheel. He identified eight primary emotions, arranged them in opposing pairs such as joy and sadness or trust and disgust, and showed how each one comes in degrees, so that annoyance intensifies into anger and anger into rage, with milder versions towards the edge of the wheel and more intense ones towards the centre.

Robert Plutchik's wheel of emotions, with eight primary emotions arranged in opposing pairs, each shading from mild at the edge to intense at the centre. Public domain.

The wheel turns out to be a useful picture of a customer conversation, mostly because of its gradients. Customers rarely jump straight to rage. They start with mild annoyance, and if the conversation keeps going badly, they move steadily inwards, through irritation to anger, until they either leave or ask, in capital letters, to speak to a human being. A good human agent notices the early part of that journey and changes course while there’s still time.

Sentiment-aware conversational AI tries to do the same. This post looks at how agents read frustration, what they should change when they notice it, and the surprisingly common ways that well-intentioned empathy goes wrong.

How machines used to read feelings

The field usually called sentiment analysis has been around for decades, and for most of that time it worked by counting. Early systems used lists of words tagged as positive or negative, so a message containing “great” and “thanks” scored well while one containing “terrible” and “angry” scored badly. In 2002, researchers at Cornell trained machine-learning models to classify movie reviews as positive or negative and found it considerably harder than classifying them by topic, partly because people express sentiment in such indirect ways.

The difficulty is easy to see in customer service. “Great, so I’ve now explained this three times” contains a positive word and is anything but positive. “Fine.” is technically neutral and usually isn’t. “Thanks so much for your help!!” can be sincere or furious depending on what came before it. Word lists can’t tell these apart, which is why sentiment scores attached to support tickets have historically been treated with a good deal of suspicion.

Large language models changed this considerably, because they read the whole conversation as a whole. A model can tell that “great” is sarcastic because of what came before it, notice that a customer’s replies have been getting shorter, and recognise that a second request for the same information means the first answer didn’t land. It’s far from perfect, but it’s a different kind of reading from counting words.

The signals customers actually send

Frustration in written conversation tends to show up in a fairly consistent set of signals, few of which involve the customer naming their feelings.

Signals of frustration in a conversation, such as repeated questions, shorter replies, capital letters, sarcasm, references to earlier failures and requests for a person, feeding into what the agent changes: tone, length, focus and whether to hand over

SignalWhat it usually means
The same question asked againThe first answer didn’t help, or wasn’t read
Replies getting shorterPatience is running out
Capital letters or repeated punctuationRising intensity, often anger
Sarcasm, such as “great, thanks a lot”The previous reply missed the point
References to earlier failures, such as “last time” or “again”The frustration predates this conversation
Mentions of time or effort, such as “I’ve been trying for an hour”The cost of the problem is growing
Asking for a person, in any formThe customer has lost confidence in the agent
Silence after a long explanationSometimes satisfaction, sometimes giving up

No single signal is conclusive. Some people write in capitals all the time, some are sarcastic as a matter of style, and short replies can simply mean someone is on their phone. What matters is the pattern over the conversation, and especially the change, since a customer whose messages are getting shorter and sharper is telling you something even if every individual message seems fine.

What a good agent changes

Noticing frustration is only useful if the agent does something different as a result, and the most effective changes are mostly subtractions.

The same customer message answered in two moods: a calm customer gets a friendly reply with a light touch, while a frustrated customer gets one short acknowledgement and a concrete next step, with no jokes or exclamation marks

Drop the humour and the flourishes: a joke that lands well with a relaxed customer reads as dismissive to an angry one. Well-designed personas switch off humour, slang and exclamation marks when a customer is upset, so the agent keeps its voice but loses the decoration.

Get shorter and plainer: a frustrated reader has less patience for long paragraphs, so the reply should lead with the answer or the next step and leave everything else out.

Fix the problem before apologising for it: one short acknowledgement is enough. What a frustrated customer wants most is evidence that something is happening, such as “I’ve moved your appointment to Thursday at 3” or “I’ve passed this to the manager, who’ll call you today”.

Stop selling: a customer who’s upset about a missed appointment shouldn’t be offered an upgrade in the same message, however persuasive the persona is set to be.

Don’t argue: if the customer is wrong about a policy, the agent can explain it once, clearly, but repeating it with increasing firmness rarely helps, and is usually the moment to bring in a person.

The empathy trap: “I completely understand how frustrating this must be for you, and I sincerely apologise for any inconvenience” is the most common empathy sentence in automated customer service, and one of the most disliked. Customers hear it as a script. A short “Sorry about that, let’s fix it” followed by the fix does more.

When to hand over

Some frustration is best handled by the agent, which is often faster than a person and never takes it personally. Some isn’t, and recognising the difference is the most valuable thing a sentiment-aware agent can do.

If the customer asks for a person, the same problem has failed more than once, the issue involves money, safety or a complaint, or frustration keeps rising, the agent hands over with the full conversation. Otherwise it adjusts and carries on

A good rule set hands the conversation to a person when the customer asks for one, in any wording, when the same problem has failed to get solved more than once, when the issue involves money, safety, a complaint or anything that needs someone with authority to make an exception, and when the frustration is rising instead of settling. When the handoff happens, the person taking over should see the whole conversation and a short summary, and the agent should go quiet, so the customer doesn’t receive an automated follow-up in the middle of a human apology.

The handoff itself deserves care. “I’m passing you to a member of the team” works much better than the agent quietly disappearing, and telling the customer when to expect a reply turns an open-ended wait into a manageable one.

Where sentiment awareness goes wrong

Reading emotion from text is genuinely hard, and sentiment-aware agents fail in a few predictable ways.

  • Overreacting: treating every short reply as anger and responding with apologies the customer didn’t need, which makes a calm conversation feel strangely tense.
  • Performing empathy: long, sympathetic paragraphs that delay the actual answer and read as scripted.
  • Missing cultural and personal style: some people are terse by nature, some write in capitals out of habit, and directness reads differently across cultures and languages.
  • Labelling customers: storing a customer as “angry” or “difficult” and carrying that label into future conversations, where it colours how they’re treated long after the problem was solved.
  • Optimising the score: if an agent is judged on sentiment scores, it can learn to make conversations feel pleasant without making them useful.

Most of these come from treating sentiment as a number to manage instead of a signal to respond to. The aim is to notice that the conversation isn’t working and change something, since making a customer feel better about a problem that’s still there helps nobody.

In Myna: an agent’s persona controls its humour, slang and enthusiasm, and slang is only used in light moments, never when the customer is upset. The Hand Off to Human tool passes the conversation to the team, a person can take over at any point, and the agent then stops completely, and corrections made while reviewing conversations are stored and reused before similar replies.

Reading the room

Plutchik’s wheel is a reminder that emotions come in degrees, and that the mild versions are much easier to deal with than the intense ones. Customers move inwards on that wheel one message at a time, and an agent that notices the movement early, gets quieter and plainer, fixes the problem and knows when to step aside can turn a great many potential complaints into ordinary, slightly brisk conversations that end with the problem solved.

That’s what a good person on a support team has always done. The difference now is that the agent answering at eleven at night can do some of it too, as long as someone has taught it that the right response to “WHERE IS MY BOOKING” is rarely an exclamation mark.

Frequently asked questions

What is a sentiment-aware AI agent?

A sentiment-aware agent notices how a customer is feeling from the way they write, such as frustration, confusion or urgency, and adjusts how it responds, for example by dropping humour, keeping replies shorter and plainer, addressing the problem directly, or handing the conversation to a person.

How does conversational AI detect frustration?

Modern language models read frustration from the whole conversation rather than individual words, picking up signals such as repeated questions, shorter replies, capital letters, sarcasm, references to earlier failures and explicit requests for a person. Older systems relied on lists of positive and negative words, which missed most of these.

When should an AI agent hand a frustrated customer to a human?

When the customer asks for a person, when the agent has failed to solve the same problem more than once, when the issue involves money, safety or a complaint that needs authority, or when the frustration is rising instead of settling. The handoff should carry the full conversation so the customer doesn't have to repeat themselves.

Can an AI agent be too empathetic?

Yes. Repeated apologies, long expressions of sympathy and phrases like 'I completely understand how frustrating that must be' tend to irritate customers who want their problem solved. Good empathy from an agent is usually one short acknowledgement followed by a concrete next step.

Sign up free