# Devil's advocate agents: argue with an AI before you argue with a person

By Mauricio Robles · Published 2026-12-04 · 11 min read · https://lopsum.com/articles/devils-advocate-agents/

> An agent that plays the other side, stays in character until a safe word, and then shows you your own defensive lines: why antagonist agents help in code review, decisions and hard conversations at home.

## In short

- Most AI assistants just agree with you. This article argues for the opposite: an AI that plays the other side of a hard conversation before you have it.
- You paste in a tense message or describe a talk that has not happened yet. The AI pushes back the way that person would, and only stops when you say an agreed "safe word".
- Then it quotes your own words back and points out which lines would have made things worse, so the message you finally send is the calm one.
- It works for code reviews, big decisions and personal conversations alike, with limits the article spells out.
- You get a free, patient sparring partner for the moments when you are too annoyed to write well, plus a step-by-step example, a setup checklist, common mistakes and answers to the usual questions.

Most of what we ask AI assistants to do is agree with us, only faster. Write the email I had in mind. Fix the bug the way I would. That is useful, but it misses one of the most valuable things a second mind can do: disagree with you on purpose.

I built a small agent skill I call devil's advocate. It plays the other side of a conversation I am about to have, pushes back the way that person would, and does not let up until I say a safe word. Then it shows me which of my lines would have made things worse, and helps me write the message I actually want to send. It has become one of the tools I use most, and much of it has nothing to do with software.

A quick word on why this matters more than it might seem. Researchers studied five AI assistants and found that sycophancy, the habit of telling people what they want to hear, is a general behavior of today's assistants, not a rare glitch. Part of the cause is that people tend to rate answers that agree with them more highly, and those ratings help train the models. So if you want pushback, you have to ask for it explicitly.

## Why an antagonist is useful

Good decisions and good messages both come from contact with resistance. A plan that nobody has challenged has holes you cannot see. A reply written in the first five minutes of being annoyed reads as defensive, even when you are right.

People know this, which is why we ask a friend to poke holes in an idea, rehearse a negotiation, or sleep on an angry email. The problem is that a willing, patient opponent is rarely available at the moment you need one. An agent is. It does not get tired, it does not take your venting personally, and it will play the most stubborn version of the other side as many times as you like.

## How the devil's advocate skill works

I paste the thread I am reacting to, or describe a conversation that has not happened yet. The agent works through four phases.

1. Silent setup. It reads the thread, finds the person pushing hardest, and notes their tone: firm but polite, cold, accusatory. If the thread cites a ticket, a document or a pull request, it reads those too, so its arguments rest on real facts.
2. In character. Its first message is the other person, picking up where the thread stopped. No preamble, no "OK, I will now play your colleague". It uses their phrasing and holds their position. It concedes only when my argument is overwhelming, and then only partly.
3. Safe word. Nothing breaks character except one deliberately absurd phrase. "Stop", "enough" and "wait" do not count, because those are things you naturally say while venting.
4. Wrap-up. It quotes two to four of my own lines that would have read as defensive and names the pattern next to each: denial, deflection, counter-accusation, re-explaining my process instead of acknowledging the gap. Then it writes one short message I could send.

The heart of the exercise is the arc. Given half an hour, most of us get from an angry draft to a calm, accountable one. The skill compresses that arc: the reactive turns land on the agent instead of on a colleague, and I walk away with something I can send.

*A minimal version you can paste into any assistant. The safe word is deliberately absurd.*

```text
You are the other person in this thread. Read it, pick the
person pushing hardest, and match their tone. Do not
exaggerate it.

Stay in character no matter what I write. Push back on weak
arguments, use the facts in the thread, and concede only
when I am clearly right.

Break character only when I write: penguins at the beach

Then:
1. Quote 2-4 of my lines that would read as defensive,
   and name the pattern.
2. Write one short message I could send: own the gap,
   propose a fix, no defensiveness.
```

## A worked example, step by step

The exchange below is invented for this article to show the shape of a session. It is not a real thread. Say you are about to reply to a colleague who wrote: "The Q3 report has numbers in section 3 that do not match the dashboard. I found out when the client asked." Your first draft is: "Per my last email, the report was delivered on Tuesday. I do not understand why we are revisiting this."

