{"id":5415,"date":"2020-01-13T10:32:25","date_gmt":"2020-01-13T10:32:25","guid":{"rendered":"https:\/\/waydev.co\/?p=5415"},"modified":"2026-11-01T23:52:51","modified_gmt":"2026-11-01T23:52:51","slug":"three-valuable-business-lessons-we-were-reminded-of-while-rewatching-moneyball","status":"publish","type":"post","link":"https:\/\/waydev.co\/pl\/three-valuable-business-lessons-we-were-reminded-of-while-rewatching-moneyball\/","title":{"rendered":"Moneyball for AI Agents: Four Lessons for Engineering Leaders"},"content":{"rendered":"<link rel=\"preconnect\" href=\"https:\/\/fonts.googleapis.com\">\n<link href=\"https:\/\/fonts.googleapis.com\/css2?family=Inter:wght@400;500;600;700&#038;family=JetBrains+Mono:wght@500&#038;display=swap\" rel=\"stylesheet\">\n<style>\n.wd-post{--ink:#0a0a0a;--ink2:#3d3d3d;--mute:#6b6b6b;--line:#e6e6e6;--soft:#f5f5f4;--accent:#0085FF;--good:#1a7f37;--bad:#b42318;font-family:Inter,Arial,Helvetica,sans-serif;color:var(--ink);background:#fff;line-height:1.7;font-size:18px;max-width:1120px;margin:0 auto;padding:0 24px 80px;box-sizing:border-box}\n.wd-post *{box-sizing:border-box}\n.wd-post h1,.wd-post h2,.wd-post h3{letter-spacing:-0.02em;line-height:1.15;margin:0;color:var(--ink)}\n.wd-post p{margin:0}\n.wd-post a{color:var(--accent);text-decoration:none;font-weight:600}\n.wd-post a:hover{text-decoration:underline}\n.wd-wrap{max-width:760px;margin:0 auto}\n.wd-mono{font-family:'JetBrains Mono',Menlo,Consolas,monospace}\n.wd-eyebrow{display:inline-flex;align-items:center;gap:10px;font-size:13px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--mute)}\n.wd-eyebrow::before{content:\"\";width:24px;height:1px;background:var(--accent)}\n.wd-hero{text-align:center;padding:72px 0 48px}\n.wd-hero .wd-eyebrow{justify-content:center}\n.wd-hero h1{font-size:clamp(36px,5.2vw,60px);font-weight:700;margin:20px auto 0;max-width:900px}\n.wd-hero h1 span{color:var(--mute)}\n.wd-dek{font-size:clamp(18px,2vw,21px);color:var(--ink2);max-width:700px;margin:22px auto 0}\n.wd-meta{margin-top:20px;font-size:14px;color:var(--mute)}\n.wd-updated{display:inline-block;margin-top:14px;font-size:13px;padding:6px 14px;border:1px solid var(--line);border-radius:999px;color:var(--mute)}\n.wd-body p+p{margin-top:18px}\n.wd-body{color:var(--ink2)}\n.wd-section{margin-top:72px}\n.wd-num{font-family:'JetBrains Mono',Menlo,Consolas,monospace;font-size:14px;color:var(--accent);font-weight:500}\n.wd-section h2{font-size:clamp(26px,3.2vw,36px);font-weight:700;margin:10px 0 20px}\n.wd-quote{margin:28px 0;border-left:3px solid var(--accent);padding:4px 0 4px 22px;font-size:21px;font-weight:600;line-height:1.5;color:var(--ink)}\n.wd-quote cite{display:block;margin-top:10px;font-size:15px;font-weight:500;color:var(--mute);font-style:normal}\n.wd-new{margin-top:96px;background:#0a0a0a;color:#fff;border-radius:20px;padding:56px 48px}\n.wd-new .wd-inner{max-width:820px;margin:0 auto}\n.wd-new h2{color:#fff;font-size:clamp(28px,3.6vw,44px);font-weight:700;margin:12px 0 20px}\n.wd-new h2 span{color:#8a8a8a}\n.wd-new .wd-body{color:#bdbdbd}\n.wd-new .wd-body strong{color:#fff}\n.wd-new .wd-eyebrow{color:#8a8a8a}\n.wd-badge{display:inline-block;font-family:'JetBrains Mono',Menlo,Consolas,monospace;font-size:12px;color:#fff;background:var(--accent);border-radius:999px;padding:4px 12px;margin-left:10px;vertical-align:middle}\n.wd-stats{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;margin:32px 0}\n.wd-stat{border-top:2px solid #fff;padding-top:16px}\n.wd-stat b{display:block;font-size:40px;line-height:1;letter-spacing:-0.03em;color:#fff}\n.wd-stat p{font-size:15px;color:#a3a3a3;margin-top:8px;line-height:1.45}\n.wd-src{font-size:13px;color:#737373}\n.wd-map{width:100%;border-collapse:collapse;margin:32px 0;font-size:16px}\n.wd-map th{text-align:left;font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:#8a8a8a;padding:10px 12px;border-bottom:1px solid #fff}\n.wd-map td{padding:14px 12px;border-bottom:1px solid #262626;color:#bdbdbd;vertical-align:top}\n.wd-map td:nth-child(2){color:#fff;font-weight:700;background:#151515}\n.wd-formula{margin:28px 0;background:#151515;border:1px solid #262626;border-radius:12px;padding:20px 22px;font-family:'JetBrains Mono',Menlo,Consolas,monospace;font-size:15px;line-height:1.9;color:#d4d4d4;overflow-x:auto}\n.wd-formula span{color:#737373}\n.wd-formula b{color:var(--accent);font-weight:500}\n.wd-rank{margin:32px 0;background:#fff;color:var(--ink);border-radius:14px;padding:22px 24px}\n.wd-rank h3{font-size:16px;font-weight:700;display:flex;justify-content:space-between}\n.wd-rank h3 span{font-family:'JetBrains Mono',Menlo,Consolas,monospace;font-size:12px;color:var(--mute);font-weight:500}\n.wd-row{display:flex;align-items:center;gap:16px;padding:14px 0;border-bottom:1px solid var(--line)}\n.wd-row:last-of-type{border-bottom:0}\n.wd-row .r{font-weight:700;color:var(--mute);width:20px}\n.wd-row .n{flex:1}\n.wd-row .n b{display:block;font-size:16px}\n.wd-row .n small{font-family:'JetBrains Mono',Menlo,Consolas,monospace;font-size:12.5px;color:var(--mute)}\n.wd-row .w{font-size:22px;font-weight:700}\n.wd-callout{margin-top:14px;background:#eaf4ff;color:#0a4a8a;border-radius:10px;padding:12px 14px;font-size:15px;font-weight:600}\n.wd-rule{margin-top:28px;border:1px solid #333;border-left:4px solid var(--accent);border-radius:10px;padding:18px 20px;color:#fff;font-weight:600;font-size:18px}\n.wd-links{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:28px}\n.wd-links a{display:block;background:#151515;border:1px solid #262626;border-radius:12px;padding:16px;color:#fff;font-size:15px}\n.wd-links a small{display:block;font-weight:400;color:#a3a3a3;margin-top:4px;font-size:13.5px;line-height:1.45}\n.wd-close{margin-top:72px}\n.wd-cta{margin-top:40px;background:var(--soft);border-radius:20px;padding:40px;text-align:center}\n.wd-cta h2{font-size:clamp(24px,3vw,32px);font-weight:700}\n.wd-btn{display:inline-block;margin-top:20px;padding:14px 28px;border-radius:8px;background:var(--ink);font-weight:600}\n.wd-post a.wd-btn{color:#fff}\n.wd-post a.wd-btn:hover{text-decoration:none;opacity:.9}\n.wd-sign{margin-top:40px;font-size:16px;color:var(--mute)}\n.wd-sign b{color:var(--ink)}\n@media (max-width:760px){.wd-new{padding:36px 20px}.wd-links{grid-template-columns:1fr}.wd-map{font-size:14px}.wd-map td,.wd-map th{padding:10px 8px}}\n<\/style>\n<article class=\"wd-post\">\n<header class=\"wd-hero\">\n<span class=\"wd-eyebrow\">Leadership \u00b7 AI<\/span><\/p>\n<h1>Moneyball for AI agents: <span>four lessons for engineering leaders<\/span><\/h1>\n<p class=\"wd-dek\">In 2020, Moneyball taught us to trust the right numbers. In 2026, the same idea decides which AI coding agents are worth paying for.<\/p>\n<p class=\"wd-meta\">Alex Circei, CEO and Co-Founder, Waydev<\/p>\n<p><span class=\"wd-updated\">Originally published January 13, 2020 \u00b7 Updated November 2, 2026<\/span><br \/>\n<\/header>\n<div class=\"wd-wrap wd-body\">\n<p>While the winter holidays are always the perfect time to disconnect from work and enjoy time with family and friends, they usually come at the price of a somewhat painful return to our work lives. To help reduce the stress, we decided to start a new tradition and kick off the year with a good movie or two. Since it had to be something both entertaining and inspiring, we chose a classic: <a href=\"https:\/\/en.wikipedia.org\/wiki\/Moneyball_(film)\"><em>Moneyball<\/em><\/a>, the 2011 film starring Brad Pitt.<\/p>\n<p>Based on true events, it tells the story of Billy Beane, General Manager of the Oakland Athletics baseball team, who started using sabermetrics, an empirical analysis of baseball that uses statistics to improve team performance. With this new approach, Beane took the Oakland Athletics from a low-performing team to a success that shocked the sports world, including a run of 20 consecutive wins.<\/p>\n<p>Six years after we first wrote this, the lessons matter more than ever, because engineering teams now have a new kind of player on the roster: AI agents. Here is what we learned, then and now.<\/p>\n<section class=\"wd-section\"><span class=\"wd-num\">Lesson 01<\/span><\/p>\n<h2>Learn to embrace change (especially when it&#8217;s the only option)<\/h2>\n<p>The movie reminded us that change is never easy, and it often comes as the last resort: an option that is unpopular, unwanted and fraught with danger. The story does not portray Beane as a visionary who chose a new path because he was bored. He did it because the team was sinking, and it had become clear that the old strategy would not get them anywhere.<\/p>\n<p>Whether you are managing a sports team, a marketing team or an <strong>engineering team<\/strong>, there will come a time when a big change is what helps you reach daring goals. So, when was the last time you took a risk with your team: switching to a new tool, changing the way you hold meetings, or looking at your team&#8217;s performance in a different light?<\/p>\n<\/section>\n<section class=\"wd-section\"><span class=\"wd-num\">Lesson 02<\/span><\/p>\n<h2>There&#8217;s magic in numbers<\/h2>\n<blockquote class=\"wd-quote\"><p>&#8220;People are overlooked for a variety of biased reasons and perceived flaws. Age, appearance, personality. [\u2026] Mathematics cuts straight through that.&#8221;<cite>Peter Brand, Moneyball<\/cite><\/p><\/blockquote>\n<p>The movie shows how statistics helped the Oakland Athletics build a winning team, and the same is true in business. No manager can afford to ignore the numbers. Whether you are looking at sales reports, financial projections or a new team structure, the best decisions come from <strong>thorough analysis, not gut feeling<\/strong>.<\/p>\n<p>In engineering, we have learned one important refinement since 2020: measure teams and systems, not individual people. The most useful numbers show where work gets stuck, how delivery flows and what it costs, so leaders can fix the system rather than rank the people in it.<\/p>\n<\/section>\n<section class=\"wd-section\"><span class=\"wd-num\">Lesson 03<\/span><\/p>\n<h2>Others will follow (but probably not when you need them to)<\/h2>\n<p>There is a powerful moment near the end of the movie where the owner of the Boston Red Sox, realizing that sabermetrics will be the future of the game, tells Beane he was &#8220;the first guy through the wall,&#8221; and that it always gets bloody. Change feels threatening to everyone, not only to the people making it, so expect resistance from all sides. Others follow only after they see that it works.<\/p>\n<p>Two years after Beane turned down the Red Sox&#8217;s offer to become their general manager, a reported $12.5 million deal, the Red Sox won the World Series using the strategy he helped pioneer.<\/p>\n<\/section>\n<\/div>\n<section class=\"wd-new\">\n<div class=\"wd-inner\">\n<span class=\"wd-eyebrow\">Lesson 04<\/span><span class=\"wd-badge\">new in 2026<\/span><\/p>\n<h2>Your AI agents need their own <span>Moneyball.<\/span><\/h2>\n<div class=\"wd-body\">\n<p>Most engineering organizations now pay for several AI agents at once: an assistant in the IDE, a coding agent, a review agent, and sometimes agents built in-house. And most measure them the way baseball scouts once measured players, by what is easy to see: how much code each agent writes, and how many of its suggestions are accepted.<\/p>\n<p>That is the equivalent of judging a hitter by how hard he swings.<\/p>\n<\/div>\n<div class=\"wd-stats\">\n<div class=\"wd-stat\"><b>$63 \u2192 $1,314<\/b><\/p>\n<p>AI spend per developer per quarter, in one year<\/p>\n<\/div>\n<div class=\"wd-stat\"><b>57% \u2192 59%<\/b><\/p>\n<p>share of time on new features, barely moving<\/p>\n<\/div>\n<\/div>\n<p class=\"wd-src\">Source: DX, State of AI Impact in Engineering: Q3 2026 Report.<\/p>\n<div class=\"wd-body\" style=\"margin-top:28px\">\n<p>Billy Beane&#8217;s insight was simple: <strong>pay for the statistics that actually produce wins, not the popular ones.<\/strong> For AI agents, a &#8220;win&#8221; is code that reaches production and stays there, at a reasonable cost. So we translated sabermetrics into metrics for agents:<\/p>\n<\/div>\n<table class=\"wd-map\">\n<thead>\n<tr>\n<th>Moneyball<\/th>\n<th>For AI agents<\/th>\n<th>What it measures<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>On-base percentage<\/td>\n<td>Survival rate<\/td>\n<td>Agent code merged and not reverted within 30 days<\/td>\n<\/tr>\n<tr>\n<td>Slugging<\/td>\n<td>Weighted impact<\/td>\n<td>How large and complex the surviving changes are<\/td>\n<\/tr>\n<tr>\n<td>Cost per win<\/td>\n<td>Cost per surviving PR<\/td>\n<td>Token spend divided by PRs that stay in production<\/td>\n<\/tr>\n<tr>\n<td>WAR<\/td>\n<td>Agent WAR<\/td>\n<td>Value above a reference agent, on the same kind of work<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<div class=\"wd-formula\"><span># per agent, per company, per work type<\/span><br \/>survival = surviving_prs \/ merged_prs<br \/>value&nbsp;&nbsp;&nbsp;&nbsp;= impact &#8211; rework<br \/>cost&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= token_spend \/ surviving_prs<br \/><b>agent_war = (value &#8211; reference_value) \/ 100 PRs<\/b><\/div>\n<div class=\"wd-body\">\n<p>Put together, these give every AI agent a single score: <strong>Agent WAR<\/strong>, the value it delivers above a reference agent, compared only on the same kind of work. Put an agent only on easy tasks and it won&#8217;t look better than it is.<\/p>\n<p>When teams look at their agents this way, the results can be surprising:<\/p>\n<\/div>\n<div class=\"wd-rank\">\n<h3>Agent WAR \u00b7 Q3 <span>illustrative<\/span><\/h3>\n<div class=\"wd-row\"><span class=\"r\">1<\/span><\/p>\n<div class=\"n\"><b>Agent B \u00b7 review<\/b><small>survival 91% \u00b7 $3.80 per PR<\/small><\/div>\n<p><span class=\"w\" style=\"color:var(--good)\">+4.1<\/span><\/div>\n<div class=\"wd-row\"><span class=\"r\">2<\/span><\/p>\n<div class=\"n\"><b>Agent C \u00b7 IDE assistant<\/b><small>survival 86% \u00b7 $5.10 per PR<\/small><\/div>\n<p><span class=\"w\" style=\"color:var(--good)\">+2.6<\/span><\/div>\n<div class=\"wd-row\"><span class=\"r\">3<\/span><\/p>\n<div class=\"n\"><b>Agent A \u00b7 coding agent<\/b><small>survival 71% \u00b7 $11.40 per PR<\/small><\/div>\n<p><span class=\"w\" style=\"color:var(--mute)\">+0.4<\/span><\/div>\n<div class=\"wd-row\"><span class=\"r\">4<\/span><\/p>\n<div class=\"n\"><b>Agent D \u00b7 internal agent<\/b><small>survival 58% \u00b7 $14.20 per PR<\/small><\/div>\n<p><span class=\"w\" style=\"color:var(--bad)\">\u22121.2<\/span><\/div>\n<p class=\"wd-callout\">The most-used agent ranks third on value, and each PR it gets into production costs 3\u00d7 more than the top agent&#8217;s.<\/p>\n<\/div>\n<p class=\"wd-rule\">One rule above all: Agent WAR ranks AI agents, never people.<\/p>\n<div class=\"wd-body\" style=\"margin-top:24px\">\n<p>Engineers aren&#8217;t players to be traded on a scoreboard. The point is to decide which agents to pay for, and which kind of work to give each of them. The building blocks are already in Waydev, and Agent WAR is the next step we&#8217;re working on: turning them into one clear ranking of your agents.<\/p>\n<\/div>\n<div class=\"wd-links\"><a href=\"https:\/\/waydev.co\/features\/ai-agent-observability\/\">AI Agent Observability<small>See what every agent does across your SDLC.<\/small><\/a><a href=\"https:\/\/waydev.co\/features\/human-and-agent-spend\/\">Human and Agent Spend<small>See who did the work: people, tools or agents.<\/small><\/a><a href=\"https:\/\/waydev.co\/features\/ai-spend-hub\/\">AI Spend Hub<small>See what your AI tools cost and what they shipped.<\/small><\/a><\/div>\n<\/div>\n<\/section>\n<div class=\"wd-wrap\">\n<section class=\"wd-close wd-body\"><span class=\"wd-num\">Then and now<\/span><\/p>\n<h2 style=\"font-size:clamp(26px,3.2vw,36px);font-weight:700;margin:10px 0 20px;color:var(--ink)\">The lesson hasn&#8217;t changed. The players have.<\/h2>\n<p>In 2002, the teams that trusted the right numbers won with smaller budgets. In 2026, the same will be true for AI. The companies that measure what their agents actually deliver, not how busy they look, will get more from every dollar they spend on AI. And, as Lesson 3 reminds us, everyone else will follow, just a little later.<\/p>\n<\/section>\n<div class=\"wd-cta\">\n<h2>See how your AI agents really perform.<\/h2>\n<p><a class=\"wd-btn\" href=\"https:\/\/waydev.co\/demo\/\">Book a demo<\/a><\/div>\n<p class=\"wd-sign\"><b>Alex Circei<\/b><br \/>CEO and Co-Founder, Waydev<\/p>\n<\/div>\n<\/article>\n","protected":false},"excerpt":{"rendered":"<p>In 2020, Moneyball taught us to trust the right numbers. In 2026, the same idea decides which AI coding agents are worth paying for.<\/p>","protected":false},"author":1,"featured_media":5416,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"content-type":"","footnotes":""},"categories":[51,64],"tags":[],"fgroups":[],"class_list":["post-5415","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-analtyics","category-git-analytics"],"acf":[],"_links":{"self":[{"href":"https:\/\/waydev.co\/pl\/wp-json\/wp\/v2\/posts\/5415","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/waydev.co\/pl\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/waydev.co\/pl\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/waydev.co\/pl\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/waydev.co\/pl\/wp-json\/wp\/v2\/comments?post=5415"}],"version-history":[{"count":2,"href":"https:\/\/waydev.co\/pl\/wp-json\/wp\/v2\/posts\/5415\/revisions"}],"predecessor-version":[{"id":24775,"href":"https:\/\/waydev.co\/pl\/wp-json\/wp\/v2\/posts\/5415\/revisions\/24775"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/waydev.co\/pl\/wp-json\/wp\/v2\/media\/5416"}],"wp:attachment":[{"href":"https:\/\/waydev.co\/pl\/wp-json\/wp\/v2\/media?parent=5415"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/waydev.co\/pl\/wp-json\/wp\/v2\/categories?post=5415"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/waydev.co\/pl\/wp-json\/wp\/v2\/tags?post=5415"},{"taxonomy":"fgroups","embeddable":true,"href":"https:\/\/waydev.co\/pl\/wp-json\/wp\/v2\/fgroups?post=5415"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}