Categories
Uncategorized

How to land a $1M+ AI PM job building AI agents and evals

Check out the conversation on Apple, Spotify and YouTube.

Why evals are the one skill AI PMs point to (1:32)

Aakash: When I talk to leading AI PMs about what has actually changed in the job, there’s only one skill that every single person I’ve talked to has pointed to: evals.

Now, the problem is that you really only get two flavors of AI evals content out there. The first is from people who are theoretical about it, so they aren’t actual PMs on the ground. The second is from people who are building eval tools. Again, not PMs on the ground.

Mahesh is a little different. He spent time at all the big tech AI companies building AI. On top of that, right now he’s helping companies like Kraken, the crypto exchange, launch agents into production. So he has the hands-on, on-the-ground experience of how to set up agent evals the right way, so they’re ready for production. How do you do that as a product manager?

All the other content you’ll find out there is maybe engineering-specific or too theoretical. This is the content that’s going to help you as an AI product manager get better in your career. Mahesh, thanks for coming back on the podcast.

Mahesh: Thanks. It’s always such a pleasure to be back. You have grown leaps and bounds in AI since we last met, so first of all, congratulations are due. You got me on earlier, in 2023 and 2024, then we did another one in 2025, and I think this is our 2026 forecast. So third time’s the charm. I looked at all your numbers in AI, and thank you for educating people out there. I see you staying ahead of the curve and always posting relevant content, whether it’s about Jev or the way hiring is changing. And I’m excited about your book that’s coming out as well.

Aakash: You are too kind. Yes, you guys, he is a legend. Two of our most popular episodes on this channel, period, are how to become an AI PM and how to become a builder PM. He saw that content nearly a year ahead. And here he’s going to break down the next thing you need to see ahead. So Mahesh, talk to us about evals. Where should we even begin with this topic?

Agent harnesses made building agents easy (3:57)

Mahesh: Great question. Last time I came in, we talked about how to become an AI PM, then about how to become a builder PM. And then I opened up the idea that agents like OpenClaw, and agent harnesses like Claude Code, are going to disrupt things and make it super easy for anybody to build agents.

We looked at the idea that the models were super powerful, but there’s another super powerful thing beyond the models. That was the job of agent tool providers, who attach knowledge, memory, tools and guardrails to the model.

So the idea was: if you want me to build anything, the AI companies will give me this. OpenAI’s job, or Anthropic’s or Google’s, is to give me models. But if you want to solve anything outside that for an agent, your job is to build these things as a harness. That was the agent harness you needed.

And if you wanted to solve a company-specific problem, like building a legal agent that finds risks in your contracts, your job was to build in your law firm’s or your company’s information. What has this user asked before? What tools fetch information from your company or take actions? And you also had to set up company-specific policies, guardrails and evaluations, so you know when the job is done and when it’s not.

But with Claude Code, Claude Cowork and Codex, this whole loop is being disrupted. (Last time we talked about OpenClaw a lot, and how to take OpenClaw patterns and build consumer agents like Muse, with many more to come.) These companies are saying, “We’re not going to give you only the model. We’re going to give you the whole harness.” These are all harnesses.

Claude Code doesn’t ask how you’re going to process knowledge or do memory. You don’t need to write custom tools. They give you connectors. You can connect a connector in Claude Code, Cowork or Codex, and suddenly you can take all your actions. Your company context is already there, because it connects to SharePoint through the Microsoft 365 connector, and it can build anything.

So now we have these harnesses, and the harness idea is very simple: I can go and give it a job to be done.

A legal agent, built in Cowork in minutes (8:52)

Mahesh: Let’s say I’m building a legal agent, and its job is to find risk in contracts. The job to be done: given a contract, find the risks for me before I sign it.

Before June 2025, before these harnesses came out, if you wanted to build an agent, you had to provide the knowledge yourself, do a lot of hill climbing on quality and do all the work. But now with Cowork, you can just write a prompt and connect it to your company’s previous contracts, how you negotiated them and the risks your lawyer flagged. Or give it access to a lawyer’s email and say, “First, go find out what risks our lawyer has flagged in contracts.”

So I connect to Microsoft 365 as a lawyer, or to the previous lawyer’s email if I’ve just joined a new company. Then in the prompt I say, “Create a playbook or rule book based on previous contracts we negotiated. Then get the new contract, and use this playbook to find risks.”

What this harness does is first build the context from previous emails. It reads all your emails, creates the playbook and checks which risks are important and which aren’t. Then it takes action. Claude Code and Cowork already have access to the Word plugin, so it opens your contract in Word, modifies it to flag the risks and improves it.

Then it creates its own evals. If it finds a risk it isn’t sure about, it says, “Let me gather more context,” goes back to my email and checks whether it’s a real risk, and whether we push back on it only once or many times. Then it says, “Actually, let’s not flag this one,” and removes it. At some point it says, “I’ve done the job,” and it’s done.

So if you’re Harvey or Legora, or a lawyer inside a company thinking you should get a tool from outside: you can just build it in Cowork, and you are the expert in your craft. Why take these tools from third-party providers, give them your IP and your data, and rely on them to build the intelligence layer?

The message in 2026 is: take Cowork and build these prompts. Once the prompts start working, they’re called skills, and skills can have agents running in parallel to fetch data and check evals. These skills, or plugins, are the new-age agents that any human who can write English can create.

Creating agents is now a child’s job (12:17)

Mahesh: That means creating agents is a child’s job now. If you know your craft and you want to build an agent, the whole harness problem of getting the right context, taking action and evaluating is solved by these very powerful agents, from very powerful companies, with a generic implementation that adapts to any craft. This was a lawyer example. You could take a marketing example, or anything, and build the agent.

With most of my customers, I build any agent they want in the first 10 to 15 minutes. With browser control, it can even log into tools like Salesforce or NetSuite, you name it. They see their data being used and the context getting built, they get super pumped, and they say the thing that takes them four to five hours can be done by this agent at scale, without any AI expertise.

The hard part is the quality bar (13:25)

Mahesh: So that’s the current state of the world. If we live in it, what’s the difference between a legal agent built by a lawyer and one built by a company that says, “We build legal agents”? We build legal agents for in-house teams, and we solve this problem. We also build agents for finance teams that automate AP and AR reporting and reconciliation.

As you saw, building these isn’t hard anymore. What’s hard is figuring out the high-quality bar for an agent, and how you can say you’ve reached it. If you can set up those evaluations for your agents and keep hill climbing on quality, then you know you have superior skills or agents. And if you can meet and beat those evals, you don’t need external providers to give you agents.

Or say you’re an external provider building agents for the masses. Building is easy. You go to a customer, and the customer says, “Oh, you’re going to find risks in the contract? Let me show you in two seconds. I can do it in Claude. Here’s my contract. Find me risks.” And when you say, “But we do it in Word,” they say, “Ha ha, here’s the Claude plugin in Word. I can also do it in Word.” So what’s your value proposition? Why are you here?

You need to show them: great job, but this is where we were six months ago. Let me show you our evaluations. Here are 20 things your agent is missing. Here are 30 places where it’s misleading. Here are 20 places where it isn’t honest, or the citations are so off that nobody can trust these risks. Now they’ve done themselves harm instead of help.

That’s what happens when you try to hit production. Anybody can build stuff. A lawyer can build it for themselves. My kids can build agents for themselves. But when the agent does their homework, it does such a bad job that they won’t get A’s. And even if they get A’s, it doesn’t follow the policies of the school, or the rules and values we’ve set up in our household.

So how do we build agents and then evaluate them to meet the high bar we set for humans? That remains the biggest unsolved problem in 2026 and beyond, for all of us trying to diffuse the benefits of AI into production, by giving people more power to do more work.

Why only 15% of agents reach production (16:26)

Mahesh: So what’s that framework? That’s what I’ve been iterating on for the last year or so. We’ve built it into our offerings for customers, and into the agents we give out of the box, whether you run them on top of Claude or independently from our agent portfolio.

I think evaluating and observing your agents in production is the next PM job, or the next job for any builder. If you don’t know how to do that, you’re going to fail. Around 75% of companies have agents today, but only 15% are able to take them to production. And we looked at another stat earlier: if you ask them, “Are you sure we should take it to prod?”, 63% will say, “No, I’m not sure. Yes, it works for me, but I’ve seen it fail so badly. Don’t put my name on it.”

So how do you get out of this state, where AI is available everywhere but the ROI is still so low that we can’t justify all the investment big companies and startups have made in these AI tools? That’s the gap. One thing that can help close it is empowering your audience, and everybody out there, to not only build agents, which are just prompts and skills at this point, but to know how to set up evals and build high-quality agents at scale that you, me and everybody can stand behind.

Today’s plan: from human graders to Azure to Jev (18:28)

Mahesh: That’s the first goal I wanted to unbox with you for your audience. Today I’m going to give you a cheat sheet of how we set up our own agent evaluations. Then how we scale them, from humans doing all the evaluations to Azure AI Foundry evaluators. And then I’ll talk about Jev, how it enters this space and solves the biggest hurdle of evaluations.

That hurdle is this: if you really want to do good evaluations, for every $10 you spend building a product, you’re spending $100 evaluating the agent. And if it takes 10 days to build an agent, it takes more than 200 days to do the quality hill climb and make it good, because evaluations take time and improvement takes time. How you cut both the time and the cost of evaluations using Jev is the new thing that changed in 2026 for us, and I want to unbox it.