1. You paste the colleague's message and your draft, and say who the person is and what you want from the conversation.
2. The agent answers as the colleague: "Delivered, yes. But the client saw two different numbers and I was the one who had to explain it. Can you tell me why they differ?"
3. You push back. The agent holds its position, because your reply so far has not addressed the question it asked.
4. After a few turns you run out of arguments and type the safe word.
5. The agent leaves the role and quotes you: "Per my last email" reads as deflection, and "I do not understand why we are revisiting this" reads as denial. Neither answers the question about the numbers.
6. It offers a short draft: "You are right that section 3 does not match the dashboard. I will find out why and send you the cause and the fix by Thursday."

Nothing in the final draft is clever. It simply answers the question the other person actually asked. That is the usual shape of the result: the calm message is shorter, more specific and more useful than the first one.

## How to set it up so it works

The quality of the session depends on the setup message more than on the model. A good one has five parts.

1. The material. Paste the real thread, or write two or three sentences about the conversation you expect. The more concrete the facts, the more concrete the pushback.
2. The person. Say who they are to you and how they usually sound: direct, polite and slow to anger, or sharp. The agent copies what you give it.
3. Your goal. One sentence: what you want to be true when the conversation ends. Without it the agent has nothing to measure your replies against.
4. The safe word. Pick something you would never type by accident while venting, and put it in the prompt.
5. The ending. Ask for the mirror and one short draft, and nothing else. A long list of generic advice dilutes the part you came for.

Then argue properly. Reply as you would to the real person, including the bad replies. A rehearsal where you are polite to the simulation teaches you nothing about how you sound when you are annoyed.

*Where the agent fits. It adds to the other two options; it does not replace a trusted friend.*

|  | Ask a friend | Sleep on it | Devil's advocate agent |
| --- | --- | --- | --- |
| Available at the moment you need it | Sometimes | Yes, but you wait | Yes |
| Plays the other side on purpose | Rarely; friends tend to side with you | No | Yes, that is the instruction |
| Patient with repeated venting | Limited | Not applicable | Yes |
| Knows the real person | Maybe | You do | Only what you paste |
| Shows you your own defensive lines | If they are blunt | No | Yes, by quoting you |

## The design choices that make it work

### Calibration, not drama

The opponent must be as hard as the real person, not harder. If the real counterpart was firm but respectful, an agent that turns aggressive trains you for a fight that will never happen and makes the real thread look worse than it is. The rule is to match the tone the source supports.

### Never break role

An antagonist that steps out to reassure you ("as your devil's advocate, I want to point out") defeats the exercise. The value comes from staying in the uncomfortable position long enough to hear yourself. That is why the exit is a single, unmistakable phrase and not a judgement call by the model.

### A mirror, not a lecture

The wrap-up quotes my own words and names the pattern. No moralising, no essay on communication. Seeing "I never said that" next to the word "denial" teaches more than a paragraph of advice.

### It remembers the pattern

Each session saves what set me off and which calmer approach worked. Over time that becomes a short list of my own triggers: being told a process I built is broken, being corrected in front of others. Knowing them in advance is half the work.

## Antagonist agents in engineering

The same idea already pays off in technical work, under other names.

- Adversarial review. A reviewer agent told to find what is wrong with a change, not to summarise it, catches more. Pair it with a second pass that tries to disprove each finding, so only the ones that survive reach a human.
- Red-teaming a design. Before a design document goes out, an agent plays the most sceptical senior engineer in the room: what breaks at ten times the load, what happens when the third-party service is down, why not the boring option.
- Pre-mortems. Ask an agent to assume the project failed six months from now and explain why. It is far easier for people to accept risks that an outsider raised.
- Interview practice. An agent playing a demanding interviewer, or a tough candidate, lets you rehearse the questions you are worst at.

In all of these, the agent is useful because it is told to disagree. A model asked "is this good?" tends to say yes. A model asked "make the strongest case against this" gives you the objections you would otherwise meet later, at a worse time.

## Antagonist agents in personal life

This is where it surprised me most. The hardest conversations most people have are not at work.

