cd /news/developer-tools/show-hn-rudder-own-your-agent-s-code… · home topics developer-tools article
[ARTICLE · art-84927] src=github.com ↗ pub= topic=developer-tools verified=true sentiment=· neutral

Show HN: Rudder – Own Your Agent's Code Again with Test-Driven Development

Rudder, a new Apache-2.0 licensed plugin for Codex and Claude Code, aims to help developers regain ownership of AI-generated code by forcing agents to rewrite unit tests based solely on user intent, turning test coverage into a proxy for how much of the code stems from user decisions. The plugin captures coding session history, shows an initial coverage percentage, and prompts targeted questions to increase coverage to a user-set goal, running a red-green test-driven-development flow. It is designed to be unintrusive, embedding directly into existing coding sessions and working cross-platform by tracking the working branch.

read2 min views1 publishedAug 3, 2026

As someone who is using agents to code for me a lot lately, I was starting to feel more and more like I'm losing touch with the code I write--it's starting to feel like Claude's code rather than mine. I'm pretty sure I'm not alone in feeling this way, so I made Rudder as a first earnest shot at trying to fix this problem.

Nowadays with AI coding agents, unit tests are pretty much dead code--your agent may write them because it has to hit coverage, but it is basically meaningless because it's just checking against its own implementation. So, I figured I would repurpose unit tests back to their actual core purpose: making sure that your code does what you want it to do.

Rudder is a local Codex/Claude Code plugin that captures your coding session history and forces your agent to rewrite unit tests exclusively from the intent expressed in your prompts, turning your unit test coverage into a proxy for what percent of the code actually comes from decisions you've made talking to your agent. After showing you an initial coverage percentage, Rudder prompts you with targeted questions to increase coverage to your goal target, and runs a red-green test-driven-development flow to get you up to your goal. Hitting coverage is the equivalent of saying "My decisions in chat conversation cover X% of the code here."

There's a few other ideas out there for getting agents to code closer to the user's intent, mostly including some spec-driven-development tools, etc. But I was pretty unsatisfied with the idea that I'd have to completely change my workflow to be able to make decisions when coding with AI. So, I tried to make Rudder as unintrusive as possible by embedding directly into your existing coding sessions.

Install the plugin into every coding agent you want to track and it will work cross-platform (i.e. if you code in the same worktree with both Codex and Claude Code, Rudder will be able to consolidate the prompts from both by tracking the working branch). When you want to use it, just tell your agent "Run Rudder" and it will kick off the flow.

It's Apache-2.0 licensed, because that seems popular nowadays. I'm actively improving this day-by-day for my own use, so let me know what you think! Especially curious how you guys go about making your agent's code your own.

Check it out here: [https://github.com/RudderCode/Rudder](https://github.com/RudderCode/Rudder)

Comments URL: [https://news.ycombinator.com/item?id=49157652](https://news.ycombinator.com/item?id=49157652)

Points: 1

── more in #developer-tools 4 stories · sorted by recency
── more on @rudder 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/show-hn-rudder-own-y…] indexed:0 read:2min 2026-08-03 ·