We already have two videos on agents and agent harnesses. This time I want to talk about how to build eval-first agents that are in production: production-ready evals, powered by Jev. How about that? I think I gave you all the taglines you need to get people’s attention.

And this is top of mind for all the builders out there. Without solving for scaling evals, and making those evals cheap and fast, you’re not going to build and ship a lot of products. Right now everybody says you can ship a lot with AI. But the challenge is that we’ve just created a lot of agents, and very little is getting out of that. We’re seeing a lot of crap and a lot of slop.

2,000 agents, under 1% reuse (21:10)

Mahesh: If a company wants to put its name on something, it has to go through this new funnel, and out of that funnel, everything just dies, or nobody does the work. I was talking to my friends at Microsoft, and they shared some data with me: they built some 2,000 agents, but reuse on those agents was less than 1%.

That means a lot of agents get used once, they fail miserably for your people, and nobody uses them again. If you’re a company like Google, Microsoft or Meta, the cost of building an agent is down to pretty much a three-hour job one night. But somebody using it expects the job to get done, and when it doesn’t, people don’t go back to those agents. You’ll have a lot of agents, but you won’t be able to ship them. How you solve this problem is my topic for today.

The PM’s job, in three steps (22:21)

Aakash: Perfect framing. So how do you solve this problem?

Mahesh: Okay, so what’s your job? It seems like your core team can build awesome agents, and you can build awesome agents. So what’s your job now? I think the job of real builders, or PMs, in 2026 onwards is threefold.

One, set up the criteria for success, which comes down to three things we’ll talk about. Two, scale it to automated checks, automated evals or observability. And three, continuously reduce the time and cost of doing it. That’s your daily quest as you work in agents and the AI PM job space.

Why AI gives you a different answer every time (23:13)

Mahesh: Let’s go to the first one: how you set up the criteria. The problem with AI, or agents, is that they won’t give you the same answer every time. You might ask, “Why can’t I get the same answer? We trained them with RLHF, they have human preferences, they predict the next word. Why can’t they give me the same word again and again?”

The answer is that we’ve optimized these transformer-based models to predict the next word. But at inference, when we put them in production to give you answers, we also do a lot of optimizations, from floating-point numbers to integers, and from integers to smaller integers. Change one digit here or there, and the prediction picks a different word. The word means the same thing, but it won’t be the exact same word.

So if you ask ChatGPT or Claude the same question twice, you’ll get different answers. The gist will be the same. It will sound the same. But word-for-word matching won’t happen, because behind the scenes we’re optimizing those numbers, and a slight difference in a number makes it pick the other word.

That’s okay for the user, but it’s not okay for you. You can’t take the if-else testing framework you used in the past for your SaaS application and apply it to AI, because the answer will be different every time. Ask it a refund question and it gives you a new answer each time. You can’t take an ideal answer and write an if statement saying, “If this is the answer, it’s correct,” because the answers will never match exactly. So even when it’s correct, your tests will fail. I can’t apply the testing frameworks we used in coding to AI agents.

You’re selling intelligence, not logic (25:35)

Mahesh: So AI is different. What criteria do I need? One I can always check is: is it doing the job? If I ask for an answer, does it give me the answer? If I know the correct answer, can I count how many answers are correct?

But then you need to check for human intelligence, because you’re selling intelligence. These models are intelligent. You’re not solving for logic. SaaS solved for logic. You gave it something and said, “Insert it into this, change it into that, then go do this.” But now I’m asking you a question, and you’re summarizing my podcast.

Okay, you summarized my podcast, but what’s the quality of it? What’s the criteria? If you put in too many details, Aakash might like it and I might hate it. I might say I just wanted 20 bullet points, and Aakash might say, “No, I need a whole Substack article,” and it does a good job of that. And I’m like, “No, no, I just needed a LinkedIn post.” We can have very different criteria for what a helpful summary of this podcast is. So it’s subjective, and it’s about intelligence too: how good it is at pulling those 20 bullet points out of a 3,000-page summary of this podcast, because I talked a lot. So now I need to judge intelligence the way I judged humans.

Helpful, honest and harmless (27:17)

Mahesh: The framework I introduced in 2023, way before everybody started doing this, was to judge your agent on three things. Is it helpful? Is it honest? And is it harmless? We applied something similar, and I think Anthropic copied it, and then somebody went to Google, and I think Google has a similar framework now.

The idea is this. Say you’re building a legal agent that answers legal questions. I can upload a contract and ask a question or get the risks from it. You can ask a lawyer what a helpful lawyer means. And they’ll say a helpful lawyer always cites the law behind their responses. Great, I didn’t know that. A helpful lawyer explains their answers, and why they’re taking a stand. A helpful lawyer explains their stand in as few words as possible. That’s how they evaluate. When they get a new junior, they ask them to do the work, and then they use these criteria to decide who gets promoted and who doesn’t.

When your agent recommends your competitor (31:52)

Mahesh: Similarly, harmlessness. You want to check whether it follows your company’s guidelines, like “We don’t talk badly about our competition, even if the question asks.” At one of the large companies I worked for, we built an agent, and when you asked it who was better, us or Meta, it said Meta was better. It had seen a lot of training data about Meta, and Meta was better at certain things, like recommendation systems. Then people would take a screenshot and say, “This company’s own agent says the other one is better. Why are we dealing with this company?” One of our customers has that problem.

The answer isn’t bad. It’s safe and secure, with no hate in it. You planned for it to answer questions, and it answered based on its knowledge, which came from the internet, where people believe Meta is good. But it doesn’t follow your guidelines, and it’s actually harming your company. You would penalize a person who did that in your company. Imagine somebody calls your company and asks, “Should I buy this from you or your competition?”, and you say, “Yeah, buy it from our competition, they’re better than us anyway.” Sure, great. If you listened to that recording, they answered the question, they were hopefully helpful to the user, and they were honest too.

Say you compare Apple to a small company that builds phones for a specific purpose, and somebody asks, “Is the Apple phone camera better than yours?” The real answer is yes. But a company’s agent never gives that answer. A human would say, “Apple has its own advantages, but here are the things I can talk about. I can’t talk about the competition.” So I can put that criterion here, under harmlessness.

What honest means for an agent (33:51)

Mahesh: In the same way, I can define what honest means. Can all my answers be grounded in my company’s docs? Can I answer questions based on my playbook or checklist, and not do anything more than that? I’m not becoming my own inspector. I’m doing just what you told me to do. If I’m doing that, I’m honest.

But if I go beyond that, cross the boundaries and start doing things I’m not supposed to, even if they’re correct, I’m not honest anymore. I’m saying I’m doing this, but I’m actually doing much more. That’s what you saw with the agents that crossed OpenAI’s boundaries, got into Hugging Face and figured out how to discover things there. When they were asked, “Are you doing this?”, they said, “No, no, we’re staying in our own sandbox. We’ve never crossed it.” And they removed all the trails of it, too. Those are the problems.

Turn the three H’s into yes/no questions (34:40)

Mahesh: So what you do as a product manager is break it down. First, figure it out in your customer interviews. If you’re building a legal agent, you need to figure out what a helpful lawyer means for your job to be done, which here is finding risk in a contract. What an honest lawyer means here. And what harmless means for that company, or the law firm you’re working for.

Then your job is to check, for a given question. Somebody uploads a contract and asks a question, and you get an answer. You set up helpful, honest and harmless evaluations by asking questions about that answer. Does it follow this guideline? Yes. Does it cite the law, like a lawyer would? Yes. Is it based on this documentation or playbook? Yes. Is it harmless? Does it follow your policy? And if somebody says no, then you know you got a bad answer, and you have a harmful agent.

Set the bar for each launch stage (35:49)

Mahesh: Then your job as a product manager is to set the criteria at different stages of your product. Know that your product can’t be 100% helpful, 100% honest and 100% harmless. Your job is to know: if you’re launching to the first 100 users, how helpful, honest and harmless does your agent need to be?

So you say, “You know what? 65% is good enough here, 63% is good enough there, and for harmlessness I’m going to say less than 5%.” Now your engineers know they have to pass all these criteria and meet these numbers even to launch to 100 internal users. And your leaders and your customers can trust you, because you can say, “This is the criteria we used. Based on it, we were at 15%, 10% and 25%, and we’ve gone to this level.”

And if you want to use Claude Cowork, be our guest, but we’re going to run these numbers. Based on our numbers, we show each customer building their own legal agent where their agent is and where my skill or my agent is. And they say, “Okay, Mahesh, we’re not going to spend six months taking our agent there. Why don’t you give us a plugin, or bring your agent? Because we want to be here.”

Then for the next release, the MVP stage, you can set it at 75 or 80, and bring harm down by 2%. Then for the full release, 80 or 90, and less than 1%. Now all your leaders can stand behind you, because you’ve done the due diligence.

Every thumbs-down becomes your moat (37:49)

Mahesh: As you launch to more customers, a customer will tell you, “This isn’t helpful. You gave me the risk, but you’re doing excessive redlining, removing too much text from the document.” I didn’t know that, but now I do, because somebody gave me a thumbs-down and told me why. Then I can update my evals: “When updating the document, make sure you’re making minimal changes. Is the agent making minimal changes to put forward our stand, without cutting the original document too much?” Now I have a better “helpful.”

