Jon Mulligan

Planes, Trains and Autonomous Coding Agents

Disclaimer: This post will cover only planes and autonomous coding agents. If you’re here expecting content about trains, I’m sorry to disappoint. Writing blog titles is hard, and a tenuous link to a 1987 road trip comedy film is the best I could come up with.

Software development is going through a paradigm shift, and for someone who holds core engineering principles close, I feel a little apprehensive about the direction many practitioners may be headed. This is not to judge other principles or ideals, but to draw some inspiration from an industry that’s built on a foundation of uncompromising situational awareness.

We often envision tech at the absolute forefront of innovation, but I believe that in reality, we still have a lot to learn from older, safety-critical industries. The aerospace industry has gone through a lot of the same issues we have, and has a wealth of hard-earned wisdom that we can adopt. I actually have a lot to say on this as a broader theme, but right now I want to talk about how the automation of aircraft has developed in a way that fosters a healthy partnership between human and machine.

-–

Pilots are habitually cross-checking their inputs and scanning their instruments, not to see how the autopilot is flying the plane, but to check it’s not doing anything stupid. Say the goal is to fly from London to Tokyo. An autopilot that blindly follows human instruction to fly directly over the north pole might get you there, but that’s only observing the happy path. Pilots must maintain situational awareness at all times to ensure that they’re in range of an airport in case of emergency. GPS jamming in certain parts of the world can also trick and confuse fully automated systems, so pilots have to check that the plane isn’t drifting off course.

Autopilot has existed in some form or another since 1912, and in 1981 we got the first of what you’d call a modern-day autopilot that can do almost all of the actual flying. We’ve had over a century to refine this machine-in-command protocol in the skies, including defining when a human needs to take back control. In software engineering, we also need to understand our system’s design well enough to know its failure points, allowing us to act responsibly when an incident forces us to fly manually.

What I’d like to suggest in the age of AI automation and agentic coding is not falling into the trap of “automation complacency.” Our jobs as software engineers may be less and less about writing code, but our responsibility as stewards of the systems and products we create is unchanging. In production, bugs emerge and incidents happen. We have to retain an understanding of how the underlying system works, even if we didn’t write the code ourselves. Otherwise we’re just passengers in a plane hoping it doesn’t drift off course.

Human-written code is susceptible to technical debt, and agent-written code is no exception. Just because new AI models come around that can smartly work around the issues doesn’t mean the issues are gone. Automation can compensate for friction, but there’s a theoretical point where it can’t be overcome any longer. This is the common pitfall of “vibe coding.” Similarly, an autopilot can compensate for an underperforming engine, but it takes human oversight to say “that needs resolving before it gets any worse.”

I’d like to end with the thought that seemingly has software engineers split:

“Is it OK to not know exactly how the system works under the hood?”

By looking to aviation, I think we can answer that question as “No.” At least in the context of an actual shippable product.

As software engineers, our craft was never the code we wrote, but the integrity and longevity of the systems we make. It’s OK to give AI the controls to write the code, but if we surrender the system design and understanding to the agent alone, we stop being engineers and lose the ability to make sure it’s not doing anything stupid.

Maybe a decade or two from now I’ll be eating my words as we fly around in planes without a pilot. But with nobody accountable for my safety, I’m not sure I’m ready for that day just yet.

#software #ai #planes