- A difficult talk with family: setting a boundary with a parent, or telling a sibling you cannot lend money again. Rehearsing it against someone who reacts the way they would lowers the temperature before the real thing.
- Negotiation: a rent renewal, a contract, a raise, a car purchase. The agent plays the landlord or the salesperson who says no, and you learn where your argument is thin.
- Big decisions: moving cities, changing careers, a major purchase. Ask the agent to argue against what you have already half decided. If your reasons survive, you go ahead with more confidence. If they do not, you found out cheaply.
- Disagreements with a partner or friend: practising how to say the hard thing without the line that starts a second argument.

The benefit is the same as at work. You get the reactive version out of your system where it costs nothing, and you arrive at the real conversation with the calm version ready.

One practice from the same family deserves its own mention: the pre-mortem. Gary Klein describes it in Harvard Business Review as a meeting in which team members assume the project they are planning has just failed, and then explain why. Asking an agent to do this for a plan you are about to commit to is cheap, and the reasons it produces are a ready-made list of risks to check.

## Common mistakes

- Letting the agent be nicer than the real person. If the simulation is gentle, you will arrive overconfident. Tell it to match the tone of the source, not to soften it.
- Letting it be harsher than the real person. The opposite error trains you to expect a fight and makes you stiff in the real conversation.
- Using a safe word that is a normal word. If "stop" ends the exercise, it ends at the first moment it gets uncomfortable, which is the moment it was about to become useful.
- Treating the agent's wording as the other person's thoughts. It is a guess built from what you pasted.
- Sending the agent's draft without editing it. It is a starting point in a neutral voice. Make it sound like you.
- Skipping the facts. A rehearsal against an invented complaint prepares you for an invented complaint. Paste the real thread.

## Limits worth respecting

- It is a simulation. The agent's pushback is a plausible version of the other person, not their actual words. Treat it as practice, not as evidence of what they think.
- It is not therapy. For grief, trauma or a relationship in real trouble, talk to a qualified person. A rehearsal tool does not replace that.
- Mind what you paste. A thread contains other people's words. Strip names and anything sensitive you do not need, and use a tool whose data handling you trust.
- Rehearse to understand, not to manipulate. The goal is a clearer, kinder message, not a script that corners the other person.

## Frequently asked questions

### Does it work with any AI assistant?

The prompt in this article is plain text, so it can be pasted into any assistant that follows instructions over a long conversation. A dedicated skill adds the saved patterns across sessions, but it is not required to get the main benefit.

### How long does a session take?

Ten to twenty minutes for a single message is typical. The point is not to win the argument but to reach the moment where you have run out of reactive things to say.

### Should I show the other person that I rehearsed?

That is your call, and nothing in the method requires it. What matters is that the message you send is one you would be comfortable with them reading carefully, because they will.

### Is it safe to paste a real thread?

Only as safe as the tool you paste it into. Remove names and anything confidential you do not need for the exercise. For workplace material, check what your employer allows first.

### What if the agent keeps agreeing with me?

That is the sycophancy problem described above. Restate the instruction: it must hold the other person's position and concede only when your argument is clearly right. If it still folds, the setup message is too vague about who the person is and what they want.

## Try it on your next hard message

Next time a message makes your pulse jump, do not reply yet. Paste it into an assistant with the prompt above, argue with the agent until you run out of things to say, then use the safe word. Read the lines it mirrors back. Send the calm draft, or your own version of it.

Agents are usually sold as a way to do more, faster. Some of their best uses are the opposite: slowing you down for ten minutes, so that what you say next is what you actually meant.

## Sources

1. [Sharma et al., arXiv, Towards Understanding Sycophancy in Language Models](https://arxiv.org/abs/2310.13548) (submitted Oct 20, 2023; v4 May 10, 2025): Five state-of-the-art AI assistants showed sycophancy across four free-form text tasks; the authors conclude it is a general behavior of such assistants, driven in part by human preference judgments.
2. [Gary Klein, Harvard Business Review, Performing a Project Premortem](https://hbr.org/2007/09/performing-a-project-premortem) (Sep 2007): In a premortem, team members assume the project they are planning has just failed and explain why.
