ServicesAI agent evals
AI agent evals that check outcomes, tool calls and repeated runs
An agent that reads a ticket, calls three tools and updates a record can fail in more ways than a chatbot: the right result reached the wrong way, a tool called with the wrong argument, or a task that works once and fails on the next run. We build evals for these agents from your own cases, check the outcome first and the path second, and leave the suite in your repository. Cloudsail works for companies across Europe, with engineers in Germany and Poland.
Four weeks on one agent
- 1
Week 1: we read at least 100 agent runs with the people who know the process and note where each first went wrong.
- 2
Week 2: failure types with counts, and 50 to 150 cases with the outcome each run should reach.
- 3
Week 3: outcome checks in code, tool-call checks against reference paths, and judges where judgement is needed, tested against your expert.
- 4
Week 4: repeated runs per case, a release gate in CI and a baseline report with cost per successful task.
Outcome first, then the path
A run that ends with the right record in your system can still have taken a risky path, and a run that looks tidy can end with the wrong result. We check the outcome first, in code wherever possible: the state of the ticket, the amount refunded, the email that was or was not sent. Then we read the trace to find where a failing run went wrong.
Tool-call checks compare what the agent did with a reference: which tools it called, with which arguments and in how many steps. An agent that reaches the right result in 14 calls when 3 would do has a cost and latency problem, even if every answer is correct.
Runs that repeat
Agents are not deterministic, so one passing run proves little. We run each case several times at the settings you use in production and report how often every run succeeds, not only whether one did. In the τ-bench benchmark, gpt-4o solved about 61% of retail tasks in a single run, while fewer than 25% succeeded in all eight runs.
For agents that talk to people over several turns, a second model can play the customer with a written goal and constraints. That finds problems with state and memory that single questions miss.
What an agent must not do
We also test the actions that should not happen: acting without an approval it needs, carrying on when it should hand the case to a person, or repeating a write when a tool times out. These are the cases a demo rarely covers.
Release gate and checks in production
The suite runs in CI whenever prompts, models, tools or the orchestration change, with a threshold for each failure type. In production, judges run on a sample of real runs, and the report keeps quality, cost per successful task and latency in one table.
What the first engagement covers
One agent or workflow, in up to two languages, with a domain expert from your side for a few hours a week and access to past runs or cases. Teams that already run agent evals can start with a two-week audit of what they have.
- Failure types with counts, from real runs
- 50 to 150 cases with expected outcomes, versioned in your repository
- Outcome checks, tool-call checks and judges with a report on how well each agrees with your expert
- A release gate in CI and sampling in production
- A baseline report with success across repeated runs, cost per successful task and latency
Questions
Which agent frameworks does this work with?
The evals sit outside the framework: they read the agent's traces and the state of your systems. LangGraph, a vendor SDK or your own orchestration all work.
What does it cost?
A fixed price, agreed in writing before we start. It depends on the number of languages, whether traces already exist, how many failure types need a judge and how much CI work is involved, and we quote it after a first 30-minute call.
Can we use traces that contain personal data?
Yes, with rules agreed first: how names and other identifiers are pseudonymised, where the data stays (in your environment or in EU-hosted tools), who reads it and how long it is kept. Where we process personal data on your behalf, we sign a data processing agreement (in Germany, an AVV).
Does the works council need to be involved?
If the system is used by your own staff, its traces can show what individual employees asked and did, which can bring in the works council under section 87 of the Works Constitution Act. We evaluate at case level and leave out who asked. For systems your customers use, this question usually does not arise. This is not legal advice.
What happens in the first call?
Thirty minutes with one of our engineers, free of charge, about your product and the failures that worry you. We need no access to your systems. Afterwards we propose a scope and a price.
Related services
AI automation
Business processes automated step by step with rules, models and agents, tested on past cases and reported as cost per case.
AI chatbots
Chatbots and assistants for customer service and internal support that answer from your data, act through approved tools and hand over to people.
AI consulting
AI strategy, use case assessment and readiness checks from engineers who also build and measure the first system.
AI engineers for your team
Experienced AI engineers who join your team part-time or for longer and build AI features, agents and platforms with you.
AI evals engineering
Evals for AI products, agents and RAG, built from your own traces, with a test set and release gate that stay in your repository.
Enterprise AI
Assistants, agents and private AI built into your systems, with your permissions, audit logs and a platform team that can run them.
MCP server development
MCP servers that connect approved internal APIs to AI assistants, with narrow permissions, approval for changes and tests.
RAG development
Assistants that answer from your internal documents, with permissions, citations and tests on your own questions.
RAG evaluation
Assistants that answer from your documents, tested on retrieval and on answers, in each language your users write in.
AI engineering and architecture
Assistants, voice interfaces and agents in the products you sell, with the serving and retrieval underneath.
Custom model training
A small open-weight model trained for one task and compared with your current model on cost and accuracy.
From the blog
Outcome versus trace evaluation
Why an agent run can finish without errors and still handle the case wrongly, and how to check business outcomes separately from traces.
Agent test sets from past cases
How to pick past business cases for a process agent's test set and keep a held-out part that nobody tunes against.
Validating an LLM judge
How to test an LLM judge against hand-labelled examples, report its true positive and true negative rates and correct the pass rate it reports.
Eval sample size
How to put confidence intervals on eval results, compare two prompts or models case by case and size a test set for the difference you need to detect.
Talk to an engineer
Bring two or three conversations where your AI system got it wrong. The call takes 30 minutes and needs no access to your systems or your data.
Booking runs on Google Calendar.
Prefer to write first? Leave your email and a few lines, and we reply with times.
Look for the draft in your email program
Send it from there, and an engineer replies in person with times for a 30-minute call. If no draft has opened, write to us at miki@cloudsail.com.