self-driving codebases


Self-Driving Codebases

Hi friend!

Today I'm sharing a few notes on my experiments around self-driving codebases, a phrase often used by the Cursor team. If you find this interesting, share it with a friend or colleague!

Thanks for reading,
Robert


Notes: Self-Driving Codebases

The idea of a self-driving codebase might sound abstract. But with recent releases from Cursor, Claude Code, and similar tools, it is becoming more concrete.

Across the major coding harnesses, the same shift is happening: coding agents are moving from interactive assistants inside an IDE to programmable infrastructure that can be triggered and managed programmatically.

In its current form, a software release- and feedback cycle in a typical company might look roughly like this:

Production errors and explicit user feedback usually move through several handoffs: support triages the issue, a PM or planning process turns it into a ticket, a developer investigates and writes the fix, and the change then moves through the release process before reaching users.

A self-driving codebase, in contrast, might look something like this:

Instead of turning feedback and errors into a long handoff process, they can trigger a cloud agent that investigates the issue, proposes a fix, and pushes the result into the CI/CD pipeline, with or without human review.

That trigger can live outside the codebase, for example as part of an automation workflow, or it can become part of the product itself. The second version is what I am currently exploring:

In my side project Readbetter, a tool that converts newsletters into Kindle-ready EPUB files, a recurring failure mode is that Amazon rejects a generated file. The only signal is a vague email saying the file could not be processed.

Previously, that email started a lengthy manual process: tracing the affected account, locating and downloading the EPUB from the cache, running validation scripts, inspecting the issue, finding the relevant code path, fixing the bug, testing, and shipping a new release.

Now, the email triggers a cloud agent.

Email parsing is already a core part of Readbetter, so I extended that flow with a function that can call the Cursor SDK. The failure email is parsed, the relevant context is extracted, and a Cursor cloud agent is started with a pre-configured environment.

The agent receives the context and runs through the same steps I previously handled manually, inside a sandboxed cloud environment. It then proposes a fix by pushing to a feature branch and opening a PR.

That is the lite version of a self-driving codebase: a real production failure becomes a structured coding task automatically.

In my own experience, Cursor currently offers the smoothest developer experience for setting this up with very little overhead. You could build a similar loop with Claude Managed Agents, or with more configuration on top of other coding harnesses.

The broader direction is clear: AI is no longer just helping inside the coding loop; it is starting to close the loop between production signals and code changes.

Headlines & Links

  • Apple Silicon costs more than OpenRouter – not surprising: running an open source model locally will often be costlier compared to the cloud based if you fully price in the hardware and electricity
  • Codex-maxxing - Jason from the Codex team wrote a post about how he uses Codex. What I found most interesting was the non-code related work, i.e. combining it w/ Slidev to create slidedecks, or leveraging computer-use to get an Amazon refund.

Robert Bouschery c/o Kit.com 600 1st Ave, Ste 330 PMB 92768, Seattle, WA 98104-2246
Unsubscribe · Preferences

The Hybrid Engineer

A newsletter for builders at the frontier, leveraging AI to bridge software, product, and knowledge work.

Read more from The Hybrid Engineer

What Happens When a Model Disappears? Hi friend, The big story of the past few days was obviously Fable 5. I tested it and found it genuinely extraordinary, but my conclusion was still that it is definitely not the new default model most users should switch to. What happened next has already been covered thoroughly. The US administration, citing national security concerns, barred Anthropic from offering access to the model to non-US citizens. Anthropic responded by pulling access more...

How to update your language to get better results from AI Hi friend!Both of these statements are true: AI tools democratize professional work.But seniority still matters. A beginner can now create things that looked impossible a few years ago. They can design an interface, generate a professional slide deck, write functional code, or edit a video. Give the same tools to a senior engineer, designer, analyst, or strategist, and the output will still be much better. Not because they can click...

What running slow taught me about agentic engineering Hi friend!AI tools can tempt you to work at 100x speed.And honestly, I’ve been there.Spinning up ten agents in parallel. Jumping from tab to Codex to terminal to Cursor like a madman. Moving fast. Getting a lot done. Seemingly.Then reality kicks in.Your mind can only go so fast.And if your goal is not just to generate output, but to actually ship something good, you cannot simply hit send on everything the AI gives you. You have to review...