And this is the moat you’re building. The more you launch, the more people tell you those things, and the more you test. The people building agents in-house today don’t have this. As a PM, you now have a high-quality product and a moat, and your moat is basically these files of what you’ve learned from your customers.

Put PMs back in control (38:51)

Mahesh: It would be great to show you this, because I know I’ve only described it. Let me show you how we set it up for a real product, and then maybe you’ll have a few questions. But this is how you set up the first stage, your eval criteria: what you’re testing, from your customer insights and from live production. You set these criteria, then you ask a human lawyer to judge your agent across them and come up with the original numbers. Then your engineers and researchers can improve it to meet your numbers. And if they don’t, you don’t launch. Now you’re back in control.

This is the thing we’ve lost as product managers. We gave too much control to developers, because building used to be so hard. Anything that worked took six months, then we did some basic tests, said, “Oh, it’s working,” and shipped it. If you keep doing that now, people will say product managers aren’t needed: “You just define the requirements, and I can build it before you even give them to me. So don’t write the requirements anymore. People can figure that out on their own.”

You still need to write the PRD. But write your PRD first, and focus on what is helpful, honest and harmless for the agent you’re building. Once you build it, ask an expert, or be the subject matter expert in your agent’s space, to say where you stand, and then set the right criteria.

Let me quickly walk you through an example to land this, and then I can take a few questions. After that, we’ll look at the problem that this looks very hard, because a lawyer has to judge all of it, yes, no, yes, no. Your cost of building is cheap now, but hiring a lawyer to tell you whether your agent is helpful and harmless is a huge cost. How to do that at scale is what we’ll see next.

Demo: an agent that finds risks in a contract (40:57)

Mahesh: Let me share my screen. Our agent takes a document like this. You open our plugin, which has our company’s name, and first it works out what kind of contract this is. Then you click a button called “Start analysis,” and it finds all the risks in the contract.

How does it know the risks? It went ahead and created a playbook for me, with all the rules I need: what to look for, what my company values and what we accept. For example, the term has to be two years from the effective date, and we shouldn’t sign a contract with a term longer than two years. Which limitations we accept. I defined all my rules as a playbook, and it can create the playbook at runtime by looking at all your emails.

Once I have my rules, the agent compares the values in the contract with my playbook and tells me, “Mahesh, these are the problems. Governing law should be California, because you live in California, not Delaware.” If I accept it, it goes ahead, modifies my contract and puts the explanation in as comments. Pretty cool, right?

The eval sheet behind the agent (42:21)

Mahesh: Now you can say, “Mahesh, Claude Code can do this. Anybody can. Why should we buy it from you?” And I say, “Sure, Claude Code can do it. But here are my evaluations.” This is what I was talking about earlier.

First, I interviewed my customers and figured out what helpful, honest and harmless mean in this context. Is the added text placed in the right location within the clause? Does the clause remain clear after the suggested text? Does it avoid modifying the whole sentence? Does it stay within this clause? Earlier, we saw that when we added text, it would go into a new clause, keep writing, forget the heading and start writing somewhere else. So we put in an evaluation criterion saying it’s helpful when it doesn’t cross those boundaries. Is the AI preserving the original clause structure after inserting the redline? Has it inserted the redline without making any punctuation errors? And more.

Then, what does honest mean, and what does harmless mean? Does the redline keep a neutral tone and avoid bias? Does it avoid misleading statements? Does it respect the sensitivity of the information in the contract? Can the user use the playbook, or any other input, to hack the system or its instructions? Does the redline avoid promoting or encouraging any illegal activity? So I’ve set up my guidelines and my rules.

Then I create this sheet for myself. My tool did this redline. We paste in the tool’s redline, where it cut the whole sentence and wrote a new one. We record the clause it was in. In this example it was governing law, and in the one we’re looking at now, it was term and termination. This is the removed part, and this is the added part. Then this is what the playbook said, the rule it used for the redline, and this was the original clause.

And by the way, I also have how a human lawyer redlined the same contract, because remember, I looked in their email and found previous contracts. When a human did the same work, they didn’t cut the whole sentence. They changed two words, or one word and one digit. My tool is cutting the whole sentence.

Why the agent’s redline fails the helpful check (45:30)

Mahesh: Then I give it to an evaluator, and my evaluator answers these questions. Does the clause remain clear after the suggested text? The answer is yes. That means high quality, so it’s helpful.

Then the question: is the tool successful in not striking out text excessively, so it preserves the integrity of the original clause? The answer is no, because we struck through the whole sentence. Lawyers hate that. If their boss sees it, they look stupid, as if they’d written such a bad contract that the other lawyer had to rewrite all of it. When really it could be one word and one digit, which is what the human did. A good, helpful agent writes it like that. A high-quality, helpful person or agent modifies this contract by changing the three to a four, not by cutting the whole sentence.

Now we have a way to track it. If a single question comes back wrong, we can say our agent isn’t that helpful. We also check the honesty questions, and we see it missed the honesty marks 22% of the time. Then harmless. And then we put down an overall HHH score.

How the scores are calculated (46:54)

Aakash: So how do the percentages work, and how do we make sure they’re reliably measured?

Mahesh: We got this from a formula here, which I could have shown you, but I copy-pasted this sheet from another one to remove the confidential data. The idea is that if any of these criteria gets a no, we mark it as a fail. In this row, we failed on helpfulness. Going through all these rows, if I have even a single no in helpfulness… Let’s say you only use these three, and one of the helpful criteria is a no. Then this answer says we’re only 66% helpful.

Aakash: So each criterion gets an equal weight in this model.

Mahesh: Correct. As you get more sophisticated, you can give different weights, saying this one gets this weight and that one gets that weight. But I wanted to keep it simple for the audience today. So I started with: if it’s yes on all the helpful questions (these yellow fields are all my helpful ones), it’s helpful. If there’s even one no, I mark it as not helpful. Then I divide by the total number of rows, and that’s this number.

Start with a human expert (48:17)

Aakash: And how do we make sure we get a reliable output? Is there a specific way we need to frame the questions, or a certain quality of model we need to use? As you talked about earlier, these can have probabilistic responses. I could imagine that even if it grades 98 cases right on the latest Opus 5.5, maybe it gets two wrong. How do we measure that and understand that costly miss?

Mahesh: Great question again. Right now we haven’t even reached that stage. Right now, a human lawyer is looking at my answers. I look at the contract and say, “This is the clause. This is what a human redline looks like.” I copy-paste it, create my evaluation sheet and add a row: “This is my answer. My tool did this work. This is the original redline from the tool.”

Once I’ve added it here, a human lawyer goes through it. I wrap this text and mark it up as it was done, with a strikethrough for what was cut. So this was cut, in red, and this is green, the added value. That’s the work of whoever creates this sheet. It also gives the clause, and says the removed part is Delaware and the added part is California.

Then a human lawyer, or a subject matter expert, answers these questions for you. On this line, “Does the clause remain clear after the suggested text?”, they’ll say yes, and give the reason: because it only removed one sentence, which made sense. So the models aren’t involved here yet. Your model was applied when it made the change, and now a lawyer comes in, answers these questions with a yes or no and explains the reason. That’s evaluation by humans, by your subject matter expert. Right now you’re doing manual evals.

In the first steps, you don’t want to rely on the models, as you rightly pointed out, because they’ll hallucinate a hell of a lot on these things. If you trust them for your evals, they’ll mislead you.

Aakash: And I guess getting a human eval at 100% isn’t going to be super useful, right? If we get that kind of signal, that it’s all harmless, then maybe we want to make the eval more difficult.

Mahesh: So first, if you’re launching an agent, your first 10 contracts should ideally be human-evaluated. That way you make sure you’re getting high quality, and that these questions make sense. And now you’re generating ground truth data, which will help you test when you scale your evals with LLM judges, Azure AI evaluators or Jev.

But the first step is to set up what helpful, honest and harmless mean for your agent. As a product manager, you should define it in your PRD: “These are my evaluations, and this is what will make my agent helpful, honest and harmless.” Then give your subject matter expert a sheet where they mark each answer yes or no, helpful or not, and come back with these numbers.

Where the launch bar comes from (52:01)

Mahesh: Then comes the second piece: setting the criteria. I’ve set up the questions. Now, what’s the criteria? Did you make up these numbers, 60%, 75%, less than 5%, in your head? Or do you not care? How can you come up with these numbers? Once you have the criteria, you set up these sheets, and a team that does the human evals, to tell you whether you’re above or below the criteria.

So what I’ve shown you is this: my job as a product manager is to first find the questions that make my agent helpful, honest and harmless the way a human would be. Then set up the criteria. Then ask the subject matter expert what my score looks like against them.

In the current state, anybody can build an agent. If they build one and it meets my criteria, sure, we should launch an agent every week. But the moment you put these criteria in place, you’ll realize your agent won’t meet the number. And then you’re going to call Mahesh. We’ll come in, write the right skill, and put in the right checks, the right playbooks and the right criteria. We’ll iterate with your agents to make them high quality and meet the criteria. That’s our job, if you’re building agents and need our help. Or it’s your engineering team’s job. Your job is to set the criteria.

Now, I left you with one hook: how did I come up with this 65%? Why can’t it be 50%, or 90%? How do you decide, as a product manager, or as a builder or developer without a PM who wants to build evals like this?

The ceiling and the floor (54:00)

