<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Rivus AI Blog - Medium]]></title>
        <description><![CDATA[A collection of stories, experiences, adventures, and misadventures from trenches of software engineering and AI. - Medium]]></description>
        <link>https://medium.com/rivus-ai-blog?source=rss----f0d586a4095c---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Rivus AI Blog - Medium</title>
            <link>https://medium.com/rivus-ai-blog?source=rss----f0d586a4095c---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 14:49:28 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/rivus-ai-blog" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Green Tests, Red Grader]]></title>
            <link>https://medium.com/rivus-ai-blog/green-tests-red-grader-3ba44992f655?source=rss----f0d586a4095c---4</link>
            <guid isPermaLink="false">https://medium.com/p/3ba44992f655</guid>
            <category><![CDATA[vibe-coding]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[aritificial-intelligence]]></category>
            <category><![CDATA[ai-agent]]></category>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[Vince]]></dc:creator>
            <pubDate>Mon, 06 Jul 2026 15:28:41 GMT</pubDate>
            <atom:updated>2026-07-06T15:28:41.167Z</atom:updated>
            <content:encoded><![CDATA[<p>A run of Ruby posts showed up in my LinkedIn feed recently. The algorithm decided I needed them, and it successfully pulled me out of whatever I was doing. I wrote a lot of Ruby once, and I loved it, and still do now (<em>very much less on the writing</em>). The posts made me nostalgic about the time where code generation was pressing the tab key on RubyMine.</p><p>I loved it for the obvious things first: the terseness, the readability, code that read almost like the sentence you’d use to explain it out loud. But Ruby is also where I actually learned to write <em>good</em> software. Heavy OOP. DRY. Clean code. I was more than a little obsessed with code quality back then, and Ruby rewarded the obsession instead of punishing it — elegance was the path of least resistance, not something you had to wrestle the language for. Then came Rails, and convention over configuration: the almost radical idea that most decisions already had a sensible default, so you could spend your attention on the handful of things that were genuinely yours to decide. A surprising amount of what I still believe about good code — the principles that have outlasted every language fashion since — I picked up in those years.</p><h3>The hunch</h3><p>I had a naive hunch. I thought to myself, hang on, Ruby is terser than JavaScript, (maybe) Python, even more so than other languages (<a href="https://arxiv.org/abs/1409.0252"><em>and boy am I glad I found some supporting data on this anecdotal idea</em></a>). It’s more expressive, less ceremony per idea. <strong>So, maybe, I figured, an LLM codes it <em>better</em>: fewer tokens to fumble, a cleaner mental model, less boilerplate to get wrong.</strong></p><p>I knew it was backwards even as I was thinking it, and the answer was sitting right there. <strong>A model is good at what it has read the most of, and it has read an ocean of Python and JavaScript and a puddle of Ruby.</strong> Training data wins. Everyone knows training data wins. Next to that, terseness is a rounding error. I knew all of it, and I wanted to run the thing anyway because “I’m fairly sure I’m wrong” turns out to be a flimsier reason to skip an experiment than it pretends to be. So I built a rig around it.</p><p>Four backend stacks, same product spec: Ruby on Sinatra, Ruby on Rack as a control, Python on FastAPI, and Node on Express. The task was a boring little Task-Management REST API, register, login with a mock bearer token, CRUD your tasks behind auth, validate due dates, a public health check. Each stack got built ten times by a multi-agent Opencode workflow — an orchestrator, a worker who writes the code, a critique who reviews until it says APPROVED, and a tester who runs the local suite until it’s green. The one design choice that everything hinges on is that the grading happens outside. There’s an external HTTP grader that lives outside the workspace and only ever talks to the app over real HTTP. Fourteen black-box tests, run against every build, and a trial only counts as a pass if all fourteen come back green. The agents can write all the local tests they want, but they don’t get to mark their own exam.</p><p>Two denominators run through everything below. <em>Out of fourteen</em> is always tests, inside a single build. <em>Out of ten</em> — or five, or fifteen — is always builds: how many runs of the identical task cleared all fourteen.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Xxv5xWReemjzGYcDBXYvDA.png" /></figure><h3>What the agents were thinking</h3><p>There’s a puzzle in that effort-versus-outcome picture: <strong>Ruby and Python spent almost the same, 56 tool calls against 53, $1.47 a run against $1.30. The two landed at opposite ends of the grader, 0 out of 10 against 10 out of 10. Effort wasn’t the variable.</strong> So where did all that work go?</p><p>The Ruby agents were not lazy and they were not dumb. They were <em>busy</em>. The worker on the Sinatra run opens, turn one, already deep in the weeds: <em>“I’m focusing on the rules about date and time… I’ll parse the date properly using Date.strptime and Time.local… I have to be wary of formats, especially with regex.”</em> That’s a good engineer. Focused, organized, correct about the thing in front of it.</p><p>Then you watch the loop churn. By turn 31 the tester is fighting the toolchain instead of the app: <em>“There was an initial failure due to sqlite3 with x86_64, which I fixed using an environment variable for BUNDLE_FORCE and reran bundle install… plain </em><em>bundle exec rspec still fails due to bundler selecting precompiled x86_64 unless the environment is set.&quot;</em> It thinks it&#39;s debugging a native gem architecture problem. The app is broken in a way that has nothing to do with that, but the local suite is green, so where else would you look? And the critique is in here too, doing real work — and partway through, it was sure it had the answer: <em>&quot;I&#39;m dealing with a blocking null update that&#39;s causing a 500 error,&quot;</em> it wrote, recommending the validation reject nulls with a 400. It was right. That&#39;s a real bug. It filed it, approved past it, and never once turned to the thing actually about to kill every external test. Every one of them is competent. None of them is looking at the thing that matters. Across all ten Sinatra runs it added up to 123k input tokens and 56 tool calls a run, the worker alone burning about $0.86 over 23 steps and the critique another $0.45 over 8 — and every authenticated test still came back 401.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fcodepen.io%2Fvincentpaca%2Fembed%2Fpreview%2FPwWEwgV%3Fdefault-tabs%3Dhtml%252Cresult%26height%3D600%26host%3Dhttps%253A%252F%252Fcodepen.io%26slug-hash%3DPwWEwgV&amp;display_name=CodePen&amp;url=https%3A%2F%2Fcodepen.io%2Fvincentpaca%2Ffull%2FPwWEwgV&amp;image=https%3A%2F%2Fshots.codepen.io%2Fusername%2Fpen%2FPwWEwgV-512.jpg%3Fversion%3D1783180974&amp;type=text%2Fhtml&amp;schema=codepen" width="800" height="600" frameborder="0" scrolling="no"><a href="https://medium.com/media/8f4e4888cf323567318d9db438b0721d/href">https://medium.com/media/8f4e4888cf323567318d9db438b0721d/href</a></iframe><p><strong>Python was boring, and the boring is the whole point.</strong> The orchestrator, turn one: <em>“I need to focus on orchestrating rather than just coding… use a to-do list… spawn a worker effectively… Let’s keep everything organized.”</em> No fights, no drama. By turn 19 the worker is already wrapping up: <em>“I’ll list the files changed or created — main.py, tests/conftest.py, tests/test_main.py… let’s wrap this up!”</em> It tested itself <em>less</em> than Ruby did, a test-to-source ratio of 0.64 against Ruby’s 1.04, and it shipped 10 out of 10 on the external grader. Same spec, same model, different stack. It just worked and went home.</p><p><strong>Node was almost lazy, in the good way.</strong> Its critique agent, turn 10, already hedging against its own ecosystem: <em>“the Date parser for dateTime relies on JavaScript’s Date, which might have its own quirks.”</em> It knew where JavaScript bites you and it guarded the door before anything got through. Fewest tokens of any stack, 94k a run against Ruby’s 123k, fewest tool calls, 37 against 56, and the cheapest at $1.15. It scored 9 out of 10, and the one miss had nothing to do with the failure that sank Ruby. Node knew its own failures.</p><p><strong>The Ruby failure wasn’t nine separate weaknesses. It was one root cause fanning out into nine cascading 401s.</strong> Every Sinatra trial died at the same test, the one that checks a mock token works right after registration. Under real WEBrick, the Authorization header arrives encoded as ASCII-8BIT, binary rather than UTF-8. The generated code pulled the username straight out of that header and bound it into a SQLite lookup. Ruby&#39;s own == swore the strings matched, byte for byte. The code looked correct. The database disagreed. The sqlite3 gem binds an ASCII-8BIT string differently than it treats a TEXT column, so the bound comparison came back false — and from there it cascades: nil lookup, no user, 401. Every authenticated CRUD test downstream of that login fails the same way behind it. The local suite never caught a whisper of it, because Rack::Test builds the auth header as an ordinary Ruby UTF-8 source string — &quot;Bearer mock-token-#{username}&quot; — so the local tests never reproduced what real HTTP actually delivers. Green locally, red over the wire.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oqWmtT1VlV4kGde0F0JQLQ.png" /></figure><p>The fix is one line:</p><pre>username = match[1].dup.force_encoding(&quot;UTF-8&quot;)</pre><p>That’s the whole thing. The model couldn’t write that line, and not because it lacked the skill. It never thought to check the boundary where the bug lives. Its testing instincts were built somewhere that boundary doesn’t exist.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eKkBpbArk330Y84Fl_uwZQ.png" /></figure><p>I ran the same Ruby+Rack stack through the same grader on a different model, Claude Opus 4.8, one trial. It scored 13 out of 14. Opus wrote the encoding normalization itself and left a comment explaining that real header values may arrive as ASCII-8BIT and need coercing to UTF-8 so SQLite treats them as text. It checked the real-HTTP boundary before anything broke. GPT-5.5, on the same stack, never thought to look. So &quot;Ruby is bad for LLMs&quot; is the wrong verdict. The stack didn&#39;t change, the model&#39;s attention did. Which raised the obvious question: what happens if I just <em>tell</em> GPT-5.5 where to look?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DxzXGZVFjUpIt0K6PggKfw.png" /></figure><h3>So I fixed it and the bug moved</h3><p>If the model couldn’t see the boundary, the obvious move was to point at it. So I rewrote the critique agent’s instructions to check, explicitly, whether the Authorization header had survived the trip over real HTTP as something other than UTF-8. Then I added more languages and more frameworks, Roda and Flask and Fastify, a Go stack, TypeScript on Express, and re-ran the whole rig from scratch. Twice, on two different machines, because a result this tidy deserves to be doubted once before you believe it.</p><p>The auth bug did what it was told. On Ruby 4.0.5, twelve of fifteen builds wrote the force_encoding coercion themselves, prompted by nothing but that one hint about where the boundary was. Point a competent model at a footgun and it mostly stops stepping on it. That part felt like progress.</p><p>Except Ruby still failed almost every trial (14/15) and almost always at one new test. The due-date validator. The grader hands the API an impossible date, 2099-02-31T00:00:00Z, and expects a 400 back. <a href="https://bugs.ruby-lang.org/issues/5988">Ruby&#39;s </a><a href="https://bugs.ruby-lang.org/issues/5988">Time.iso8601 takes that string, declines to raise, and quietly rolls it forward to March 3rd — a real, valid timestamp — so the check passes and the task gets created</a>. Date.iso8601 would have rejected it outright; the generated code reached for Time on the timestamp path and trusted it. The local suite never caught it, for the same reason it missed the first bug: the agent&#39;s own tests only ever fed the parser real dates, so the lenient parser and the strict one behaved identically and the gap stayed invisible.</p><p>So I closed the door the model kept walking through, and it walked straight through the next one, a boundary I hadn’t thought to name either, sitting one layer back from the one I’d just fixed. Naming a boundary fixes that boundary and nothing else.</p><p><strong>And this is where “Ruby is bad for LLMs” finally falls apart, because adding languages sorted the failures by <em>boundary</em>, not by language.</strong> The encoding bug isn’t Ruby’s alone — it’s Node’s too, the same class exactly: HTTP hands the header over as Latin-1 bytes, curl sent UTF-8, and the two disagree the moment a non-ASCII username appears. Node’s critique agent reasoned its way there out loud and wrote Buffer.from(raw, &#39;latin1&#39;).toString(&#39;utf8&#39;), the line-for-line cousin of Ruby&#39;s force_encoding. The date footgun, by contrast, really is Ruby&#39;s standard library in particular: JavaScript&#39;s Date throws out February 31st without being asked, and the Node agent checked exactly that and moved on. And Go never had the encoding problem at all — its strings are just bytes, so there&#39;s no encoding to mismatch in the first place. Go&#39;s immunity is built into the language, not earned by the agent: the footguns belong to the boundaries, and the languages just happen to stand in front of different ones.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QCkLjl_ZRHqYaerlxD0Sug.png" /></figure><p>Even holding the language still, it’s closer to a coin flip than I’d like. Ruby on Rack scored 11, 13, 13, 14, and 0 out of fourteen across five runs of the identical task. The 14 escaped by trusting neither parser: it validated the date in SQL with a round-trip, date(x) = x, which only an impossible date can fail. The 0 fell over a third boundary entirely — Rack 3&#39;s linter rejects an uppercase Content-Type header name and returns a 500 on every single request, and the local suite went 14/14 green while the real server answered nothing but errors. Three different boundaries in one language, and not one of them showed up in the tests the agent wrote for itself.</p><p>Three boundaries, four languages, one pattern. <strong>The model guards every boundary you point it at and strolls into every one you don’t, and its own green suite cheers it on the whole way down.</strong> You cannot prompt your way to safety one footgun at a time, because there is always another mole. The only thing that caught all three was the grader sitting outside the workspace, speaking nothing but real HTTP, declining to take the agent’s word for anything.</p><h3>The data explanation, and why it’s only half the story</h3><p><strong>Python and JavaScript are high-resource languages for code models.</strong> The Stack from BigCode holds something like 64GB of Python after dedup against well under a gig for the truly low-resource languages, and GitHub’s 2024 Octoverse had Python overtaking JavaScript for the top spot, driven by AI and data-science work. <strong>More examples, better calibration, fewer surprises. Of course the model is more sure-footed about a Python stack than a Ruby one.</strong></p><p>Ruby isn’t actually the puddle I made it out to be. It has a big presence on GitHub and Stack Overflow, plenty of volume; it’s not data-starved. And it still lands a tier below Python, JavaScript, and Java on the multilingual code benchmarks, MultiPL-E and MBXP and Multilingual-HumanEval. <strong>The research read is that the gap is structural. Evaluation bias and Python-centric benchmarks, not the raw volume of Ruby the model saw.</strong> The benchmarks and eval sets are Python-centric, with one figure putting roughly 93.5% of LLM solutions in the literature defaulting to Python. Raw volume doesn’t buy you the structured, well-evaluated examples that actually shape how a model behaves under pressure. (Octoverse 2025 adds a wrinkle. TypeScript took the #1 spot by monthly contributors, and GitHub tied that directly to typed languages playing nicely with agent-assisted coding. Node+Express winning on efficiency here rhymes with that.)</p><p>Which is exactly what my little rig found, except with a line number attached. <strong>The model tested Ruby with the instincts it built testing Python and JavaScript. Those instincts knew to hedge against the JavaScript Date parser — that’s the Node critique at turn 10, guarding a door it had been burned by before.</strong> They had no instinct to ask what WEBrick does to an Authorization header, because there&#39;s no equivalent footgun in the Python HTTP stack where those instincts grew up. The papers say Ruby underperforms for reasons that aren&#39;t volume. I watched two of them happen, and fixing the first only uncovered the second.</p><h3>So what does this buy you</h3><p>The part worth taking away is the grader, and the re-runs only made me surer of it. <strong>None of this would have been visible if the agents had graded their own work, and they would have, happily, because the local suite came back green every single time, through all three boundaries.</strong> The external HTTP oracle, the thing sitting outside the workspace that the agent can’t reach in and reassure, is what turned a confident green checkmark into a real result. And it’s not exotic: fourteen black-box tests over real HTTP, an afternoon of work, the cheapest component in the rig, and the only one that never told me anything false. I ran into the same rule <a href="https://medium.com/rivus-ai-blog/weight-a-minute-open-weights-can-do-what-now-237c5c34a860">from the other side</a> comparing open-weight models: price per token lied about cost until cost per finished job corrected it. A green local suite lies about “done” the same way. The agent wrote both halves of that agreement, until something outside the workspace, frozen in advance, gets to say otherwise.<strong> If you want to know whether your coding agent is actually shipping something that works, the first thing to get right isn’t the stack. It’s the thing standing between the agent and its own grade.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CsQd1pPVPwmKR8wFTcWcKA.png" /></figure><p>Get the grader right and the stack finding falls out of it almost for free. Same spec, same model, same harness, swap the stack and the score went from zero clean trials to ten out of ten. Each language parks the agent in front of a different set of boundaries, and the boundaries are what decide the score. That turns <em>“what should our agents write this in?”</em> into an architecture decision with a real reliability and cost profile attached. <strong>Every option still comes with failures and without the grader you can’t see any of this, because every stack happily grades itself a ten.</strong></p><p>The honest caveats: I only ran small trial counts, only one kind of task (a CRUD API with auth), and I handed the critique agent the auth answer up front.</p><p>Everything in this rig lied to me at some point. The local suites came back green over broken apps, the critique agents approved right past the bug that mattered, and a better model bought exactly one boundary before the next one caught it. The grader standing outside the room was the only thing that never told me anything false. Build that first.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3ba44992f655" width="1" height="1" alt=""><hr><p><a href="https://medium.com/rivus-ai-blog/green-tests-red-grader-3ba44992f655">Green Tests, Red Grader</a> was originally published in <a href="https://medium.com/rivus-ai-blog">Rivus AI Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Weight a minute. Open weights can do what now?]]></title>
            <link>https://medium.com/rivus-ai-blog/weight-a-minute-open-weights-can-do-what-now-237c5c34a860?source=rss----f0d586a4095c---4</link>
            <guid isPermaLink="false">https://medium.com/p/237c5c34a860</guid>
            <category><![CDATA[large-language-models]]></category>
            <category><![CDATA[ai-agent]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[open-source]]></category>
            <category><![CDATA[software-engineering]]></category>
            <dc:creator><![CDATA[Vince]]></dc:creator>
            <pubDate>Mon, 29 Jun 2026 17:23:04 GMT</pubDate>
            <atom:updated>2026-06-29T22:57:38.181Z</atom:updated>
            <content:encoded><![CDATA[<p>Most of my work <em>(for now)</em> runs on frontier models. My team drives an agentic harness on top of Codex and Opus: our entire PDLC, spec to reviewed production code, handled by agents. It works. It also costs about USD$50K a month in API calls. That bill is <em>ONE OF </em>the honest reasons this exists.</p><p>When you spend that much making agents build software, the question stops being whether frontier models can do the work. <em>They obviously can</em>. What’s left is everything around it: the cost, the control, whose infrastructure it runs on. And it isn’t only my bill pushing there. Most of the CTOs and CIOs I sit with want the same thing, capable models they can run and govern themselves, instead of routing their data through someone else’s API (<em>and then disabling it… RIP Fable 2026–2026</em>).</p><p>That points at open weights, the models you can download, host, and audit. The question I wanted answered wasn’t “which one runs on my desk.” It was bigger: how far has the open-weight class actually come at the real thing, an autonomous full-stack build, and is it a credible alternative to what I pay the frontier to do? Running locally on a small machine was the cheapest, most governable end of the spectrum, so that’s where I started.</p><p>So I built a test, held it across four experiments and I gradually changed what I put it through.</p><h3><strong>The Rig(amarole)</strong></h3><p>None of this was a script I ran by hand (<em>I mean, who does and has the time at this day and age?</em>). I built an <strong>experimentation harness</strong>: a control plane that owns the project’s memory, task flow, telemetry, and evidence trail, with a smaller per-experiment harness inside it. The runtime, Ollama for the local (and cloud) models, serves the weights. OpenCode, the open-source coding agent, drives the run, pointed at whichever model is on trial. The task is a real<strong> full-stack app, pinned to a frozen PRD and eight tickets written before any model saw them</strong>.</p><p><strong>The grader is what makes the numbers mean anything. It’s deterministic and it lives outside the model:</strong> twenty scripted product behaviors, each checked by Playwright and an API probe, each a binary pass or fail. Your score is how many of twenty you pass. <strong>No LLM sits in judgment, and there’s no partial credit for effort.</strong> Before any of the twenty count, seven critical gates have to clear: does it build, does it serve, does the data survive a restart. The whole grader was frozen before a model touched the task, including the bar a run has to clear to pass, which is all seven gates plus at least sixteen of twenty.</p><p><strong>Everything that watches a run sits outside the model.</strong> A separate process samples power draw and swap pressure. A network sampler records every connection the box opens. Every agent’s transcript, the tool calls and edits and progress notes, is captured whole. Each run lands as a timestamped evidence bundle: the app the model built, the grader’s verdict, the telemetry, the full transcripts. <strong>You could recompute every finding here from the files.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6Ur7dkB7aIklp7irx9kcrQ.png" /></figure><h3>The warm-up</h3><p>The first two experiments asked the cheap questions, and the answers were already not what I expected.</p><p>The first was a casting call: a dozen models, a dependency-free hello-world task, one question. Which of these can even participate? I expected a ranked list of capable models. Instead, most never got far enough to show me whether they were capable at all. What broke first was fit: tool support, memory, context window. A model that can’t hold the task or call the tools the harness hands it never reaches the part where its reasoning matters.</p><p>Then the telemetry showed something I hadn’t gone looking for. There were external network calls during the runs, and the thing reaching out wasn’t any of the models. It was OpenCode, the driver. The model was local. The runtime was local. The tool orchestrating them was talking to the internet the whole time. “Local” is a property of the whole system, not the model; get one layer wrong and you don’t have it. That surprised me more than anything in the build experiment that followed, and it’s the trap most teams reaching for local AI are going to walk straight into.</p><p>The second test ran the same task with the machine hard offline, verified before every run. I expected the surviving list to hold. It didn’t. The fastest clean model from the casting call failed both offline attempts. Trust doesn’t travel across conditions. You measure it under the one you actually care about.</p><h3>The build</h3><p>The next experiment asked for something real: a simple backlog manager app. React and Vite on the front end, a Node and Express API, SQLite underneath, full CRUD, filtering, persistence across restart. Frozen PRD, eight tickets, the deterministic grader, all written down first.</p><p>The twenty checks climb from easiest to hardest. The first is “seeded data renders in the UI,” a read, the simplest thing there is. The fourth is “create a valid record from the UI,” the first time the app has to write anything. The last is inline form validation. The grader doesn’t care about your architecture or whether your code is pretty. It cares whether the product works when a human clicks on it.</p><p>For calibration I ran the frontier models through the identical task. GPT-5.5 and Claude Opus both cleared it, 18 to 20 of 20, every critical gate. (<em>Scores wobble a point or two between runs. The grader is deterministic on a given app; the models aren’t. So I’ll give ranges where it matters</em>.) I lead with those because they prove the rest is real. The task is buildable, the grader isn’t rigged, and a capable model walks in and finishes.</p><p>Then the open-weight local pool, quantized to four bits and pinned to a 32k context window on a 24 GB M4 Pro Mac mini, across three escalating shapes: solo; a frontier model planning while a local model executes; and a <strong>full local role harness, where a Lead, a Reviewer, a Tester, and a Repair agent are all local models passing work down the line.</strong> What the grader shows is a gradient.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YGKlACjTrWKQA0-sLOtxqA.png" /></figure><p>Most of the pool built a shell and stopped. Granite at 8B, the Gemma models, the 20B gpt-oss release, a small LFM2, Devstral at 24B, Qwen3 14B: seed data rendered, and nothing more. One out of twenty, run after run. Only the strongest coders climbed. qwen3-coder, a 30b-parameter mixture-of-experts, got reads, a detail view, and working filters for six. qwen3.6:27b, handed a frontier plan, reached ten and passed every critical gate, creating records and persisting them across a restart. So the wall isn’t size alone. The biggest model in the pool, Devstral’s 24B, sat at one, while a sharper coder cleared more. None of them came near finishing, and none reached the bar of sixteen.</p><p><strong>Two runs are worth going into detail because the numbers don’t tell you how they failed.</strong></p><p><strong>Start with qwen3-coder, the best solo local result with 6/20.</strong> It built the shell, and along the way it found and fixed a real bug that was crashing the server on startup. Then it ran the build, ran the tests, and wrote its closeout: the system is now production-ready, full CRUD, all tasks completed successfully.</p><p><strong>It had created nothing. It never made a record, never edited one, never checked whether anything survived a reload.</strong> It asserted all of it. Look at what it actually did, eighteen file reads against four edits, and the shape comes clear. It kept re-reading its own files and rewrote its own progress note, near-verbatim, twice, instead of opening the app and clicking a button to see if a single claim was true. The tooling worked the whole time. What broke was the reasoning about what to verify, and then the claim about what it had done.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*t-u_uVrdaZK43J9UrQv0uw.png" /></figure><p><strong>The second is qwen3:14b</strong> ran over 93 minutes. The Lead’s app worked more than the final score of four would suggest: it created records and persisted them. Then the Reviewer looked at a half-built product and fixated on test coverage. Its whole brief was statement and function percentages and a repair order of “API tests, SQLite tests, validation.” The Repair agent spent 77 minutes and 97 tool calls chasing that number. To make its new tests run, it built a second, fake API module off to the side, with placeholder functions. <strong>It literally returns a hardcoded test object. In its own words: &quot;used placeholder return values to enable test execution.&quot; It never extended the real product. It drowned in a self-inflicted import tangle, rewrote its progress note three times with the same unresolved errors, and timed out. </strong>Some of those 93 minutes were the machine thrashing, swapping nearly 13 GB past its memory, so the run was slow as well as lost. But the swap explains the clock, not the choices. The decision to build a fake API instead of opening the real one is right there in the transcript.</p><p><strong>Same failure, twice. One model declared a job done it had barely started. Both had full tooling. Both reasoned themselves somewhere useless.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RWDcOQ3EGc3wX0CfYNGFZQ.png" /></figure><p>Structure helped a little but no shape cleared the bar. <strong>Scaffolding could organize a capable-enough model but it couldn’t manufacture the judgment about what the job needed next.</strong></p><h3>The Disambiguation</h3><p>Staging the obvious here, quantized models on a small machine hit a ceiling. Of course they did. So my last experiment removed the constraint and ran open-weight models at frontier scale, hosted with room to run: GLM-5.2, Kimi K2, MiniMax M3, Nemotron Ultra. Same harness, same frozen spec, same corrected grader.</p><p>They cleared it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zdvp89O0OXJsSZ4mSOjpUg.png" /></figure><p><strong>Four open-weight models, run through the identical committee harness, every one over the bar: all seven critical gates, 17 to 18 of twenty.</strong> They created, edited, deleted, filtered, persisted. <strong>They landed in the same band as GPT-5.5 and Claude Opus.</strong> The committee structure that drowned the small local model worked cleanly for these, because there was enough capability underneath it for the structure to organize. These were single runs, and the score wobbles a point or two, so I read 17 against a bar of 16 as “cleared,” not as a ranking.</p><p>What changed between the local pool and these four was not one thing, and I won’t pretend it was. They’re bigger. They aren’t squashed to four bits. I can’t hand you a clean experiment that isolates parameter count from quantization from memory. The open-weight class, given room to run, does this build, and sits beside the frontier closed models while doing it.</p><p>Here the telemetry is blunt. The open winners cleared the same task, but slower and hungrier: 18 minutes to over an hour and a half of wall-clock, against eleven to nineteen for the closed references, and millions of input tokens against the references’ few hundred thousand. They get there by trying more times, and every try re-sends the whole context. The economics are the next thing to measure.</p><h3>Cost per job not cost per token</h3><p>The reason people reach for open weights is price. Ten times cheaper per token, sometimes more: GLM runs about sixty cents a million input tokens against Claude Opus at five dollars. On most work that ratio flows straight to the bill. It didn’t on this one.</p><p>OpenCode logs the cost of every run it has a rate for. A frontier build came to $4.87 on GPT-5.5 and $6.41 on Claude Opus. GLM lands at $4.23, Nemotron at $5.58, Kimi at $6.56. A finished build costs about five dollars either way but what ate it was tokens:<strong> the open models spent twenty to thirty times as many to reach the same result</strong>, three hundred thousand input tokens for GPT-5.5 against six to ten million for GLM and Kimi. <strong>A more capable model is more token-efficient. It wastes fewer tries getting to the answer, and on a hard task, it is worth as much as a cheaper rate.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*76wsmp5fUhQBZ6FM7J73_g.png" /></figure><p>So the number everyone compares is the wrong one. A rate card prices a token but it can’t tell you how many tokens a model burns to finish your actual work, and on hard agentic builds that count swings thirtyfold. <strong>Cost per finished job is the honest measure, and it lives in the model’s competence, not in the listed price</strong>. Maybe more obvious to others but I realized that savings come from how you host, flat-rate or self-hosted. Not from the cost per token. It’s where token-hunger turns back into a question of speed and quota instead of dollars.</p><h3>Closing (time)</h3><p>What stays with me isn’t the six out of twenty, or the zero my own grader handed a working app. It’s that confidence and correctness came apart at every level of this, and never in the same place. The small model was certain it had finished. The committee was certain coverage was the job. My grader was certain a working product had failed. Each was diligent. Each was wrong about what was true, until something outside the model, frozen in advance and open to audit, said otherwise.</p><p>On this build (one CRUD app under a fixed harness, scored on whether a human can use it), frontier-scale open weights cleared what the constrained local end could not. I won’t stretch that into a claim about every kind of work; this task had no auth, no real concurrency, no ambiguous spec to negotiate. <strong>But the capability is there at scale, and you can run it yourself. That’s the part a year of vibes posts can’t tell you.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=237c5c34a860" width="1" height="1" alt=""><hr><p><a href="https://medium.com/rivus-ai-blog/weight-a-minute-open-weights-can-do-what-now-237c5c34a860">Weight a minute. Open weights can do what now?</a> was originally published in <a href="https://medium.com/rivus-ai-blog">Rivus AI Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Architecting the Vibes: A New Way to Build With AI]]></title>
            <link>https://medium.com/rivus-ai-blog/architecting-the-vibes-a-new-way-to-build-with-ai-ecfaf802e556?source=rss----f0d586a4095c---4</link>
            <guid isPermaLink="false">https://medium.com/p/ecfaf802e556</guid>
            <category><![CDATA[ai-engineering]]></category>
            <category><![CDATA[vibe-coding]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[engineering-leadership]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <dc:creator><![CDATA[Vince]]></dc:creator>
            <pubDate>Sat, 06 Dec 2025 11:54:32 GMT</pubDate>
            <atom:updated>2025-12-06T11:54:31.964Z</atom:updated>
            <content:encoded><![CDATA[<p><em>A lot of people think vibe coding is a joke, but that’s only because they’ve never seen it done right.</em></p><p>I used to run.</p><p>Not fast, not well — but enough to know what a runner’s high feels like. That moment when your body and brain sync up and the world melts into one continuous motion.</p><p>I don’t run anymore.</p><p>I work at BCG. My cardio is back-to-back client calls and the walk to the coffee bar to get my cup of coffee.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-ccrSxNYDvZ_mq3OOGc-4g.png" /><figcaption>Nano Banana (b. 2025) Flow State, Movement and Integration, 2025</figcaption></figure><p>But here’s the funny part: I’ve felt that same high… sitting in front of my computer.</p><p>No physical movement.</p><p>Just tabs.<br>(And fingers with abs.)</p><p>I was finishing an ingestion pipeline for a project.</p><p>At the same time, I was writing a deck for a proposal — or was it for an AI workshop?</p><p>At some point every deck just becomes the same slide wearing different outfits.</p><p>Slack pings.</p><p>I answer the team, flip back to the deck, tweak a line.</p><p>I switch to my terminal to see if my coding assistant finished the chunk of work I asked it to do.</p><p>Back to the deck.</p><p>Check Slack again.</p><p>Now they’re asking what to eat for lunch. God, I can’t wait until I can automate this part of the day too.</p><p>Terminal again — nice, the diff looks clean. Create a PR.</p><p>Back to the deck.</p><p>Open an email. Immediately regret opening the email. Future me problem.</p><p>Check the automated PR review — done by another coding assistant (I have Codex reading our PRs). Copy the notes back into my build assistant.</p><p>Run the specs.</p><p>Push the changes.</p><p>Back to the deck.</p><p>CI passes, merge the PR.</p><p>Somewhere in the chaos of Slack threads, terminal output, half-written slides, and AI review loops, I realized something:</p><p>I was in the zone.</p><p>The same flow state I used to get from running — except now the terrain was code diffs, conversations, and context switching at 200 bpm.</p><p>And that’s when it hit me:</p><p><strong>This is vibe coding.</strong></p><p>Not the meme version.</p><p>Not the AI slop cooked by someone who thinks JSON is a Pokémon.</p><p>This was the<em> flow. </em>A choreography of tools, assistants, and human judgment.</p><p>But that’s not what the world thinks vibe coding is.</p><p>Spend five minutes online and you’d think vibe coding was just typing fast and praying nothing catches fire. And honestly, I get why.</p><p>Look at Air Canada.</p><p>Their chatbot hallucinated a refund policy. A customer followed it. And Air Canada argued the chatbot was <em>responsible for its own statements</em>. The tribunal, in extremely diplomatic legal phrasing, said: absolutely not.</p><p>That isn’t vibe coding.</p><p>That’s vibe <strong>trusting, </strong>AI deployed with zero guardrails and zero supervision.</p><p>Or scroll through GitHub long enough and you’ll find API keys, database passwords, and secrets scattered like confetti, not because AI is malicious, but because someone blindly copied its output into production.</p><p>That’s not vibe coding either.</p><p>That’s vibe <strong>copy-pasting</strong>.</p><p>Across multiple projects I’ve led at BCG, the only reason vibe coding works is because it sits on top of a very intentional engineering process.</p><p>Not heavy.</p><p>Not bureaucratic.</p><p>Just deliberate.</p><p>And I wouldn’t be a consultant if I didn’t leave you with a framework, would I?</p><p>Here’s the actual delivery flow behind real, engineered vibe coding, the part nobody sees when they assume it’s just improvisation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Gcfnqr0o0BCiLTlWzphhvw.png" /><figcaption>Vibe Coding Delivery Framework</figcaption></figure><h3>The Vibe Coding Delivery Framework</h3><h3>1. CLARIFY</h3><p>Everything starts with the problem.</p><p>Not the code.</p><p>If you’re starting from scratch, use GenAI to ideate the <em>first messy cut</em> of the PRD. Not the final one, but enough to expose blind spots.</p><p>If you already have a PRD, AI becomes the interrogator:</p><p>Where is this unclear?</p><p>What edge cases are missing?</p><p>What non-functionals matter?</p><p>Where are the contradictions hiding?</p><p>Half the suggestions won’t matter.</p><p>The other half will force clarity, and clarity reduces blast radius.</p><h3>2. DESIGN</h3><p>Then comes the approach.</p><p>Engineers, DS, product — everyone at the table.</p><p>This is where the requirements stop being sentences on a page and start becoming a system you’re actually accountable for. Engineers should break the work apart, interrogate product, and ask the questions nobody puts in a PRD:</p><blockquote>“What happens if I click this button twice?”</blockquote><blockquote>“What if the upstream service is slow?”</blockquote><blockquote>“What if the data is wrong?”</blockquote><p>Software is not just a story of stringed-together happy paths.</p><p>If that’s the case, I might as well change my name to Mary Poppins.</p><p>This stage is about shaping the architecture, the data flows, the integration points, the ML dependencies, the downstream constraints, and the stack — the decisions that make the rest of the system either sing or scream.</p><p>AI does not pick tradeoffs.</p><p>Humans do, because humans live with the consequences.</p><p>And this is the moment where you decide what the system <em>is</em> —</p><p>not just in structure, but in behavior, boundaries, and responsibility.</p><h3>3. PREP</h3><p>This is where you define how the team actually builds.</p><p>You document the boundaries, the naming conventions, the helper modules, the patterns, the libraries, the allowable structures — all the things teams <em>say</em> they care about but never write down until it’s too late.</p><p>It’s the best practices document human engineers like to make, but no one fucking follows.</p><p>But guess what? <strong>AI doesn’t have a choice.</strong></p><p>Assistants need constraints.</p><p>Humans need consistency.</p><p>Systems need both.</p><p>Prep is where you translate architectural intent into something executable. Not for the code, but for the <em>people</em> and the <em>assistants</em> who will be touching it.</p><p>This is the stage that makes the loop possible.</p><p>Not the coding loop — the <em>meaning</em> loop.</p><p>The thing that keeps the system coherent when implementation starts flying in from multiple directions at machine speed.</p><p>Prep isn’t paperwork.</p><p>It’s the contract between human judgment and AI acceleration.</p><h3>4. VIBE</h3><p>This is where motion begins.</p><p>Work is broken into assistant-friendly tasks: broad enough for the model to execute, specific enough to not hallucinate itself into another universe.</p><p>Tests come first.</p><p>Expectations before implementation.</p><p>Then the assistant drafts.</p><p>You steer.</p><p>Draft again.</p><p>Steer again.</p><p>Fast loops, guided by guardrails.</p><p>Exploration with intent.</p><p>This isn’t the AI wandering.</p><p>This is you letting it <strong>vibe</strong> within the frame you built.</p><h3>5 . TUNE</h3><p>This is where the system converges.</p><p>AI reviews the PR first — diff++, context-aware, fast.</p><p>You paste that feedback back into the coding assistant to refine the implementation.</p><p>Then humans do what humans do best:</p><p>apply judgment.</p><p>Tuning is where intention becomes coherence.</p><p>Where architecture, constraints, and meaning all snap into alignment.</p><p>Vibe → Tune → Vibe → Tune.</p><p>This loop is where velocity actually comes from.</p><p>When people think vibe coding is chaos, this is the part they never see.</p><p>It’s actually choreography.</p><p>A way of working that turns ambiguity into momentum without turning momentum into slop.</p><p>And here’s where the shift becomes obvious.</p><p>For years, the industry rewarded people for memorizing patterns instead of understanding them — an entire cottage industry built on contrived puzzles no one has used in real engineering since dial-up.</p><p>We built a whole talent pipeline on this nonsense.</p><p>Timed binary-tree theatrics.</p><p>Whiteboard gymnastics.</p><p>Coding obstacle courses that measure who can brute-force trivia under stress instead of who can think in systems.</p><p><strong>Fuck the whiteboard circus. Fuck the pattern-memorization cult. None of that was engineering — it was hazing, doing assessment cosplay.</strong></p><p>Now AI is exposing who understands systems and who just memorized syntax.</p><p>It’s dividing the industry into two groups: <strong>architects</strong> and <strong>button-pressers</strong>.</p><p>Button-pressers are thrilled.</p><p>They think the assistant is the engineer.</p><p>They think vibe coding means “just ship it.”</p><p>But when something breaks in production — and something always breaks — only one group knows how to unwind the problem. Only one group understands how the system behaves under stress. Only one group can navigate ambiguity without hallucinating their way off a cliff.</p><p>AI accelerates everything.</p><p>Architecture decides whether it accelerates <strong>progress</strong>… or <strong>disaster</strong>.</p><p>That’s the quiet truth: vibe coding doesn’t eliminate engineering.</p><p>It eliminates pretending.</p><p>Real engineering becomes more architectural, more judgment-driven, more about shaping systems than typing lines.</p><p>Juniors, seniors, staff, principals — everyone evolves around the same center:</p><p><strong>Thinking is the job.</strong></p><p><strong>Typing is the artifact.</strong></p><p>We’re all adapting in real time. Some faster than others.</p><p>And honestly?</p><p>Do your best, keep the architecture sane, and hope your assistants don’t develop a sense of humor at your expense.</p><p><strong>The rest is just tabs.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ecfaf802e556" width="1" height="1" alt=""><hr><p><a href="https://medium.com/rivus-ai-blog/architecting-the-vibes-a-new-way-to-build-with-ai-ecfaf802e556">Architecting the Vibes: A New Way to Build With AI</a> was originally published in <a href="https://medium.com/rivus-ai-blog">Rivus AI Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Growth Path is Broken: What happens to juniors when AI writes the code?]]></title>
            <link>https://medium.com/rivus-ai-blog/the-growth-path-is-broken-what-happens-to-juniors-when-ai-writes-the-code-474894e55150?source=rss----f0d586a4095c---4</link>
            <guid isPermaLink="false">https://medium.com/p/474894e55150</guid>
            <category><![CDATA[mentorship]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[tech-career]]></category>
            <category><![CDATA[future-of-work]]></category>
            <dc:creator><![CDATA[Vince]]></dc:creator>
            <pubDate>Wed, 21 May 2025 04:11:28 GMT</pubDate>
            <atom:updated>2025-05-21T07:13:37.741Z</atom:updated>
            <content:encoded><![CDATA[<p><em>AI changed how code gets written, but not how people grow. That’s a problem.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*x6bf6OEHWuKpL_B5cUza4w.png" /><figcaption>“Look ma, no hands” Polycarbonate abstraction on digital canvas, GPT-4o, 2025</figcaption></figure><p>I’ve been thinking about the juniors on my team.</p><p>Not the architects. Not the Staff++ folks navigating legacy systems and existential design reviews. The juniors. The ones still learning the ropes.</p><p>Because here’s the uncomfortable truth: <strong>Most of the work we used to give them? AI can do faster, cleaner, and with fewer bugs.</strong></p><p>You know it. I know it. They definitely know it.</p><p>Before, we gave juniors ticket work to build muscle. Write the button. Fix the bug. Build the thing that teaches you how systems work.</p><p>Now? You feed the prompt into Cursor or GPT-4o and it spits out an answer that’s 80% there. Sometimes 95%. Hell, sometimes it <em>teaches you</em> something.</p><p>So where does that leave the junior?<br>Staring at perfect code they didn’t write.<br>Merging PRs they don’t fully understand.<br>Learning faster, sure — but maybe learning <em>less</em>.</p><p>If they don’t grow, they don’t level up.<br>And if they don’t level up, they become… dead weight.<br>Nobody wants to say that out loud, but it’s the fear behind every “do we really need this headcount” convo right now.</p><p>This isn’t just a tech shift. It’s a mentorship crisis.<br>Because for decades, we knew how engineers grew: repetition, feedback, ownership.<br>But when AI does the repetition, when the feedback loop gets fuzzy, and ownership feels like reviewing someone else’s work… what’s left?</p><p>If we believe in growing people, not just shipping product, we have to figure that out.</p><p>This is a wake-up call for engineering leaders, managers, staff engineers, directors, to rethink how we grow talent in an AI-driven world.</p><h3>The Old Path Worked Because It Was Slow</h3><p>We didn’t always have a name for it, but we all recognized the path.</p><p>You join a team. You get the small stuff. Bug fixes, copy changes, low-stakes UI tickets. You write the wrong thing, get the feedback, rewrite it. Then again. Eventually, you start to see patterns. You stop coding line-by-line and start thinking two functions ahead. You break a thing and now understand why it matters.</p><p>That repetition? It <em>was</em> the education.</p><p>The code you wrote might’ve been inefficient or even bad, but it was <em>yours</em>. You struggled through it. You sat in the debugger too long. You argued with your linters. You asked your tech lead dumb questions they barely had the patience to answer.<br>That was how you got better.</p><p>And then there was the real rite of passage:<br><strong>Googling your way through hell.</strong><br>Page 7 of the search results. A 2013 blog post or a broken forum thread in a language you don’t understand, with a stack trace close to yours. Scroll down: one reply, “<em>thread auto-closed for inactivity</em>”.</p><p>That? That was learning. That was the point.</p><p>It was slow. It was inefficient. It burned the problem into your brain.<br>You didn’t just get the answer — you built scar tissue. And eventually, instinct.</p><p>And if you zoom out, the whole system was built around that model.</p><ul><li>Teams staffed with a few seniors and a bunch of learners.</li><li>Mentorship mostly unstructured but constant.</li><li>Feedback loops baked into the work itself.</li><li>Growth happening in the gaps.</li></ul><p>But now, those gaps are getting filled. Instantly, and impersonally.</p><h3>The Illusion of Fluency</h3><p>On paper, everything looks fine. Better, even.</p><p>That junior who used to spend three days grinding through a feature? Now they’re merging PRs before lunch. They’re moving faster, breaking less, sounding more confident in standup.</p><p>Velocity is up. Output is clean. But here’s the part no dashboard will show you:</p><p><strong>They don’t actually know how it works.</strong></p><p>They know how to prompt.<br>They know how to skim.<br>They know how to shape an answer that looks right, then move on.</p><p>But if it breaks in production?<br>If the edge case gets missed?<br>If the AI leaks data, botches a boundary, or subtly misinterprets a spec?</p><p>They’re stuck. Not because they’re bad engineers, but because <strong>they were never given the space to become engineers.</strong></p><p>They’re not fluent. They’re fluent-seeming.</p><p>And we’re complicit in this. We see the green checkmarks, the merged PRs, the clean commits. We say, “They’re doing great.”</p><p>But deep down, we know: <strong>it’s not just about shipping code. It’s about building understanding.</strong></p><p>And the AI isn’t doing that part for them.</p><p>They’re not fluent. They’re fluent-seeming.</p><p>Sure, AI exposes them to solid patterns and fast feedback. That kind of exposure used to take years. But speed isn’t depth. Clean code isn’t comprehension. Exposure isn’t intuition.</p><p>And intuition is what we’re trying to grow.</p><h3>If the Ladder’s Gone, It’s on Us to Build a New One</h3><p>Let’s be real: if you’re in a leadership seat right now, EM, Staff+, Director, you don’t just own velocity.</p><p>You own growth. You own trajectory. You own what comes <em>after</em> the code ships.</p><p>And that’s where things are breaking.</p><p>We told ourselves juniors would learn on the job. That the code would teach them. That pairing and review would fill in the gaps. But that only worked when <em>they were the ones writing the damn code.</em></p><p>Now?<br>The code shows up already written. The PR looks clean. The test passes.<br>But the engineer didn’t struggle. Didn’t design. Didn’t explore tradeoffs.</p><p>They just validated that the AI didn’t hallucinate. That’s not mentorship. That’s QA.</p><p>So now we’ve got juniors stuck in a weird purgatory:</p><ul><li>Not writing enough to learn.</li><li>Not senior enough to design.</li><li>Still expected to “contribute” in ways that used to teach them, but don’t anymore.</li></ul><p>And here’s the uncomfortable part:<br><strong>If we don’t fix this, they don’t grow.<br>And if they don’t grow, we don’t get seniors.<br>And if we don’t get seniors, we’re all screwed.</strong></p><p>Because AI can flood your repo with code, but it can’t run your postmortems.<br>It can’t mentor your interns.<br>It can’t rewrite your brittle system from 2017 that nobody wants to touch.<br>Only people do that.</p><p>But people only get there if someone shows them how.</p><p>So yeah, the ladder’s broken. But it’s still our job to build one.</p><p>Not the old one. Not the “start with CRUD, earn your scars” version.</p><p>We need a new growth path, built for an AI-first world:</p><ul><li><strong>Start with design, not syntax.</strong> Ask juniors to think in flows, not files. Sketch systems before touching an editor. Think through requirements before naming a variable.</li><li><strong>Teach debugging before building.</strong> Let them dissect AI’s mistakes. Trace bugs. Understand failure paths. Learn how to notice when something’s wrong and why.</li><li><strong>Give them ownership over decisions, not just tasks.</strong> Let them choose between two AI outputs. Ask them to justify the choice. Build judgment by making judgment calls.</li></ul><p>And then treat prompts like code. Review them. Talk through them. <strong>Make the thinking visible again.</strong></p><figure><img alt="The new growth path in three steps: Design first — think systems, not syntax. Debug early — dissect AI’s mistakes to build intuition. Own decisions — choose solutions and justify them." src="https://cdn-images-1.medium.com/max/1024/1*Gd8EcKiQ9yur8angKt2aFA.png" /><figcaption>The new growth path in three steps:<br>1. Design first — think systems, not syntax.<br>2. Debug early — dissect AI’s mistakes to build intuition.<br>3. Own decisions — choose solutions and justify them.</figcaption></figure><p>Because mentorship isn’t about watching someone type anymore.</p><p>It’s about shaping how they think when the machine types for them.</p><p>That’s a harder job.</p><p>But if we don’t do it, nobody will.</p><h3>We Owe the Next Generation More Than Just a Faster IDE</h3><p>Look, maybe the tools really are magic.</p><p>Maybe AI will keep getting better. Maybe it’ll handle more edge cases, hallucinate less, refactor cleaner, even explain itself someday.<br>I hope so. I really do.</p><p>But none of that replaces the thing we actually need: <strong>engineers who understand what they’re building and why it matters.</strong></p><p>Not just button-clickers. Not just prompt monkeys.<br>Engineers with systems sense, product taste, technical judgment, and the ability to say <em>no</em> when something looks wrong, even if the machine says it’s fine.</p><p>And those engineers don’t just appear out of nowhere.</p><p>They come from struggle.<br>From curiosity.<br>From being taught. Not just tasks, but how to think, how to see the whole picture, how to grow beyond the next PR.</p><p>If you’re a senior, a lead, a staff engineer, a manager — that’s on us.<br>Not the AI. Not the LLM.<br><em>Us.</em></p><p>We are the bridge. We are the ladder. We are the reason the next generation either levels up or doesn’t.</p><p>And the thing is, most of them want to learn.<br>They’re not lazy. They’re not entitled. They’re just staring at a world that moved the goalposts <em>midway through their warmup</em> and wondering if there’s still a path forward.</p><p>There is.<br>But we have to build it thoughtfully, urgently, and together.</p><p>Because the future of engineering isn’t AI-powered.<br>It’s <em>human-led</em>.</p><p>AI can write the code.</p><p><strong>But only we can write the future of engineering.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=474894e55150" width="1" height="1" alt=""><hr><p><a href="https://medium.com/rivus-ai-blog/the-growth-path-is-broken-what-happens-to-juniors-when-ai-writes-the-code-474894e55150">The Growth Path is Broken: What happens to juniors when AI writes the code?</a> was originally published in <a href="https://medium.com/rivus-ai-blog">Rivus AI Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Duplication as Design: Embracing repetition in AI-era coding]]></title>
            <link>https://medium.com/rivus-ai-blog/duplication-as-design-embracing-repetition-in-ai-era-coding-87904c68af82?source=rss----f0d586a4095c---4</link>
            <guid isPermaLink="false">https://medium.com/p/87904c68af82</guid>
            <category><![CDATA[ai-in-development]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[llm-workflows]]></category>
            <category><![CDATA[vibe-coding]]></category>
            <category><![CDATA[ai-productivity]]></category>
            <dc:creator><![CDATA[Vince]]></dc:creator>
            <pubDate>Sun, 18 May 2025 14:09:51 GMT</pubDate>
            <atom:updated>2025-05-18T14:09:51.014Z</atom:updated>
            <content:encoded><![CDATA[<p><em>What if duplication is actually a powerful part of modern development with AI?</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CiP6gDE0O-Y5kLlk8xY1cw.png" /><figcaption>“Ctrl+C, Ctrl+V” Oil pixels on oil on pixels. GPT-4o, 2025</figcaption></figure><p>I’ve been writing code for a long time. Started with C++ and C#, but Ruby was where things really clicked for me. Rails especially<strong>.</strong> That ecosystem shaped how I thought about software: keep it clean, avoid repetition, don’t get clever for clever’s sake. DRY, YAGNI, KISS. They’re not just slogans, they’re survival tools.</p><p>Back then, every line mattered. Repetition felt expensive, and abstraction<strong> </strong>was how you paid down technical debt before it grew legs.</p><p>So we developed instincts: abstract early, keep it tidy, stay ahead of the mess.</p><p>But the landscape’s changed. Tools are faster, feedback loops are tighter, and experimentation is cheaper. With LLMs baked into my workflow, I’m not optimizing for elegance anymore. I’m optimizing for exploration.</p><p>These days, I’ll often write two or three versions of the same function. Try different angles, different trade-offs. Sometimes I just want to see how another approach feels in code.</p><p>Recently, I was designing a dashboard for a product and had my prompts dialed in, detailed KPIs, clear visualization goals, and the whole setup. I wanted a strong starting point, so I fed the same prompt into two tools, V0 and Cursor, and let them both run in parallel.</p><p>The outputs had overlap, sure, but each surfaced thoughtful touches I hadn’t considered. One suggested a cleaner way to group metrics, the other styled a visualization that just felt right.</p><p>It wasn’t about picking a winner. It was about mixing and matching ideas, letting the tools sketch so I could shape.</p><p>Is that duplication? Technically, yeah<strong>.</strong> But it’s fast, cheap, and intentional<strong>. A</strong>nd more importantly, it’s disposable.</p><p>Most of those versions get tossed. And that’s fine. It’s not waste, it’s how I learn. I’m not committing to any one design until I’ve seen a few.</p><p>It’s more like sketching than sculpting. Rough outlines, quick strokes, a sense of form that only sharpens with iteration.</p><p>This part took me time to unlearn: I used to think good code meant getting the structure right on the first go. But I’ve broken too many “clean” abstractions on edge cases I hadn’t imagined.</p><p>Clean too early isn’t clean. It’s brittle.</p><p>Now, I let the mess run a bit. Solve it three times, see the pattern emerge, then refactor.</p><p>My cue is that feeling of creeping déjà vu, when I’m writing similar logic for the third time and think, “Alright, this is a real thing now.” That’s when it’s worth unifying.</p><p>And yeah, I still reach for help. I often refactor with the same LLM that helped me write the rough drafts, but now with better context and clearer intent.</p><p>LLMs speed things up, but they don’t do the thinking for me. I still double-check the logic. I still own the decisions.</p><p>Of course, this is how I work when I’m solo. In teams, duplication can be messier. Merge conflicts, inconsistency, cognitive load. It’s not always benign.</p><p>But with the right rituals, shared standards, thoughtful reviews, and tool-assisted cleanup. It becomes manageable.</p><p>Recently, we wrote two takes on an API endpoint to compare performance. We ended up merging the best ideas in review, but the real value was the conversation it sparked.</p><p>Explore first. Align later. The mess doesn’t have to ship.</p><p>DRY still matters, not to save keystrokes, but to preserve clarity. But LLMs give us breathing room before we have to lock anything down.</p><p>So what does <strong><em>good engineering</em></strong> look like now?</p><p>I used to think it meant getting it right early. Clean abstractions, no repetition, DRY all the way down.</p><p>But with LLMs in the loop, I’ve stopped optimizing for neatness up front. I optimize for signal. Duplication helps surface it. Exploration makes the right shape clearer. Refactoring gives it structure. That’s the loop.</p><p>In a way, <a href="https://medium.com/rivus-ai-blog/the-engineering-revolution-02238c295cdc">the metrics I wrote about before still hold</a>: prompt-to-value alignment, decision quality, and technical debt balance. But they make more sense once you accept that the first version isn’t the final one.</p><p><strong>We’re not shipping mess, we’re sketching toward clarity</strong>. And that’s not waste. That’s the work.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=87904c68af82" width="1" height="1" alt=""><hr><p><a href="https://medium.com/rivus-ai-blog/duplication-as-design-embracing-repetition-in-ai-era-coding-87904c68af82">Duplication as Design: Embracing repetition in AI-era coding</a> was originally published in <a href="https://medium.com/rivus-ai-blog">Rivus AI Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Engineering Revolution]]></title>
            <link>https://medium.com/rivus-ai-blog/the-engineering-revolution-02238c295cdc?source=rss----f0d586a4095c---4</link>
            <guid isPermaLink="false">https://medium.com/p/02238c295cdc</guid>
            <category><![CDATA[engineering-mangement]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[aritificial-intelligence]]></category>
            <category><![CDATA[developer-productivity]]></category>
            <category><![CDATA[generative-ai]]></category>
            <dc:creator><![CDATA[Vince]]></dc:creator>
            <pubDate>Mon, 12 May 2025 15:50:04 GMT</pubDate>
            <atom:updated>2025-05-12T15:50:04.824Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Code is now cheap, but judgment isn’t.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Yfp7CDiXe4cD0qqe6Ukglw.png" /><figcaption>“The Engineering Revolution” Oil on pixels, GPT-4o, 2025</figcaption></figure><p>Let’s be honest — we’ve crossed a threshold. The arrival of advanced LLMs like Sonnet and Gemini, paired with specialized coding tools, has fundamentally changed what it means to be a developer. It’s not just an incremental improvement; it’s a paradigm shift.</p><p>Before these tools, we’d pat ourselves on the back for cranking out a few hundred lines of code in a day. A 500-line PR was considered substantial — something that required careful planning and execution. Now? Now I’m watching junior devs casually submit 2,000+ line PRs from what amounts to a conversation with an AI.</p><p>And like any engineering manager worth their salt, this development has my mind racing with implications. How the hell do we maintain quality control when code generation has been accelerated by an order of magnitude? What does code review even look like when your team, no, one team member, is pushing more code in a day than what an entire team previously did in a week? And how do we ensure that this machine-generated code adheres to our security standards and architectural vision?</p><p>I’m not here to trash on these tools. They’re incredible. I use them daily! I believe the majority of code will eventually not be written directly by human hands, and that’s not just okay, it’s inevitable. Our job isn’t to fight this tide but to steer it. We need to focus on making sure our AI tools produce the right outputs according to the guidelines <strong>WE</strong> define.</p><p>But here’s the kicker: even the task of “defining work” is being transformed. These LLMs are shockingly good at systematically breaking down complex tasks. Sometimes, even better than the humans they’re assisting. They don’t get tired after four hours of meetings. They don’t lose the thread when a stakeholder interrupts with an irrelevant question. They methodically process requirements and turn them into executable plans.</p><p>So, where the hell do humans fit in this rapidly evolving picture? What roles do PMs, engineers, and designers play when their traditional tasks are being automated at breakneck speed?</p><p>I think we’re entering an era where our value isn’t in writing code or even in breaking down tasks — it’s in judgment. It’s in understanding the broader context that no AI can fully grasp. It’s in asking “should we” rather than just “can we.”</p><p>Engineers will become more like modern-day pilots, setting the course, monitoring the systems, and ready to take manual control when necessary. PMs will focus less on task breakdown and more on strategic direction and human factors that AIs struggle to quantify. Designers will spend less time on implementation details and more time on conceptual innovation that pushes boundaries.</p><p>The tools aren’t replacing us, they’re elevating us. They’re handling the mechanical aspects of our work so we can focus on the truly human elements: creativity, empathy, ethical considerations, and strategic thinking.</p><h3>Redefining Engineering Rituals</h3><p>This shift in how code gets written means we need to rethink the core rituals of how teams operate. Code review, sprint planning, work breakdown — all of it gets stress-tested when your velocity shoots through the roof.</p><p>Let’s start with code review. If you’re pushing 10x more code, you need 10x more review capacity, or you become the bottleneck. Human reviewers can’t keep up. We’re past the point where reviewing every line manually is realistic. That means we need AI tools that flag issues, detect weird patterns, and surface the stuff that actually needs human attention. The human’s job shifts from syntax checking to validating architecture, intent, and direction.</p><p>Same deal with task breakdown. The Jira ticket that used to take a week can now be knocked out before lunch. So, do we make tickets bigger? Maybe, sometimes. But the smarter move is to climb the abstraction ladder. Don’t write tickets like “implement button.” Write “solve onboarding friction for first-time users.” Focus on problems, not components.</p><p>Sprint planning has to evolve, too. If we’re shipping this fast, maybe two-week sprints are already outdated. Maybe we need tighter feedback loops or a more fluid, continuous delivery model that doesn’t pretend output happens in neat, two-week chunks.</p><p>All of this points in the same direction: <strong>stop optimizing for motion</strong>, start <strong>optimizing for judgment</strong>. We don’t need more ceremonies. We need better decision loops.</p><h3>The Future of Teams</h3><p>The inevitable question looms: if one developer with AI can do the work of ten traditional developers, do we need smaller teams? Yes and no.</p><p>Do we need leaner coding teams? Absolutely. But we might need more people focused on the areas AI still struggles with: product vision, user research, ethical considerations, and strategic direction.</p><p>The team of the future might have fewer implementers but more thinkers. Fewer coders but more architects. The ratio of ICs to managers might shift as each IC can handle more output but requires more guidance on direction and priorities.</p><h3>New Metrics for the AI-Assisted Era</h3><p>If most code is going to be generated by AI, then we’ve got to stop measuring engineering performance like it’s still 2015. Commit counts, PR volume, Jira ticket churn. That stuff barely tells us anything anymore. We need metrics that reflect what actually matters in this new reality: can we <strong><em>steer AI effectively</em></strong>, are we <strong><em>building the right things</em></strong>, and are our <strong><em>humans still thriving?</em></strong></p><p>I find it useful to think about <strong><em>what we’re measuring</em></strong> across three dimensions:</p><ul><li><strong>Efficiency<em> (</em></strong><em>how fast are we delivering)</em></li><li><strong>Effectiveness<em> </em></strong><em>(how valuable that delivery is</em>)</li><li><strong>Experience<em> </em></strong><em>(how the human side is evolving and adapting)</em></li></ul><p>and <strong><em>how mature teams are</em></strong> so that they can be useful:</p><ul><li><strong>Core</strong> <em>(your baseline)</em></li><li><strong>Aspirational</strong> <em>(for mature teams)</em></li><li><strong>Experimental</strong> <em>(for the frontier)</em></li></ul><p>You don’t need to track all of this. Pick what fits. Trash the rest.</p><h4>Core Metrics</h4><p>These are lightweight, impactful indicators every AI-augmented team should consider tracking. They reveal whether you’re actually getting business value and sustainable productivity out of AI tools.</p><ul><li><strong>AI Human PR Cycle Time</strong> <em>(Efficiency) — </em>Are AI-assisted pull requests actually moving through the pipeline faster, or are we just shifting the bottleneck further down?</li><li><strong>First Pass Acceptance Rate</strong> <em>(Efficiency) — </em>How often is AI output good enough to get approved without major rework? High rates mean good prompting and tight alignment with team standards.</li><li><strong>Prompt to Value Alignment</strong> <em>(Effectiveness) — </em>Did the thing we told the AI to build actually solve the right problem and deliver real value? This is your sanity check.</li><li><strong>Technical Debt Balance</strong> <em>(Effectiveness) — </em>Is AI being used to refactor and clean up, or just to ship more features faster? You don’t want to trade velocity for entropy.</li><li><strong>Problem Selection Ratio</strong> <em>(Effectiveness) — </em>Are we using our new firepower on high-value problems or wasting it on nonsense? Judgment matters more than ever when output is cheap.</li><li><strong>AI Response Latency</strong> <em>(Experience) — </em>If your AI tools lag, your devs lose flow. Fast answers mean better momentum. Measure it.</li></ul><h4>Aspirational Metrics</h4><p>Once the basics are humming, you can start digging into these to improve strategic alignment and architectural depth.</p><ul><li><strong>Functional Complexity per PR</strong> <em>(Efficiency) — </em>How much actual functionality is getting shipped per pull request, regardless of how many lines of code it is? AI might be letting us bundle more meaningful change into each deployment. That matters more than line count.</li><li><strong>Prompt Engineering Efficiency</strong> <em>(Experience) — </em>How effective are devs at getting what they want from AI without going in circles? Not just about speed, but clarity and outcome.</li><li><strong>Collaboration Reliability Index</strong> <em>(Effectiveness) — </em>Which AI-human workflows are producing stable, maintainable code? Some ways of working with AI lead to chaos. Others click. Figure out which is which.</li><li><strong>System Understanding Score</strong> <em>(Experience) — </em>Are your engineers still thinking in systems, or are they just slinging prompts and praying? You want people who still understand how the whole thing fits together.</li><li><strong>Architecture Influence Index</strong> <em>(Effectiveness) — </em>Who is actually shaping the system? This isn’t about who writes code. It’s about who’s steering the ship, setting patterns, and thinking about long-term design.</li><li><strong>Value Delivery Density</strong> <em>(Effectiveness) — </em>Are we delivering more real value per sprint, or just more stuff? Code doesn’t matter if nobody needs it.</li><li><strong>Prompt Proficiency Growth</strong> <em>(Experience) — </em>Is the team getting better at working with AI over time? Prompting is a skill. You should see improvement.</li><li><strong>Decision Task Diversity</strong> <em>(Experience) — </em>Are devs getting stuck in one type of work, or are they still switching between design, review, and exploration? A healthy mix prevents burnout and tunnel vision.</li><li><strong>AI Correction Overhead</strong> <em>(Efficiency) — </em>How much time are we spending fixing bad AI code that slipped through review? Less cleanup means better prompting and better review processes.</li></ul><h4>Experimental Metrics</h4><p>These are still emerging. They’re interesting, but require better tools or cultural support to track effectively. Use with curiosity, not as KPIs.</p><ul><li><strong>AI Collaboration Endurance</strong> <em>(Experience) — </em>How long can a dev stay productive using AI before the interaction becomes frustrating or counterproductive? These tools have a drop-off point. Know where it is.</li><li><strong>AI Collaboration Domain Coverage</strong> — <em>(Effectiveness) </em>Can your team work with AI across frontend, backend, security, data, etc.? Broad fluency equals more flexibility and more impact.</li><li><strong>Prompting to Review Ratio</strong> <em>(Efficiency) — </em>How much time are we spending telling the AI what to do versus checking if it did the right thing? If you lean too far to either side, quality drops.</li><li><strong>Cognitive Context Capacity</strong> <em>(Experience) — </em>How many parallel problems can a dev juggle while working with AI without losing the thread? There’s a limit. Find it and staff accordingly.</li></ul><p>These metrics provide a framework for evaluating engineering performance in the AI-assisted era, focusing on the new skills and processes that matter rather than traditional coding metrics that become less relevant when AI generates most code.</p><p>We’re living through the most significant transformation in software development since the invention of high-level languages. Those who embrace this change — who learn to effectively prompt, direct, and collaborate with AI — will thrive. Those who resist it will find themselves increasingly irrelevant.</p><p>The future of engineering isn’t human OR machine. It’s human AND machine, working together, each bringing their unique strengths to the table. Our challenge isn’t to preserve the past; it’s to define this new future in a way that amplifies human potential rather than diminishing it.</p><p>I feel like we’re entering another golden age of engineering. If we don’t fuck it up.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=02238c295cdc" width="1" height="1" alt=""><hr><p><a href="https://medium.com/rivus-ai-blog/the-engineering-revolution-02238c295cdc">The Engineering Revolution</a> was originally published in <a href="https://medium.com/rivus-ai-blog">Rivus AI Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Building Smarter AI Workflows with Anthropic’s Model Context Protocol]]></title>
            <link>https://medium.com/rivus-ai-blog/building-smarter-ai-workflows-with-anthropics-model-context-protocol-433029f10124?source=rss----f0d586a4095c---4</link>
            <guid isPermaLink="false">https://medium.com/p/433029f10124</guid>
            <category><![CDATA[cursor]]></category>
            <category><![CDATA[anthropics]]></category>
            <category><![CDATA[genai]]></category>
            <category><![CDATA[vibe-coding]]></category>
            <category><![CDATA[model-context-protocol]]></category>
            <dc:creator><![CDATA[Vince]]></dc:creator>
            <pubDate>Wed, 02 Apr 2025 05:52:11 GMT</pubDate>
            <atom:updated>2025-04-02T07:46:58.558Z</atom:updated>
            <content:encoded><![CDATA[<p>Last week, I was <em>vibe coding</em>™ for a couple of hours, trying to nail down this quick and dirty demo. Here’s the thing about vibe coding with AI though: it breaks your shit. A lot. One minute you’re cruising, the next minute your perfectly working prototype is a spectacular mess because you forgot to commit that one working version.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tZxnPQ6zGsTquEQ8eNEJLQ.png" /><figcaption>Asked GPT to visualize MCP. <em>How good is this new image generation update in 4o?</em></figcaption></figure><p>I learned this lesson the hard way. Multiple times. You’ve got to commit your work regularly, but stopping to write meaningful commit messages is the ultimate vibe killer. So I thought, “Why not get AI to help with regular commits when things are working?” Limit the blast radius. Keep the vibes flowing.</p><p>I’d been reading about Anthropic’s Model Context Protocol (MCP) for a while, and this seemed like the perfect excuse to put it into action. If I’m going to automate my workflow, might as well test drive one of the most interesting new tools in the AI space.</p><p>In this exploration, I’ll share:</p><ul><li>What MCP is and why it matters to me as a developer</li><li>How MCP complements existing agentic frameworks and enhances my projects</li><li>Practical examples that highlight MCP’s unique strengths, including automating GitHub Pull Requests via Cursor and an LLM</li></ul><h3>What Exactly is MCP?</h3><p>When I first started looking into MCP, I was struck by how straightforward yet powerful the concept was. At its core, it’s just a standardized way for AI models to:</p><ul><li>Grab context from wherever it lives (databases, files, APIs) — these are called Resources</li><li>Actually do stuff (like creating PRs or running scripts) — these are called Tools</li></ul><p>The analogy that clicked for me was thinking of MCP like HTML but for AI tools. Think about it — you write some HTML, and any browser can render it. Chrome, Firefox, Safari — doesn’t matter, they all speak the same language. Sure, they might render it slightly differently, but they all understand what a &lt;div&gt; is, what an &lt;img&gt; means. MCP does the same thing but for AI — write your tools once, and any AI that speaks the protocol knows how to use them.</p><p>It’s built on a simple client-server setup:</p><ul><li>The server side exposes your resources and tools</li><li>The client side (in my case, Cursor) talks to that server to get stuff done</li></ul><h3>Something Interesting About MCP: It’s Not Just for Getting Data</h3><p>At first, I thought MCP was mainly about fetching context — you know, getting data from different sources to help the AI make better decisions. But as I dug into it, I realized it’s equally good at actually doing things:</p><ul><li>Resources are like your read-only data sources — docs, files, API responses</li><li>Tools are your action items — creating PRs, running scripts, triggering workflows</li></ul><p>This dual nature is what made it perfect for my commit automation idea.</p><h3>How’s This Different From Other AI Tools I’m Using?</h3><p>I already use stuff like LangChain and OpenAI’s function calling, Autogen and Langraph for agentic implementations in other projects, so I had to figure out if MCP was worth adding to my toolkit. Here’s what I found interesting:</p><h4>1. It’s Actually Universal</h4><p>My biggest pain point with other frameworks is writing new connectors for every integration. With MCP, I can build one server and any MCP-compatible AI can use it. No rewrites, no framework-specific code.</p><h4>2. It Figures Things Out On Its Own</h4><p>Most agent frameworks need me to define everything upfront — what functions exist, what parameters they take, etc. MCP just discovers what’s available in real-time. Way less boilerplate to maintain.</p><h4>3. A Real Example: Why I’m Not Just Using a Vector DB</h4><p>I’ve used vector databases before for similar stuff. You dump your docs into something like Pinecone or Chroma, and your AI can search through them. But there are always two annoying problems:</p><ul><li>The data gets stale unless you constantly update it</li><li>You can’t really handle real-time or transactional data well</li></ul><p>MCP solved both issues for me — it just grabs the latest data directly from the source when needed. Perfect for my git workflow where I need the latest commit info.</p><h3>Putting It All Together: My GitHub PR Automation</h3><p>Here’s what I built to test out MCP — a system to automate my PR workflow in Cursor. Here’s how it came together:</p><ol><li>Examine current code changes (diff)</li><li>Create a branch and commit changes</li><li>Create a PR on GitHub</li></ol><p>This workflow matches how most developers actually work. We’ll implement this as a single MCP server with both local git operations and GitHub integration.</p><h3>Step 1: Examining Code Changes</h3><p>I started by building a tool that could fetch the current diff between my working directory and the main branch. After a few trial runs, here’s what worked for me:</p><pre>from typing import List, Dict, Optional<br>from dataclasses import dataclass<br>import os<br>import git<br>from github import Github<br>from mcp.server.fastmcp import FastMCP<br><br>@dataclass<br>class DiffInfo:<br>    file_path: str<br>    changes: str<br>    added_lines: int<br>    removed_lines: int<br><br># Create an MCP server<br>mcp = FastMCP(&quot;Git Commit Helper&quot;)<br><br>@mcp.tool()<br>def get_local_diff(repo_path: str) -&gt; List[Dict]:<br>    &quot;&quot;&quot;Get the diff between working directory and HEAD.<br>    <br>    Args:<br>        repo_path: Path to the Git repository<br>    &quot;&quot;&quot;<br>    try:<br>        repo = git.Repo(repo_path)<br>        diffs = []<br>        <br>        # Get the diff for tracked files<br>        for diff_item in repo.index.diff(None):<br>            file_path = diff_item.a_path<br>            diff_text = repo.git.diff(file_path)<br>            <br>            added = len([line for line in diff_text.split(&#39;\n&#39;) if line.startswith(&#39;+&#39;)])<br>            removed = len([line for line in diff_text.split(&#39;\n&#39;) if line.startswith(&#39;-&#39;)])<br>            <br>            diffs.append({<br>                &quot;file_path&quot;: file_path,<br>                &quot;changes&quot;: diff_text,<br>                &quot;added_lines&quot;: added,<br>                &quot;removed_lines&quot;: removed,<br>                &quot;is_new_file&quot;: False<br>            })<br>        <br>        # Get untracked files<br>        untracked_files = repo.untracked_files<br>        for file_path in untracked_files:<br>            try:<br>                with open(os.path.join(repo.working_dir, file_path), &#39;r&#39;) as f:<br>                    content = f.read()<br>                <br>                added = len(content.splitlines())<br>                <br>                diffs.append({<br>                    &quot;file_path&quot;: file_path,<br>                    &quot;changes&quot;: content,<br>                    &quot;added_lines&quot;: added,<br>                    &quot;removed_lines&quot;: 0,<br>                    &quot;is_new_file&quot;: True<br>                })<br>            except Exception as e:<br>                print(f&quot;Error reading untracked file {file_path}: {str(e)}&quot;)<br>                continue<br>        <br>        return diffs<br>    except Exception as e:<br>        print(f&quot;Failed to fetch local diff: {str(e)}&quot;)<br>        raise</pre><p>This was a game-changer. Now the AI could actually understand what I’d just coded — not some random history from previous commits, but the actual changes I was about to push. It even catches untracked files, making sure nothing gets missed. Way more relevant for generating a decent PR description.</p><h3>Step 2: Creating a Branch and Committing Changes</h3><p>Next, I needed a way to capture those changes into a commit. Maybe it’s just me but it’s just so painful naming branches especially if you don’t have ticket numbers you refer to, so automating this made a lot of sense. The best part? The LLM analyzes the diff and generates a meaningful branch name and commit message based on what actually changed:</p><pre>@dataclass<br>class CommitResult:<br>    branch_name: str<br>    commit_sha: str<br>    status: str<br><br>@mcp.tool()<br>def create_branch_and_commit(<br>    repo_path: str,<br>    branch_name: str = &quot;&quot;,<br>    commit_message: str = &quot;&quot;<br>) -&gt; Dict:<br>    &quot;&quot;&quot;Create a new branch and commit current changes.<br>    <br>    Args:<br>        repo_path: Path to the Git repository<br>        branch_name: Name for the new branch. If empty, will use current branch or &#39;feature/new-changes&#39;<br>        commit_message: Commit message. If empty, will use &quot;Update files&quot;<br>    &quot;&quot;&quot;<br>    try:<br>        repo = git.Repo(repo_path)<br>        <br>        # Get current branch<br>        current_branch = repo.active_branch.name<br>        <br>        # If no branch name provided, use current branch (unless on main/master)<br>        if not branch_name:<br>            if current_branch in [&#39;main&#39;, &#39;master&#39;]:<br>                branch_name = &quot;feature/new-changes&quot;<br>            else:<br>                branch_name = current_branch<br>        <br>        # If we&#39;re on a different branch than target, create/checkout the target branch<br>        if branch_name != current_branch:<br>            # Check if branch exists<br>            if branch_name in [b.name for b in repo.branches]:<br>                # If it exists, just checkout<br>                repo.git.checkout(branch_name)<br>            else:<br>                # Create and checkout new branch<br>                repo.git.checkout(&#39;-b&#39;, branch_name)<br>        <br>        # Add all changes (including untracked files)<br>        repo.git.add(&#39;.&#39;)<br>        <br>        # Commit changes<br>        commit = repo.index.commit(commit_message or &quot;Update files&quot;)<br>        <br>        print(f&quot;Created commit {commit.hexsha} on branch {branch_name} in repo {repo.working_dir}&quot;)<br>        <br>        return {<br>            &quot;branch_name&quot;: branch_name,<br>            &quot;commit_sha&quot;: commit.hexsha,<br>            &quot;status&quot;: &quot;committed&quot;<br>        }<br>    except Exception as e:<br>        print(f&quot;Failed to create branch or commit: {str(e)}&quot;)<br>        raise</pre><p>I won’t lie — the first time I watched the AI create a branch, name it sensibly based on my code changes, and then write a commit message that actually made sense, it felt like magic. Also, no more commit messages like “WIP” for me. The code even handles the case where I’m already on a feature branch, which is super convenient.</p><h3>Step 3: Creating a Pull Request</h3><p>Finally, I needed to connect this to GitHub. This was the only part that actually needed a GitHub token, which I can store in environment variables:</p><pre>@dataclass<br>class PullRequestResult:<br>    url: str<br>    number: int<br>    status: str<br>    request_id: str    <br><br>github_token = os.environ.get(&quot;GITHUB_TOKEN&quot;)<br>github_repo = os.environ.get(&quot;GITHUB_REPO&quot;)<br><br>@mcp.tool()<br>def create_pull_request(<br>    repo_path: str,<br>    branch_name: str,<br>    base_branch: str,<br>    title: str,<br>    description: str,<br>    reviewers: Optional[List[str]] = None<br>) -&gt; Dict:<br>    &quot;&quot;&quot;Create a new pull request with the specified parameters.<br>    <br>    Args:<br>        repo_path: Path to the Git repository<br>        branch_name: Name of the branch to create PR from<br>        base_branch: Name of the target branch (e.g., main)<br>        title: PR title<br>        description: PR description<br>        reviewers: Optional list of GitHub usernames to request review from<br>    &quot;&quot;&quot;<br>    if not github_token or not github_repo:<br>        raise ValueError(&quot;GitHub token or repo not configured&quot;)<br>        <br>    try:<br>        repo = git.Repo(repo_path)<br>        github = Github(github_token)<br>        gh_repo = github.get_repo(github_repo)<br>        <br>        # Push the branch to GitHub first<br>        repo.git.push(&#39;origin&#39;, branch_name)<br>        <br>        # Create the pull request<br>        pr = gh_repo.create_pull(<br>            title=title,<br>            body=description,<br>            head=branch_name,<br>            base=base_branch<br>        )<br>        <br>        # Add reviewers if specified<br>        if reviewers:<br>            pr.create_review_request(reviewers=reviewers)<br>        <br>        print(f&quot;Created PR #{pr.number}: {pr.html_url}&quot;)<br>        <br>        return {<br>            &quot;url&quot;: pr.html_url,<br>            &quot;number&quot;: pr.number,<br>            &quot;status&quot;: &quot;created&quot;,<br>            &quot;request_id&quot;: &quot;&quot;<br>        }<br>        <br>    except Exception as e:<br>        print(f&quot;Failed to create PR: {str(e)}&quot;)<br>        raise</pre><h3>Putting It All Together</h3><p>To run this whole thing, I just needed a couple lines at the end:</p><pre>if __name__ == &quot;__main__&quot;:<br>    # Initialize and run the server<br>    mcp.run(transport=&#39;stdio&#39;)</pre><p>Integrating it into Cursor was straightforward, on Mac I had to go Cursor &gt; Settings &gt; Cursor Settings &gt; MCP and I added my little helper as a global MCP server configured like so:</p><pre>{<br>  &quot;mcpServers&quot;: {<br>    &quot;git_commit_helper&quot;: {<br>      &quot;command&quot;: &quot;uv&quot;,<br>      &quot;args&quot;: [<br>        &quot;--directory&quot;,<br>        &quot;/my/directory/git_commit_helper/&quot;,<br>        &quot;run&quot;,<br>        &quot;main.py&quot;<br>      ],<br>      &quot;env&quot;: {<br>        &quot;GITHUB_TOKEN&quot;: &quot;xxx&quot;,<br>        &quot;GITHUB_REPO&quot;: &quot;xxx&quot;<br>      }<br>    },<br>  }<br>}</pre><p>Once I had it set up, it looked like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TElB4ivZMYLKsZqlikoTkg.png" /></figure><p>With this running, I could type in Cursor to “can you commit my changes”. Here’s a screenshot of me trying to update this specific article in my git repo.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bvYVE6NxVAw__BopIJ_FTg.png" /><figcaption>hey cursor, commit my changes</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nm5dkZNiKkRY6ig4Qb9KrQ.png" /><figcaption>write me some nice commit messages, pls</figcaption></figure><p><em>For the eagle-eyed, yes, I use Cursor as a writing tool, yes I have “self-learning” rules setup for it. Maybe an article for another day.</em></p><p>No more staring at my changes trying to remember what the hell I was doing. The AI just looks at the diff, figures out what changed, and writes it up for me. And because it’s using my actual changes, not some random commit history, the descriptions are spot on.</p><h3>This Could Have Been A Cursor Rule…</h3><p>…Is the new <em>“this could have been an email”.</em> Yeah, this could have been a Cursor rule, and it would have been simpler. But what MCP gives me is transferability. What if I switch to Windsurf? What if there’s a new text editor tomorrow? This approach gives me the kind of portability and reusability we should be thinking about when building similar AI tools.</p><h3>Learnings…</h3><p>Building this out showed me a few things about MCP that weren’t obvious from just reading the docs:</p><h4>The Division of Labor is Key</h4><p>It took me a minute to think about how I should divide work between the MCP tools and the LLM itself. Initially, I thought I needed to build intelligence into my tools (like generating branch names), but I realized the LLM calling the tools is already smart! Just set up parameters and let the AI handle the creative stuff while your tools focus on execution.</p><h4>Debugging Has Its Quirks</h4><p>Debugging can be tricky because logging is dependent on the client. This is super obvious now as I write this, but initially I was expecting I could just run the server independently. Actually, it’s the client call that starts it, kind of like a serverless function. Set up good error handling from the beginning — you’ll thank yourself later.</p><h4>Real-Time Access Makes All the Difference</h4><p>The ability to access live data in real-time is what made this workflow actually useful. Instead of working with stale data like I would with many other approaches, MCP let me work directly with whatever was happening in my repo right now.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=433029f10124" width="1" height="1" alt=""><hr><p><a href="https://medium.com/rivus-ai-blog/building-smarter-ai-workflows-with-anthropics-model-context-protocol-433029f10124">Building Smarter AI Workflows with Anthropic’s Model Context Protocol</a> was originally published in <a href="https://medium.com/rivus-ai-blog">Rivus AI Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>