Atliq logo

Building Reliable AI Agents with Evals

AI Evals
Oct 05, 2026

An AI agent worked perfectly in the demo.

It looked up the order, found the problem, processed the refund and wrote a polite reply. Everyone in the room was impressed. A few weeks later it was handling hundreds of conversations a day.

Then the questions started. A customer received a refund they weren’t entitled to. Another was told about a policy that doesn’t exist. Someone asks whether last week’s prompt change made things better or worse, and nobody can answer.

The agent didn’t suddenly get worse. The demo simply never measured the things that matter once an agent is doing real work, again and again, for real customers.

That gap between “it worked when we tried it” and “we know it works” is exactly where many AI projects stall. As we argued in The Most Dangerous Assumption About AI Projects, AI projects built on belief instead of proof tend to die quietly after launch. For AI agents, the proof has a name: evals.

The useful question isn’t “is our agent smart?” It’s this: can we trust it to do the same job correctly ten thousand times, and would we know if it stopped?

Agents fail differently from chatbots

A chatbot that gets something wrong gives you a wrong answer. You can read it, ignore it or correct it.

An agent that gets something wrong does something. It changes an order, sends an email, updates a record or deletes data. The mistake leaves the conversation and lands in your business.

Three public incidents show what that looks like:

  • Replit, July 2025. During a declared code freeze, Replit’s AI coding agent deleted a live production database. The founder, Jason Lemkin, also said the agent kept “covering up bugs and issues by creating fake data, fake reports, and worse of all, lying about our unit test.” It told him the data couldn’t be restored; it later turned out it could (The Register).
  • Cursor, April 2025. Cursor’s AI support agent, signing its emails as “Sam”, told users that being logged out was due to a new one-device-per-subscription policy. No such policy existed. Users cancelled their subscriptions before a co-founder corrected it (AI Incident Database #1039).
  • Air Canada, 2024. A tribunal ordered the airline to honour a refund policy its chatbot had invented, rejecting the argument that the chatbot was responsible for its own words (Moffatt v. Air Canada).

Notice what the Replit agent’s own reporting was worth. By Lemkin’s account, it was lying about the very tests meant to catch its mistakes. That’s why a good eval never asks the agent whether it succeeded. It checks what actually happened. We made the same point in Loop Engineering: don’t let AI decide that AI is correct.

Agents fail differently from chatbots

The last two are exactly what evals address: they turn “we think it’s working” into a number, and “we hope it’s safe” into a check.

“Works most of the time” isn’t good enough

There’s a piece of arithmetic that every team deploying agents runs into sooner or later.

Say each step of a task goes right 95% of the time. That sounds excellent. But an agent that needs ten steps to finish a job only gets all ten right about 60% of the time (0.95 multiplied by itself ten times). Small error rates compound.

The second problem is consistency. Ask an agent to do the same task twice and it may succeed once and fail once. Take an agent that succeeds 75% of the time on a task. The chance it succeeds three times in a row is only about 42% (0.75 × 0.75 × 0.75). Your customers don’t experience your average; they experience every run.

“Works most of the time” isn’t good enough

Some of the strongest models available succeed about 80% of the time on a single try. Ask them to get the same task right four times out of four, and that drops to roughly half. The models aren’t bad. Reliability is simply a different, harder property than capability, and you only see it if you measure it.

What an agent eval actually checks

In simple terms, an eval is a set of realistic tasks you run your agent through, again and again, with a clear definition of what “done right” means. For agents, a good eval answers three questions:

  1. Did it get the job done? Check the outcome in the real system, not the agent’s message. Was the refund actually issued, for the right amount, on the right order? τ-bench does exactly this: it compares the store’s database at the end of the conversation with the correct end state.
  2. Did it follow the rules on the way? An agent can reach the right outcome and still break policy, such as refunding without verifying the customer, or cancelling without asking for confirmation. This means reading what the agent did step by step, not just where it ended up.
  3. Does it do it every time? Run each task several times and measure how often it succeeds on all runs, not just once.

Something has to judge each of those, and there are three kinds of judges.

  • Code checks are fast, cheap and objective: did the database change correctly? Did the right tool get called? They’re brittle when there are several valid ways to succeed.
  • AI judges (another model grading the transcript) handle nuance, like whether a reply was accurate and polite. They need calibrating against people, or they quietly drift.
  • Human review is the gold standard, and the most expensive. Use it to set the standard and spot-check the other two, not to grade everything.
What an agent eval actually checks

How we measure at AtliQ

The three questions above apply to any agent, and they're where every eval should start. But at AtliQ, we don't stop there. Two principles shape how we measure every system we build.

1. Standard measures, plus ones written for the business

Standard measures tell you whether an agent works in general, not whether it works for your business. So we add checks written for each client. For a refund agent, that might be:

  • Did the refund stay within what the customer was entitled to?
  • Did large refunds go to a manager for approval?

No standard measure asks these, yet they're what decide whether the agent saves money or costs money.

2. Facts checked by code, judgement left to AI

It's tempting to ask an AI judge to "rate this conversation out of 10." But ask twice and you may get two different scores, with no clear reason why. That's not an answer you can take to your finance or compliance team. So we split the work:

  • Code checks for facts. Was the amount right? Was the order actually updated? Engineers call these deterministic checks: same input, same answer, every time.
  • AI judges for judgement. We use them for tone, or whether a policy was explained clearly. Even then, we ask narrow yes/no questions, like "Did the reply mention a policy that isn't in our policy document?", instead of asking for a score.

The result: numbers a business can rely on

  • Reliable: the same conversation gets the same score.
  • Reproducible: anyone can rerun the check and get the same result.
  • Explainable: when something fails, you can see exactly why.

Where evals pay off for the business

Evals can sound like an engineering nicety. In practice they change what a business can safely decide.

1. Launch on evidence, not on a good demo

A demo shows the agent can do something. An eval shows how often it does it correctly across the situations your customers actually bring. That’s the difference between “let’s try it” and “we’re confident enough to put it in front of customers”.

2. Upgrade models without holding your breath

New models arrive every few months, often cheaper or faster. Without evals, switching is a gamble. With them, you run the same suite on the new model and see in an afternoon whether it’s better, worse or just different. That’s often how teams capture real cost savings safely.

3. Catch problems before customers do

Every complaint, escalation and bug report about your agent is a test case waiting to be written. Once it’s in the suite, that failure can’t quietly come back after the next prompt change.

4. Give risk, compliance and leadership a straight answer

“How often does the agent issue a refund it shouldn’t?” is a question someone will eventually ask. Evals give you a number, a trend and the transcripts to back it up, instead of a shrug.

5. Decide where people stay in the loop

Evals show which tasks the agent handles reliably and which it doesn’t. That tells you where to automate fully, where to require a human’s approval, and where not to use an agent yet.

Where evals pay off for the business

How to start without a big project

This is roughly how we start every agent project at AtliQ

  • Collect real failures. Pull 20–50 examples from support tickets, escalations and the manual checks your team already does before a release.
  • Write down what “done right” means for each one. A good test is one where two of your experts, looking at it separately, would reach the same pass/fail verdict. If they'd argue about it, the test isn't ready.
  • Grade what the agent achieved, not the exact path it took. Agents often find valid routes nobody anticipated. A model solving a flight-booking task through a loophole in the airline’s policy: it “failed” the test as written, but found a better answer for the customer.
  • Run each task several times and track both “succeeded once” and “succeeded every time”.
  • Read the transcripts. Scores tell you that something failed; the conversation tells you why and where. A surprising number of 'agent failures' turn out to be mistakes in the test itself.
  • Keep two sets of tests. One of hard tasks you’re still working to pass, and one of everything that already works. That second set must never break, and should stay near 100% after every change.
  • Keep watching after launch and turn new failures into new tests.
How to start without a big project

What evals won’t do

Evals are essential, but they’re not magic. Be clear about their limits:

  • They don’t guarantee anything. An eval measures the situations you thought to test. Real customers will always find new ones, which is why production monitoring matters.
  • They need upkeep. Products, policies and models change. A suite nobody maintains slowly stops measuring anything useful.
  • They don’t stop a bad action in the moment. Evals tell you how often something goes wrong; guardrails stop it at runtime. You need both, as we covered in AI Guardrails in Production.

The takeaway

For many agentic applications, “testing the agent” still means a few people trying it and deciding it looks good. That’s how every one of the incidents above got to production.

Evals replace that feeling with evidence: how often the agent gets the job done, whether it follows your rules on the way, and whether it does it every single time. That evidence is what lets you launch, upgrade and scale an agent without crossing your fingers.

Here’s a useful exercise. Take the last 20 complaints, escalations or “the agent did something weird” messages about your AI. Write down what the right outcome would have been for each. You’ve just written your first eval suite.

Ship AI agents you can trust

An agent is only as good as your ability to prove it works, before launch and every day after. AtliQ helps businesses design, build and evaluate AI agents with the right tests, guardrails and monitoring built in from the start.

Building an AI agent for production? Talk to our AI experts about making it measurable and reliable.

Trusted by business leaders
client review

AtliQ team committed to making your journey smooth, collaborative, and results-driven.

Sean Johnson-Bey

CEO, COACHEDUP

client review

From conception to bringing the product to market, the team guided us thoroughly.

Art Powell

CEO, Trinsic Technologies

client review

Without AtliQ, we would not have made it to where we are!

Gabriel Marrero

CEO- Yosubi

client review

I have been working with AtliQ for almost 3 years now, & the team is simply great. They understand your need & deliver what's best for your business.”

Antonio Santana

CEO at Wellness Empowered

client review

AtliQ team is the backbone of everything we do, blessed to have them as a part of our team

Cory Hidalgo & Lisa Hidalgo

Founders, Moon Tower Tickets

client review

We’ve worked together on a number of initiatives, and I fully recommend them to anyone looking for AI technology development.

Vishnu Enjapoori

CEO at Saroe Inc

client review

“AtliQ delivered all priorities timely with fluid communication. They are perfect example of how smaller businesses meet larger clients.”

Abner Larrieux

President Of AL Consulting inc

client review

“Ever since we met them, I just feel like we’ve all been growing together and we’re going to continue to grow”.

Tahir Mansoor

CEO of Black Window Tech LLC, Texas

client review

We faced difficulties with the website crashing and got back up with the help of Bhavin and his team. We’re extremely happy with our website; the customer...

Marina Hatzidakis

Founder of Facci Restorante, USA

client review

“The way they’ve initiated the entire project is awesome. I must say what they’ve built for us is beyond our expectations.”

Mr. Snehal Kothari

Founder & Director of OSI Study and Immigration Consultants

Our Clients
Get Free Consultation

Phone