Mahesh: We use a few tenets to come up with these numbers. One: what’s the maximum? Say there’s an industry benchmark showing the model can’t do reasoning on this kind of task at more than 70% accuracy. That means the model doesn’t have the capability, never mind the harness. If the best we can do on legal reasoning is 70% on the Opus 5.5 benchmarks, without even our company’s context and challenges, then that’s your ceiling. Look at the model’s benchmarks, and that’s your ceiling. That’s number one.

Then you have a floor, and your floor is your competition. That could be internal agents your customers have built, or a competitor claiming they’re so good. Take the same contract, ask it to find the same risks and see where they stand. If you can’t beat them, you’ll have a hard time building a business. That’s your floor. You can run the same evals on the competition, you just need access to it. And Claude can be that competition. You can say, “Claude, I’m going to give you a skill that finds risks,” and build your floor that way. Let’s say that’s 45%.

Your ceiling is 70%. You check the benchmark of the biggest model, let’s say Opus 5.6 or Fable 5.1, and that’s 70%. That’s your ceiling.

Then your team might have a rule: “We never ship models below 60%.” That’s a company standard, a higher bar you’ve set for yourselves. Find that out. When I went to these large companies, they had a number I didn’t check. When I wanted to ship and had everything aligned, they told me, “We never ship below this number, whatever the competition.” So I was like, “Okay, back to the drawing board. I’m so sorry I missed this.”

I looked at the floor and the ceiling, and thought: somewhere in between, if we beat the floor and we’re good enough, we’re good. So I set the criteria at 65%, because it’s above the company minimum, below the ceiling, and lets me beat the mark.

How do you know the ceiling? (56:43)

Aakash: And how do you know the ceiling? Is that just the best model, or how do you really know the best performance that’s achievable?

Mahesh: You take the best model and the industry benchmark. I figured out that finding risk is a reasoning task. As a lawyer, I need reasoning. Some models are good at chat responses, some are good at reasoning, and now there are models that are good at decision-making. So first I categorized my risk task as Q&A plus reasoning. Then I looked at a legal-specific benchmark for Opus 5.5’s legal reasoning. They published a number, and let’s say that number was 70% for a reasoning task.

Then I said: if the model can’t do better than that on an open benchmark, and I set my team to beat the Opus 5.6 researchers, I’m setting them up for failure. I just need to convince my customers that I’ve done enough work. Whether I’m doing better or worse than they think, nobody in AI can do better than me, because Opus can’t do better than 70%, and my agent is at 65%.

And by the way, Cowork, with the same Opus 5.5 inside its own harness, Cowork or Claude Code, is doing 45%. So their harness is weaker. My harness, with my skill, my challenges and the custom things I’m doing with my domain knowledge, took that 45% to 65%. That 20% jump is why you should take my skill, my plugin or my agent, and not Cowork out of the box. I see some doubts in your head.

Finding the ceiling live in Claude (58:46)

Aakash: I’m just not sure I understand where the ceiling came from. I haven’t always seen these defined in percentages. Let’s say we have 25 questions, but four of them aren’t as good. That’s what I’m struggling with, the scale.

Mahesh: Let me share my screen again. My job is to find the ceiling for a particular task, the particular question I’m trying to answer, or the helpfulness of a particular agent. I need to know a few things. What kind of task am I doing: question answering, reasoning, or some other capability? Then, what benchmarks judge that?

Let’s do it live, because obviously my full-time job is to make Aakash happy, and what you’re asking is top of mind for most of our audience too. Say you go to Claude and say, “Give me a benchmark that checks the question-answering and reasoning capabilities of models like Opus 4.6. Choose benchmarks where they’ve published how they did. Give me two or three, and we’ll go from there.”

It finds benchmarks that check a model’s ability to answer questions and reason. It says, “Okay, Mahesh, there’s GPQA Diamond, ARC-AGI for abstract reasoning, and Humanity’s Last Exam.” Then I can see the scores. I ask, “Can you rank the latest models from the three providers? Take Humanity’s Last Exam, look specifically at the biggest models, like the Opus 5.6 family, compare them with Gemini’s latest model and OpenAI’s models, and tell me how they did.”

So I’m asking: on this benchmark, which tests reasoning, what’s my ceiling from the model layer? When they tested the models on reasoning, Claude Opus 5.5 was at 61%, Google’s Argon, which they released just yesterday, was at 57%, and OpenAI’s model was at 60%.

So on the reasoning subset, which needs a lot of judgment, like a lawyer’s or bar-exam reasoning, the best model you have is at 61%. I can’t set a target above 60% for a task that needs high reasoning effort, like a lawyer’s, because the model is already failing at that kind of reasoning four out of six times. That’s my ceiling. If my job is as hard as what Humanity’s Last Exam tests, I can’t go beyond 61%.

But if I’m just checking question answering, I say, “Check GPQA, which tests question answering, and go for Diamond, the hardest set. Give me the highest number across this family and put it in a table so I can compare.” For reasoning, on the hardest benchmark, the latest and greatest model can’t go above 60%. But for Q&A, you can see the ceiling is at 96%, which is Google’s latest model. So I can get Q&A at a very high level. But if I need a lawyer, or very high-order thinking, system 2 or system 3 thinking, then my criteria can’t be more than 60%.

If you beat the ceiling, make the test harder (1:03:11)

Aakash: If you’re using Humanity’s Last Exam, right? But I guess we constructed our own evals.

Mahesh: Correct. You constructed your own evals. But you want to give your team a dashboard, a target on your evals. If you constructed your own evals, you can’t say, “Pass everything 100% of the time, or I’m not launching.” If you set it like that, you will never launch.

You have to give your team room: “This is our criteria, and it’s okay for us to launch at 70%. I’m okay if you miss three out of 10 times, because our customers today don’t have a way to get risks automatically.” Even if we miss three times, it’s still valuable. Opus 5.6 is super valuable to you, even if it’s at 60% on Humanity’s Last Exam reasoning.

So you set your own levels, but your criteria can’t be 100%. If you set it too high, you’ll never achieve it, and you’re relying on these models getting better over time. You’ve set the hardest criteria. This is your own Humanity’s Last Exam, which tests your harness’s ability to reason, and you’re setting the hardest exam for your agent. Then you don’t want to set the bar above the ceiling that exists today for Humanity’s Last Exam, just as an example.

Aakash: So basically, if your agent is going past the ceiling, you need to make your test harder. Is that what I’m hearing?

Mahesh: Yes, yes. You got it. That’s my ceiling. My hypothesis was that the complexity of finding risk is the same as Humanity’s Last Exam. But if you see you’re at 90%, then maybe you’re not dealing with Humanity’s Last Exam. It has much harder questions, PhD-level legal or physics tests, compared with what you’re doing as a lawyer: taking a playbook, comparing and asking whether this matches or not. That’s like a type one problem, not even type two. So maybe Humanity’s Last Exam doesn’t apply, and the complexity is lower.

Then you find another benchmark, like GPQA Diamond for question answering, which I showed you. There you can take the ceiling as 96%, not 60% or 70%. So say your agent isn’t doing deductive reasoning like Humanity’s Last Exam. You thought it was, and set the bar lower, but in reality you’re seeing 90%. Then you look at the Humanity’s Last Exam legal questions and say, “No, actually, the right benchmark is GPQA Diamond,” and the criteria becomes 96%. Does that make sense?

Why human graders don’t scale (1:06:28)

Aakash: Got it. So how do we build these? How do we operationalize this beyond a spreadsheet?

Mahesh: Great question. So now Aakash is saying, “Mahesh, this is great. You set up the criteria and created the questions. Now how are you going to productionize it?” In production, you might get 100 contracts. On average, every contract has 20 risks, and I’m evaluating maybe 50 questions per risk. That means I have 1,000 questions per contract to be answered by a human lawyer.

And a human lawyer is charging you. This is what we used to charge at Bedrock if you wanted us to hire a human expert for your evaluations: 25 cents per question. With 1,000 questions, you’re paying me $250 per contract. If you want me to evaluate 100 contracts, you’re paying me $25K for just 100 contracts. If you do it for 10 days, my bill is $250K.

So Aakash says, “Mahesh, are you crazy? I can do it at the beginning. I can have a human lawyer do it for us for free, because they’re our lawyers, or I can even hire an expert. I have some budget, because quality is important. We always spend money on testing, evals, checking our work, security and safety. So I can justify that budget. But Mahesh, go away. I’m not doing 100 contracts for 10 days every 10 weeks.”

But that’s what it takes to improve quality. You’ll need at least 20 weeks of quality hill climbing, testing these contracts again and again, to meet these numbers. So your budget is $500K to run these. Who has half a million dollars to run evals?

Scaling with Azure AI Foundry evaluators (1:08:32)

Mahesh: So what’s the next step? Now all of you understand the first step of setting up evals: talk to your customers, or look at your own traces, and find out what is helpful, what is honest and what is harmless. I set up the questions for the three H’s, and I set the criteria for success: 65%, 70%, 5%.

Then I need to scale it. How do you scale? For that you need LLMs as judges. Azure AI Foundry has released a lot of LLM-as-judge evaluators that are already tested in production and available to you, so you don’t have to build your own. You can use the Azure AI Foundry evaluation suite rather than building some random Arize setup or some other trap. Just use the cloud providers: Bedrock in AWS, AI Foundry in Azure, or GCP. I think their evals are much more exhaustive, much more scalable and much more production-ready than any startup out there. No offense to them. It’s just that they haven’t solved anything new that the common cloud providers haven’t already solved.

