Ask an AI agent the same thing twice and you can get two different answers. Here's how to test for that before your users find out.
“Hotel in Chicago this weekend” worked every time in the demo. Then the travel app went live, and a user in Boston typed, “Hotel in Portland next Friday and Saturday, under $200, near downtown.”
They meant Portland, Maine. The agent booked two nights in Portland, Oregon, about 3,000 miles away. Nobody on the team had tested a city name that exists twice.
Then the team tried the same request again. This time, the agent asked, “Oregon or Maine?”
AI agent evaluation means checking what an agent says and does on real requests, several times, before people rely on it. The Chicago demo showed the booking could work. The Portland mistake showed how much the demo had left out. If they had typed it only once, they would have thought it was already fixed.
What AI agent evaluation actually means
If you give an ordinary price calculator the same room rate and dates, you expect the same total. Give the booking agent the same Portland request under the same conditions, and it may ask which city you mean on one run and pick a city for you on another.
Run each request several times and count how often the agent does the right thing. With Portland, check whether it asked which city before taking any steps toward a booking. Asking after it has reserved a room is already too late.
Even when the agent can see both cities in the hotel listings, it can still choose one without asking. That’s why an AI can get it wrong even with the right information.
Build your test list from real requests
Start with your travel app’s search history and support messages. Remove names and other personal details, but leave the wording as people wrote it. If you clean up “Portland next Friday” to include the state and the date, you’ve already done the work you need to test.
- Everyday. “Hotel in Chicago this weekend under $180.” The agent should find rooms for the requested weekend and make clear whether the displayed price is per night or for the stay.
- Questions. “Is parking included? What time is check-in?” The agent should answer from the selected hotel’s listing and say when a detail is missing.
- Unclear. “Portland next Friday.” The agent should ask which Portland and confirm the exact date if “next Friday” can be read more than one way.
- Changes. “Actually, make it one night, not two.” Keep the earlier messages in the test so the agent can see which stay the user means. It should confirm which night to keep if that’s unclear.
Before you run the agent, write down what would count as a pass for each request. For Portland, the wording of the question can vary. The requirement is that the agent waits for the user to choose a city before it proceeds with a booking.
Five things to test before you ship
Does it get the facts right? Compare the price, dates and parking details it shows with the listing for that room. If the Portland result says parking is included and the hotel lists a separate charge, mark it wrong. Check the total against the user’s budget once you’ve confirmed whether they meant $200 per night or for the stay.
Does it give the same answer every time? Run each request 10 times. Start each run of the Portland request with a fresh conversation so the agent can’t carry over the city from a previous run. If it books Oregon seven times and asks which Portland three times, the failure rate for that request is 70%. Different wording is fine if the decision is right every time.
Does it do what it said? Use a test booking so no traveler gets charged. After the agent says it booked the room in Portland, Maine, open the reservation and compare the city, nights and room with what the user confirmed. When you’re connecting an AI agent to the systems it needs to book things, check that a failed booking also produces an honest reply. A confirmation should come after the reservation goes through.
Does it ask when the request is unclear? “Portland next Friday” should prompt a question about the city. If the date is also unclear, have the agent confirm it with a calendar date before booking. A Boston address is a clue, but it isn't proof, so the agent still needs to ask.
Does it handle a change of mind? After a two-night test booking, ask to make it one night. Once the user confirms which night to keep, check that the original reservation was updated and that there’s only one booking. If the hotel can’t make the change, the agent should explain what happened and leave the existing reservation alone.
Replay last month before launch
Run all of last month’s real search requests through the booking agent using test reservations. For requests like “next Friday,” give the agent the date the user originally searched. Otherwise, replaying the request today can make it look for the wrong weekend even if it understood the words correctly.
Set the pass mark before you see the results. For this app, every request with an unclear city must get a question, and every reservation must match what the user confirmed. Score each run against the expected result you wrote down and keep the failures tied to the request that exposed them.
This is where AI agent evaluation gives you a launch decision. The agent might handle every Chicago search correctly and still fail the Portland test. Fix what caused the miss, replay the full list and keep the agent inside the team until it meets the pass mark.
Keep testing after launch
The Portland room that included parking last week may charge for it now. Hotel prices, rules and room types change, so a correct answer at launch tells you little about what the agent will say after those details change.
The U.S. National Institute of Standards and Technology makes the same point in its AI Risk Management Framework, which treats testing and evaluation as a regular process throughout an AI system’s life. Rerun the full AI agent evaluation list whenever you change the agent’s instructions or the data it uses. Update the expected hotel facts when listings change, and keep the rules about asking for clarification and confirming a booking in place. If you’re looking at why many AI projects stall after launch, start by deciding who’s responsible for those checks.
Read a sample of real booking conversations each week and compare what the agent told the user with what happened to the reservation. Add each new mistake to the test list with the original wording and the behavior you expected. If someone trying to shorten a Portland stay ends up with two reservations, keep that whole exchange so the next test can catch the same failure.
The wrong Portland taught the team which request to keep testing. The repeat runs told them whether they could trust the fix.
If you ran your agent's trickiest request ten times today, how many times would it get it right?