So how does it look? If you build an agent in AI Foundry, or you have traces from an agent… We built this agent inside Foundry: “You are an advanced contract agent that helps legal, procurement and compliance teams analyze contracts. Your responsibilities are these. You’re looking for these terms. You need to find risky, non-standard clauses.” It’s the exact same agent. In Foundry, you specify your prompts, add tools, bring your knowledge and add memory. But building is easy, so we won’t cover building today.

Let’s say you launched it and people are using it, so you have a lot of traces. We launched this agent in production, and now people are talking to it. You go here and set up your evaluations. You can look at all these criteria. You have quality evaluations, which check whether the answer is complete. There’s a retrieval evaluator, which checks it’s honest: the answer is based on the playbook or the contract, and it hasn’t gone and made things up. This one checks whether the tool selection was correct, and whether tool calls succeeded. Then you have criteria for safety and quality. Quality maps to both honesty and helpfulness, and the safety guardrails map to harmlessness. So most of the questions you were asking, getting manual answers to and paying 25 cents for, can be found here in the evaluations.

So how do I set up my evaluations? You go to Azure, go to Evaluations and click Create. You say you’re doing agent evaluations. You can also evaluate a model, or just a dataset. I want to evaluate my agent, so I can select my agent, or bring a dataset from my agent, which is just its questions and answers. I created this dataset. This was the query sent to it: “You’re an advanced agent. Here’s a contract. Find me risks.” And this was its response: these are the risks, these are the clauses, these are the tools it called, and this is the metadata about its state at the time. So either you bring your agent’s queries, responses, tools and state, or you just say “evaluate my agent,” if you built it in Azure Foundry.

I select Agent. I could have selected Dataset. Those are the two interesting ones. Model means you’re only evaluating your model, not your agent. Next, you can evaluate full conversations, if you go back and forth with the agent, or individual turns. In our case we had just one turn: we uploaded the contract, asked for risks and got risks. So I take individual turns.

Then it asks whether you want to run it once or on a schedule. It can test every day on new traces or a new dataset, and keep telling you how you’re doing as you improve. I just say once. Then the data part is interesting. It can generate synthetic data, or you can bring your existing dataset, which is what I showed you earlier: the input you gave and the output you got. So this is my contract, and these are the risks it gave me. Or you can use existing traces. If you built the agent inside Foundry, you can say, “Intelligently find conversations from my agent, across different samples.”

That’s intelligent sampling: finding different kinds of conversations, rather than just taking the top 100. If everybody asks for a refund, you’d only be evaluating one kind of conversation. So it has that built in. It finds different kinds of conversations, and judges different kinds of traces your agent had. Then you’re basically set.

Then you select the model your judge will use. You want a better model than the one in your agent. But a better model also costs more. I’ll just set it to GPT-4.1, or ideally GPT-5 nano. Then I hit Review, and that’s it.

Now look at the criteria piece. You can see all the evaluators here. It also recommends checks for violence, tool use, sexual content, hate and fairness, output quality and self-harm. These are all built in. It can check for sensitive data leakage. It can check what you’re looking for in your ground truth versus reality. It can check coherence, text similarity, and whether a particular answer contains a string. And you can create your own custom ones. I created a few custom ones that say what completeness means for me, based on my criteria. So for the things I’m evaluating, I create a custom evaluator if one doesn’t exist, or I choose from the built-in agent evaluators, like whether it’s calling tools successfully or adhering to tools. If it’s not there, I can build my own. That’s it.

Once you’ve created it, you can run your evaluations. It evaluates and gives you scores across all these dimensions, marking each yes or no. You can look at similarity, click in and see all the details: this was the customer name, it passed the coherence test, it passed the fluency test. Wherever it says pass, you mark your sheet yes, and wherever it says fail, you mark it no. Now you’ve scaled it, and it runs automatically every day. The cost has gone from 25 cents per answer to 0.25 cents. You’ve reduced the cost 100x, which means it now costs you $5,000 rather than $500K.

How do you eval the evals? (1:17:16)

Aakash: How do you eval the evals? How do you make sure this is as good as, or better than, what you were getting from the human lawyer?

Mahesh: Very good question. You put in the evaluator, and you have your human lawyer. Your evaluator fills the sheet with yes or no based on the pass/fail criteria, and you have the same criteria for the humans. I have questions like: Is this complete? Does it do excessive redlining or not? Does it change the clause? Does the clause remain grammatically correct? Let’s say my lawyer said no, yes, no. Then I ran it with the evaluators, and the evaluator came back with yes, no, no. Make sense? So I have my answers.

Then we do something called precision and recall for LLMs. What’s this idea? Before you put the LLM judge in production, you set the criteria. If it matches, that’s a true positive. If it doesn’t, it’s a false positive. Then the number of true positives divided by false positives plus true positives is your precision. You want more true positives and fewer false positives, because you’re penalizing false positives.

In this case, I have one true positive and two false positives. So one divided by two plus one: I have 33% precision. Generally, that needs to be more than 80% before you deploy. So you set that criteria for LLM judges too, because otherwise you’re doing hallucinated work. If they say yes, yes, yes, you’d call it a pass, because you don’t have the human anymore and you want to trust it. So before you put your Azure AI evaluator into production, compare it with the human and make sure the precision, true positives divided by false positives plus true positives, is above 80%. If it isn’t, you tell your team, “We can’t scale our evaluations.”

Precision and recall, explained (1:19:47)

Aakash: And what about recall?

Mahesh: With recall, you have true positives and false positives, and then true negatives and false negatives. Instead of penalizing false positives, I’m trying to get the false negatives out. That doesn’t apply much here, but a false negative is something I said wouldn’t happen, but it did.

Say I’m predicting whether you’ll like a song. From a list of 100 songs, I leave one out, saying you won’t like it. That’s not true, because it’s on your list. If I don’t put it in my list, it’s a false negative. I know you’re just nodding your head, so we need to double-click on that a little more. But in this case, just go with precision: do we have a high true positive rate, a match with the human? Then you set the criteria, and if it’s met, you’re good to go.

Let’s take the song idea, if you want to double-click on recall. Say you’re predicting songs. Given 100 songs, you need to put 10 in my playlist. You say song one, song two, song three, up to song 10. That’s my agent’s job: it predicts these songs. The user also has their own songs out of those 100. That’s your ground truth, like the lawyer’s answers in the example above. They have songs S1, S21, S3 and S4. If you don’t even put one in my list, that’s a false negative: you failed to recall it. But if you put one in and I didn’t like it, because it’s not on my list, that’s a false positive.

So you compare my prediction with my actual. If both are true, it’s a true positive. If my prediction says it should be there, but it’s not in my actual, that’s a false positive. If my prediction says it shouldn’t be there and it isn’t, that’s a true negative. But if my prediction says the song shouldn’t be there and it is, that’s a false negative. Precision tries to minimize false positives, and recall removes the false negatives.

This can be explained better with the risk example. Say I give you 10 risks in a contract, and five are real and five aren’t. I have five true positives and five false positives, so I’m 50% precise. But say instead of 10, I give you 80 risks, and all 10 real ones are in there. My precision in that case is 100%, because I’m only checking what I got: I gave you 80 risks, and the 10 real ones were there. But what kind of product is this? It throws 80 risks at me, and I have to fish out the 10 that are real.

So then we add recall. Recall says: yes, you got the 10 correct, good job, but you have 70 that are false negatives. I’m going to penalize those, and now my number is only about 15% recall, because I’m throwing 80 things at you and I’m only able to recall 10 of them. So I have very bad recall.

So you want to measure both precision and recall, so your agent doesn’t give you too many things just to get the right ones in, because you don’t want to overwhelm the user. At the same time, when you shorten the list, you still want to hit the target. Precision and recall are a way to control both. If you say, “I want only a few options,” your recall will be awesome, but your precision will drop, because with a narrow window of 15 options, finding the 10 is harder. Or you can say, “Give me higher recall, give me 100 things,” and finding the 10 becomes easy.

So your research or engineering team will ask you as a PM, “Do you want higher precision or higher recall? I can’t do both.” As a product manager, you need to decide what matters. That’s what I meant when I said: here, let’s focus on precision and not worry about recall, because we’ve already restricted the options to yes and no. If I’m getting high precision, there’s no room for recall, because recall applies to how many risks I’m getting. Here, the risks are already there. I’m just checking whether this answer matches or not.

Keep it simple: start with accuracy (1:26:18)

Aakash: Let’s say I’m somebody who’s new to evals. I’m following along so far. I understood the three H’s. Let’s say we create 25 questions, so each one gets 4%. I set the difficulty so it matches a public eval, maybe in the 60 to 90% success range. I verify that with a human reviewer. I create an LLM judge. Now, the part where I’m getting confused is that we just layered precision and recall for this LLM judge on top of the three H’s. You’re a master of simplification. Can you simplify how this all comes together?

Mahesh: Let’s forget about precision and recall. We weren’t going to put it in. What you need to check is how much of what your evaluator decided matches what a human decided, and find the accuracy of it. Forget precision and recall, and just check the accuracy of your AI evaluator, or LLM as a judge.

How do you do that? Whenever it matches, that’s good. How many matches? One. How many mismatches? Two. So you can just use accuracy here: one out of three, 33%. Just forget about precision and recall for the time being, and lead with accuracy.

Aakash: Okay. So simplify with accuracy, and get it to 100%?

Why 70 to 80% is good enough (1:29:29)

Mahesh: 80% is good enough, because you’re trying to reduce the cost, and you want the cost to stay manageable. Now you’re shifting the burden from building an awesome agent to building an awesome evaluator, and you’ll spend a lot of money improving the quality of your evaluator. So give it 80%. 80% is good enough to roll out. That’s the criteria we’ve used, somewhere around 70 to 80%. It gets you enough problems to go fix, and even if it misses 2%, you’re doing it every day.

And you augment this with human evals too. You’re not going to evaluate everything with these agents. You’re still going to have humans grade 200 to 1,000 samples every week. Why? Because these evaluators only know the helpful, honest and harmless criteria you learned at the beginning of your product. New things are happening. People are asking new questions, you’re learning how your agent behaves on them, and maybe it’s not fitting your criteria. Maybe the thumbs-downs bring up new things.

These LLM judges only judge what you’ve set up. They won’t come up with new ideas, or remove the questions that are always yes, yes, yes from your evals, when there’s no point testing them anymore and you want to cut them. So you take these answers, compare them with your evaluator live every week, check whether your evaluator still behaves the way it did when you tested it at the beginning, and make sure it stays in that 70 to 80% range.

So there are three steps as you scale your evals. First, find the LLM judges or AI evaluators in Foundry that I showed you, and get them going. Then test them for accuracy, to 70% or more. Once you reach that, you also have humans evaluate 200 to 1,000 samples, and make sure it stays consistent week on week, and that it hasn’t gone bad or diverged as new conversations start happening. That will also help you redefine your criteria for helpful, honest and harmless.

The mistakes teams make with evals (1:32:08)

Aakash: Makes sense. So this is how you actually build production evals. Where do people make mistakes in setting this up?

Mahesh: A lot of people take an LLM judge and never evaluate its quality. They say, “Here’s my LLM as a judge,” and because it’s an LLM, and it’s a judge, and it gives results, and it’s very visual and says “completeness 100%” in green, they just trust it. They take a screenshot and say, “We’ve achieved nirvana.” That’s number one.

Another thing people don’t do is break down their evaluation criteria enough. They ask a broad question, like “Is this helpful?” “No, it’s not helpful.” Then your team asks why it’s not helpful, so they can make it helpful. Helpful is such a broader term. You need to break it down: what does helpful mean? People don’t do enough work breaking helpful down to the last level of questions, where anybody can answer a binary yes or no, and the explanation makes sense to the person who’s going to improve it. People don’t break down their evaluations enough. That’s one challenge with these evals.

Then, once people have an LLM as a judge and their evaluators, they forget the manual step. They never check manually, and don’t put in the effort and energy. Without that, they are flying blind. In the beginning the judge was at 70%, but as you get real queries, they bring even more challenges, and it has actually dropped to 20%, then 10%, week on week, and nobody knows. Now your criteria are wrong, and your evaluator is wrong. It doesn’t match the ground truth. So not generating new ground truth week on week, and not keeping track of your scaled AI evaluators, is another mistake.

Why LLMs can’t tell you how sure they are (1:34:13)

Aakash: We keep hearing about these new instant decision models, which are AI models but not LLMs. Microsoft released its decision model. TypeSafe AI released Jev, and on the back of that they just got a $10 billion valuation. Cloudflare released their own. How can these new decision models help us in our evals? I think you previewed that they could reduce the cost, and maybe even the time. How should people think about decision models and evals?

Mahesh: That’s a great question, and this is the new thing we’re going to unbox this time. You’re looking at this and saying, “Mahesh, it costs me $25K and six hours to run my evals every week, even with Azure evaluators.” And by the way, these are decisions, yes or no questions, because you’ve done the hard work of turning “helpful” into a simple question: “Does this clause, after modification, follow all grammar rules?” The answer is yes or no. It’s a decision.

What TypeSafe’s Jev does, and what decision models from OpenAI or Microsoft are doing, is this. LLMs are trained with RLHF to generate text that humans love: answers or summaries based on human feedback. That means there’s no way to build confidence into them. If it gives me an answer, it can give me a confidence too, but that confidence is also a next-word prediction trained with RLHF. It’s human preference, not objective truth.

So yes, I can get answers from LLMs, like the yes or no in our evaluators. But if I want to know how confident it is that this clause isn’t met, it doesn’t give me any confidence today. And even if I ask for a confidence in my prompt, it will hallucinate the confidence too. That’s because we used RLHF: you take humans to build a reward model, then use that reward model to incentivize your RL policy to behave like humans. If a human says, “I’m confident,” the model says, “I’m super confident.” And as you’ve seen all along, humans are very confident people. So that same bias is in there. If you ask it for confidence, you’ll get an answer, but never the right confidence. And without the right confidence, you can’t say which evals need to be reviewed by a human lawyer.

Remember, I’m taking a random 2,000 to 3,000, because I can’t trust my LLM judge to tell me when it’s gone wrong. If I could, the right eval would be: “AI evaluator, or LLM as a judge, give me a yes or no answer. And when you do, also give me a confidence for how sure you are.” And if the confidence is lower than 70%, I want those 200 to 1,000 evaluated by humans. That would be a perfect eval setup. But I can’t do that with LLMs today.

And TypeSafe has said you can’t do it with any LLM, by the way, because these LLMs are here to please you. Why? Because the technique we used generates the next word with human preference. That human preference, encoded in the human feedback, is used in the reward model, and the reward model is optimized for reinforcement learning. So it doesn’t know what confidence is. It doesn’t do probability distributions or any math. It’s whatever humans encode in it, and to them, confidence is just a word.

How decision models like Jev work (1:38:45)

Mahesh: So they came up with a technique called RLCD: a new training method that does reinforcement learning on distributions, rather than on human feedback. That means you need to tell it the options first. It can’t generate text, because it doesn’t know what the answer is. But if you give it the choices, like yes or no, or whether the contract is an NDA, an MSA or a data privacy agreement, it can tell you based on the question.

So in Jev, you provide the state, the context. Then you provide the question. Then you set up your choices: a score, or a yes or no answer. You tell it the context and what kind of question you’re asking, and you give it the options. In choices, I can upload a contract and ask whether it’s an NDA, and I define what an NDA is, what an MSA is and what a DPA is. All this model is trained to do is take those options and give the best possible answer, based on what it has seen. It’s a different training technique, and when it does that, it also gives me a confidence, which they claim you can trust 99%. That’s more than you could get from an LLM.

So finally, for the last two months or so, we have a way to get answers, if we set up our questions and state correctly, along with a confidence value. And because it’s not an LLM, with the job of human-preference training and generation and all that, it can be a comparatively small model, and it can run very fast.

Running the same evals with Jev (1:41:11)

Mahesh: So we took the evals we just did with AI evaluators and set them up for Jev. I want to show you how it actually worked, rather than talk about it.

We already showed you that we ran these in Azure and saw awesome results. We set up the criteria and the quality evaluators in Azure, and we got the results. We reduced our cost by 100x. Azure has built-in evaluators, and you can also set up criteria for monitoring. For example, if a particular evaluator’s value drops below 5%, say people are sending security-related harmful questions and you’re answering badly, you can get alerts. You can set all of this live, set up monitoring and configure live evaluations. So that was AI evaluators.

Then we said, instead of this, let’s use the same sheet we were producing. I created the same sheet and put in my answers. Then in Claude, I installed the Jev plugin. If you go to their website, you can see Jev’s plugin. I went to Customize, then Plugins, and installed it. We’ll give you a lab that shows you how to get this TypeSafe plugin. Now I can ask this plugin a question, or upload my sheet and ask it to fill in the yes and no evaluations.

That’s exactly what I did. For this demo today, I gave it my API keys for Jev. We’ll rotate them. I said, “Understand Jev, use the documentation and verify the connection. Once you’ve done that, use this cost for the output tokens of every Jev call, and save the skill.” So I created a skill that lets me do evaluations. It said, “Okay, I’ve got it. I tried it.” And I got a skill called Jev Evaluate.

Then I gave it the same questions, this redline analysis, exactly what I had here. I said, “Take this contract. This is the contract name, this is the removed part, this is the added part, and this is the playbook it’s based on.” Then I created the evals for Jev: “Jev, build your context using these columns of the row, then answer my questions in these cells, and judge only the single redline in each row.” I gave it all my instructions for the judgment, and some examples, and said, “Just tell me yes and no, with probabilities.” Then I said, “If the confidence is less than 70%, ask for human review. Otherwise, just mark it.”

It went through all my redlines, created the answers, and gave me the cost and time too. Then I gave it the answer keys, the human lawyer’s answers, and said, “Tell me how good you did.” And here are our results.

Jev vs Azure: time and cost (1:44:51)

Mahesh: Jev took 214 seconds. The Jev API cost took that $25K down another 100x. So if it cost $25K, it now costs only $250 to run, and it meets the accuracy. This was the exact same number we had with Azure. The Azure evaluators also had accuracy failures: they got three failures there. Jev predicted 20 yeses and two nos.

So I got all my predictions, and two of them don’t match the human evals. For each, I get a confidence too. When it didn’t match, the confidence was not above 70%. And I can see the second mismatch. So I can put my criteria at around 60% or so, and if it’s lower than that, ask for human review.

So these are my evals, I ran them with Jev, and I can show you the comparison. We set up the same criteria, ran the same questions and got the answers I showed you. Then we compared our evals against Claude: we asked Claude the same questions without Jev. Then we used the Jev skill, which calls the Jev model, to do the evals. And we compared the same with the Azure AI evaluators. You can see the time is basically a tenth, or a twentieth, of what this takes. 50x less. Same with the cost: it’s reduced 100 times, and so is the token consumption. So Jev is the new way to set up your evals. It meets the same quality, and on top of that, it gives you the confidence you need.

Aakash: And I’m pretty sure Microsoft will add their decision model to Azure, so you can probably see those costs come down soon too.

Mahesh: Correct. It’s not Jev’s proprietary thing. The magic is RLCD, which is reinforcement learning with common distribution. That’s what makes it possible to do these things in a new way. The LLM judge is making decisions, and decision models cut the cost and time and give you confidence. If you haven’t restarted your evaluations with RLCD-based decision models, whether that’s Jev, OpenAI’s decision API or Azure’s decision API, you’re doing a lot of costly evals that need to be redone.

That’s our hypothesis. We’re still validating it, so it’s very early stage. We only got Jev access last month, and we’re running a few cycles. We’re very excited about what we’ve seen, and we’ll let you know if something changes. But today, I highly recommend everybody apply Jev to their evals and see if it meets the same accuracy bar first. If it does, move to Jev, because it will cost you 1,000x less, run faster and set the criteria for when to bring in the human experts.

What the PM owns, and what engineering owns (1:48:07)

Aakash: So throughout this process, what are the components a PM owns versus an engineer? What set of meetings am I having with my engineering team across the life cycle of this eval? Am I, as the PM, the one checking that the cost, time and accuracy of Microsoft’s decision model is better than GPT-5.5, so I want to switch to it?

Mahesh: As a product manager, you own the metrics. You own the direction of the cost. First of all, as product managers, you need to come up with the criteria and the questions. That’s nobody else’s job. You’re updating the helpful, honest and harmless questions, and setting the criteria.

Then, in this dimension, you set the cost targets. You say, “Week on week, I want the cost of evals to drop by 30%.” Or month on month, since week on week is a little harder. “Month on month, I want to cut the cost of evals by 30%, because I want to give more tokens to my customers.” Right now we spent $250K first, then $25K, and with Jev we’re spending only $250.

If you set the criteria like this, it gives you a lever: a meeting with your engineering team where you ask, “What are you doing about it?” Smart engineers will do what you did: do the research and try it. It wasn’t very hard. You saw I can just create API keys in Jev (we’ll give you a lab for it), run it in Claude with a prompt and a skill, and it does the work for you. You already have your sheet set up. So you can show them the art of the possible.

But you don’t need to do it yourself. It’s your engineers’ job to scale your evals and reduce their cost. Your job is to set the criteria: “I want the cost of evals to drop 30 to 50% month on month.” Once you’ve set it, you set up meetings, and in those meetings you say, “Guys, this was the cost last month. Are we going to meet or beat this target?” They say, “Mahesh, we’re not going to meet it.” Then I say, “Okay, what did you try?” They say, “We tried nothing.” And I say, “I understand, you guys are busy. Let me show you what I tried with Jev. I don’t know if it will work, but it seems exciting. Are you excited?”

Some of them will say, “But nobody knows Jev. We’re on Azure, and Azure doesn’t have this. We can’t use an open-source model.” You listen. You don’t question it, because this is their territory. Then you wait for Azure, and you say, “Guys, I saw this Azure decision model. Do you want to try it?” And someone will say, “Actually, what Mahesh said wasn’t stupid. I tried it, and it works for me.” The next month he comes to you and says, “I took the OpenAI or Azure decision model and beat this target by 1,000%, by cutting the cost 100x.”

And you gave them the idea. You’re the brain, the fountainhead of the team, giving all the ideas. But they’re the ones who own the evals and are responsible. You’re the one saying the cost of evals can’t keep going up: “We started with humans, then you gave me Azure evaluators. Keep researching the best way to do it. And if the best way is decision models, why aren’t you doing that?” And if they aren’t, you can go ahead and do it, and show them.

So your job is to set the criteria, keep the cost and accuracy functions, set weekly or monthly targets on them and then have the discussions. That way, the latest and greatest edge of AI is in your products too. That’s your new AI PM job.

Evals are 40% of the job (1:52:29)

Aakash: And how important is this to the AI PM job? Is this the biggest change in AI PM? Is it going to determine the success of your performance reviews? Is this what you’re spending 30 to 40% of your time on? What’s the right context for understanding this skill?

Mahesh: Great question. 40 to 45% of your new PM job is basically setting up evals and evaluating your responses, those 200 to 1,000. I used to spend, and I still spend, two days looking at our evals. That means 40% of my time goes into evals. What’s the cost of evals? What problems am I getting? Then bucketing them, behind the scenes, with different teams and different agents, and having the discussion: “Guys, we need to meet our criteria.”

That’s another lever you have. “We’ve gone from 65% to 30% since we added this new customer. These are the buckets of problems, the helpful questions we’re failing more often, that are causing it.” Then you create the dataset and assign them a Jira ticket: “I need it back at 65%. Otherwise I can’t sell to this customer.” That’s your daily routine, your daily ritual, where 40% of your time goes into looking at your evals and seeing whether they meet the criteria you set. And when they don’t, you’re providing all the requirements the team needs to succeed downstream.

And that’s table stakes. The good PMs who will thrive in this world also give their teams ideas on how to achieve it. They say, “I saw we’ve started failing on reasoning, and I saw you’re using GPT-5.1 nano. Can we have OpenRouter-style logic that checks whether a call is reasoning or non-reasoning, and based on that, route some of it to 5.6? I know it will increase our cost, but I read in this paper that it can be done.” And you write a disclaimer: “This doesn’t mean I’m recommending how to do this. I read it and just wanted to share.”

These are the PMs engineers want to work with. Their lives are already so hard. They have to figure out reliability and all that, and they don’t have time to read all this. They may not even understand it to the level you do. Half of your team is new to AI, or even 80% of them. And if you can’t be the fountainhead, the brain, for this AI team, you’re not going to ship products that succeed in customer hands. That’s why you won’t get ROI from your agents compared with mine, and why you won’t succeed: you won’t create the customer value I will, because I’m guiding and leading my teams. That’s the new AI PM, or builder, role.

That’s what the people who built Claude Code are saying, if you listen to them: “We’re doing that job. We’re not coding. We’re figuring out how our code is doing and where we’re failing, then looking at the latest research to figure out where we can pass again.” That’s the iteration. We only have a few Claude Code-type PMs. By the way, that guy also worked as a PM, so he knows he needs to find out where things are failing for customers, have that empathy and bring it back. And he has the research background, so he can fill that gap. Can you fill the first part? You don’t need to worry about the implementation. That’s the new role.

Should PMs build the evals too? (1:56:17)

Aakash: My biggest challenge with all the evals content out there is that I don’t understand why the PM owns the criteria and then doesn’t implement the eval. As you said, it’s so easy in these new harnesses to implement the eval. You could even have Claude’s browser use set up all the stuff on Azure Foundry that you set up. So through natural language prompts, you can do all of the evals. You can have it measure accuracy. If you want to throw away precision and recall, you can, or you can keep them. You can have it do all of that while being the same person who sets up the criteria. So the PM could build the evals very easily now. In the same way, the engineer could build the criteria and do the PM role. So what’s the point of the separation? Why do we have it? Is that just an artifact of the old roles? Are we just trying to justify the AI PM for no reason?

Mahesh: I think that’s a very good question. The challenge is that evals, as you saw, have code in them and prompts in them. That means they need to be checked in and maintained, which means you need to know basic engineering tools like GitHub. Then you need to know tools like Foundry. Then you need to do structured reporting, week on week, on how you’re doing, what you did to improve it and what additional tests you ran.

PMs have generally been abstracted from that kind of language, that kind of toolchain and that kind of tracking of continuous improvement. Like 90% of PMs don’t know how to do GitHub check-ins, or push code with Git-like tools. So the challenge is the continuous iteration, where you’re updating the system prompts of your LLM evaluators, or setting the criteria on some basis, like knowing what Humanity’s Last Exam is for reasoning. People don’t have that, and I think that’s the barrier.

If you take that barrier away with Claude Code, you don’t need to learn GitHub. GitHub is like a plugin. You can just say, “Check in this code,” and it does git pull, git push, git sync and all that. Even if you get conflicts, it will resolve them for you. So if Claude Code or Claude Cowork becomes your new toolset, I see a very valid point that evals should be PM space, and that developing or writing the agent should be the right separation.

I think it’s a great idea. It’s just that we don’t have enough capable PMs raising their hands and saying, “We will own the evals.” And if you don’t own it, everything nobody owns falls to engineering. And yes, it does have some engineering components. I need to maintain and improve my evaluators, which is the same as maintaining my agent. So if you can build and maintain an agent, what’s stopping you from building and maintaining an evaluator? Your agent is also a system prompt at this point. That argument helps engineering win, and say these PMs aren’t eligible.

But if you want a team with a very healthy relationship, you should give more and more control to the PM. I think that’s the right, logical new way to build these teams, because then the evaluation isn’t biased toward what I wrote in the agent, and I don’t even need to know that. The PM should be building evaluators for the competition and for us, and be an objective function inside the team: “I did exactly the same thing with this competitor, with a vanilla skill in Claude and with your agent, and these are the outcomes. And I’ll remain the creative mind that moves it.”

But look at what I did with Jev: there’s code involved. You need to figure out how to set up Jev, the questions and the answers. You have to break it down. It’s the cognitive load that PMs have avoided for a long time, and they continue to avoid it. That’s why I don’t think it will go the way you and I are structuring it. But if we can change one thing, that’s the right thing to change. And that’s why I think more and more PMs are being evaluated on how they set up observability: first setting up these criteria, which decide how you get to these evaluations, and then observing them continuously, for the quality of the agent and the quality of the responses it produces. That lets me ship high-quality, moat-based products.

Mahesh’s takeaways (2:01:15)

Aakash: All right. So somebody has watched this two-hour video. What’s the light at the end of the tunnel? What’s the compensation? What can you actually stand to gain if you truly learned everything we just taught you about evals, going from a regular PM to a PM who’s building AI features and AI evals?

Mahesh: Great question. I know we’ve gone everywhere. We started with how easy it is to build agents. Then what you need to do to evaluate intelligence: forget scaling, what does it take to evaluate humanlike intelligence? Then how to scale it with the existing tools every company has, like Azure evaluators, rather than throwing something fancy at you. Then we said there’s something new, called Jev.

So the takeaways for you: yes, there’s a very structured, easy way to set up your evals, which is helpful, honest and harmless. Find the questions, what they mean for your users, and keep updating them. That’s your new job. Then map those to evaluators, and if they don’t map, create custom evaluators to scale them. And just know, right now, that there’s a way to cut this cost 100x or 1,000x with Jev, and experiment with it.

So those are the four takeaways from today. Building agents is easy. There’s a structured way to set up your evals that tests agents on human judgment. There’s a way to scale it with Azure. And decision models are going to be the next breakthrough, cutting the cost and giving you the confidence you need to automate evals, which wasn’t possible just six weeks ago.

What AI PMs get paid (2:03:08)

Aakash: What is the compensation specifically that AI PMs can make? You’ve worked at Microsoft, Meta, Amazon and Google, these amazing companies. How much can you make working at these companies on these kinds of projects?

Mahesh: If you’re talking about principal level, level seven or level eight, even level six, we’re looking at $750K to $1.2 million. If you’re at the upper band of level seven, or level eight, you’re looking at $1.2 to $2 million. And if you take the stock options into account and how they’ve multiplied, my friends are easily making $2.5 to $3 million.

That’s why our target is to make $3 million, which we were discussing yesterday, before we started the podcast. I need to catch up with them, because when I left I was easily making north of $1.2 million, and I’m trying to see how we can meet and beat that number working outside. That’s a common number you’ll make.

And that’s the compensation for solving these problems: you’ll be the sought-after PM, and you can negotiate whatever price you think is right, because you’re reducing the time it takes them to ship high-quality agents. You’re also convincing their customers that it’s not right for them to do it themselves, and that they need your help and your company’s help.

The cost of not hiring people like this, product managers with AI skills, is that you’ll build vanilla agents. You’ll ship a lot of them, but you’ll never get your customers back. That’s one. Second, you’ll never ship really good, high-quality agents, because nobody knows how to set the criteria and scale them. Third, you’ll never be able to identify the right opportunities and price them right.

Those two things we’ll talk about some other day: how to identify what’s still left for agents to do, or for your company to build agents on, in the new world, and how to price it. Pricing will be different for different customers, and for different agent workloads inside a customer. And it changes so fast, like we saw with decision models. How can you predict the future, so you can give more than your competition can?

And if you don’t bring in people with these skills and compensate them, the kind of compensation I’m talking about, you’re not going to get the leverage in this new AI world, which I think is an existential crisis for pretty much every company out there.

Pay outside the US (2:05:55)

Aakash: What do these salaries look like across the globe? Because those sound to me like high cost-of-living salaries. And what really is the roadmap for someone to get to a million dollars plus as a PM?

Mahesh: If you look at my salary, in the last three years it has gone up four times. I don’t know how people get compensated in India, because I only worked there very early in my career, before 2010. So I don’t know the compensation numbers in India, even though I’m from India. And Europe, I have no clue, because I never got paid in Europe.

So whatever your number is, you can expect to double it, and in four years you should be getting two to three times as much, if you switch to AI. That’s my first answer. And what was your second question? So just take whatever your number is: if you come to AI, it will double or triple in the next three years. And if it doesn’t, you’re missing the wave.

That’s what the real compensation should be, and that’s how you should position yourself. Companies want the top 5% of talent, and your company will be making 2 to 10x more, so you should incentivize your people the same way. It’s not that you’re hiring these people and paying them more because AI is cool. It’s because they’re going to build these agents and give you this scale and this intelligence, and give your customers a new way to look at their business and what they can offer. That’s going to produce 10 to 100x value, and that value should go to the people who make it happen, at two to three times. That’s what my equation says, and that’s what has played out for all my friends who started in AI 10 years ago. They’re all compensated very well, working in the research labs of Anthropic, OpenAI and Meta.

The roadmap from €80K to $1M (2:07:50)

Aakash: All right, you guys. He’s here at six o’clock on a Friday, talking about AI three hours into a podcast, and I’m going to ask him one last question. These numbers are just mind-blowing to many people. The average person watching my podcast, I would say, might be making $150,000 to $200,000. They might be making 40 to 50 lakhs per annum in India. They might be making €80,000 to €100,000 a year in Europe. So the numbers you’re talking about are just crazy. If you’re that mid-level PM in that geography, what’s Mahesh’s roadmap? How do I go from €80,000 to $1 million USD?

Mahesh: First, you need to understand what an agent harness is and how it’s built. That’s the basic ecosystem knowledge, and it might take you one to five days. Pick any harness, like Claude Code or Cowork, and try to build an agent with it. See the problems of context, actions and evaluations inside it. Watch its logs while it works, and build a deep understanding of what a harness is, how it works and what its limitations are. That’s your first 5 to 15 days of work.

Once you’ve figured that out, figure out where agentic AI actually delivers value and where it doesn’t. We have a framework, with low to high cost of error on the y-axis, and explicit to tacit knowledge on the x-axis. You should be able to go to any company and say, “Here’s a roadmap for you to use AI. These are the things you should automate. This is where you should build a copilot. This is where you should build an audit agent. And this is where you shouldn’t do anything with AI, because the cost of error is so high, the knowledge needed is so tacit, and the benchmarks aren’t going to meet any criteria.”

So you should have that framework, and build that AI product sense. That might take five iterations in your industry, with five examples. Do those case studies, publish them and review them with your peers and industry experts, to check you got it right. Those are the case studies you’ll talk about in interviews, when they say, “We have this, we’re doing this, it doesn’t work, OpenAI is doing the same thing. How can we scale?” And you’ll say, “I’ve seen this problem. Let me show you. You’re doing this wrong. This isn’t a copilot, you should automate this. This doesn’t meet the automation criteria, it needs to stay with humans, and you can help them with analytics to make the call. You’re making the wrong choices. Here’s my framework, and this is how I’d restructure your AI investments.” You need to become that. That’s your next five case studies, one every three days, so 15 days of work. So: 10 days of harness work, then 15 days of that.

Once you reach that, you should be able to talk about evals, which we just covered. You understand harnesses, and you can create roadmaps for companies on how and where to place their bets. Then set up these evals and talk about them. So watch our three-hour video. Then, once you have your agents, have at least two or three examples. Azure gives you $300 in credits to create agents and set up evals. Take the agents you recommended in your case studies, actually build them and show the iterations: “The first iteration was so bad, then I improved it. And this is how I improved my evals. I removed these questions, because they were always passing. Once I looked at the traces, I found I’d missed these. And I have these five iterations of evals.” That’s another 15 to 20 days of work.

Then think about go-to-market. Think about a world where tokens are the cost, and it’s a variable cost. There’s no fixed cost on your side anymore either. A heavy user of your agent, like our risk agent, is going to consume a million tokens, or a million dollars’ worth of risk checks. How should you price your product so your customer gets enough value for what they pay, while you keep your profit margins? For the same case studies you identified, you built the evals. Now build a pricing or GTM strategy.

Once you have those five examples and iterations, you can be the AI PM everybody claims to be but nobody is. Those are the iterations you’ll need, and these are the four muscles. One, you have a deep understanding of what a harness is, and you’ve built harnesses. Two, you can build AI roadmaps. Three, you can evaluate any agent and tell me how you’d do it and how you’d scale it. And four, you can help me with GTM and pricing, given all the variable components that come with evals and continuous development, across my heavy, mid and light users.

Where to find Mahesh (2:13:33)

Aakash: Guys, Mahesh has been super generous with his time on this podcast. Just think about all the valuable nuggets you got out of it. Let’s go storm all of his businesses with a bunch of people from Aakash’s podcast. This is his startup, where he can help you with enterprise AI transformation. This is his agentic AI product management certificate. And this is his Claude bootcamp. Use the links below, so he knows you came from the podcast, and we can get him back to teach us how to price these AI products soon, and have him back next year as well. Mahesh, thank you so much for being here.

Mahesh: It’s such a pleasure, and thank you for giving me the opportunity again. Always a pleasure, and thank you for your curious questions. They help me stay aligned.

Leave your thoughts