An essay on working with AI

The Riverboat and the Airliner

AI agents aren't people, but not in the way we intuit. Many of the rules we think code ought to follow are products of human constraint.

TAPE UNIT 0SELECTREADYM. REICHELTREAD · WRITECBA8421

"AI agents are not people" is a phrase that has been repeated so often it has become something of a trope. The issue is that I suspect AI agents aren't people in a way different from how most people seem to intuit that they are not.

Let me back up.

§1Something like a human

Humans are, and have always been, very good at detecting other humans. So when we use language models trained on endless reams of data to simulate human output, we predict that whatever produced the output, regardless of what it is, is something like a human. The "like" is doing a great deal of work, but it follows a familiar pattern. In the same way that we think of dogs as furry children with a poor command of language, and of children as small adults with otherwise adult motivations and reasoning priors, we see AI models, despite every effort not to, as min-maxed humans: high on overall command, low on resistance to influence, high on specific focus, low on anything resembling persistent memory. We construct, to our detriment, a modified but still human-like model of the AI, just as we project our own modified self-consciousness onto anything that could plausibly receive it.

Like me, but…Fig. 1 · Interactive
less than mememore than me

The dog is like me, but with more extraversion and less disgust. The child is like me, but with less patience and forward reasoning. The problem with this, however, is not one of morals; it is one of management. We see models as their weaknesses, as the things they are close to doing or struggle with, and we perceive their strengths the way we might perceive a human prodigy. That leaves us both preoccupied with their failures and blind to their possible strengths. We recognize that they seem to command different domains in ways that seem impossible, but even here we balk. It's like refusing to hand a hydraulic excavator a task that would be too much for the world's strongest man: it never enters our mind that such a skill could even be possessed.

To use these models effectively, then, requires us to step back and ask: given what this construct actually is, what exactly is the type of work it is best at, and how can I reach my goals by way of the type of work at which it excels?

§2Same cities, different job

A key insight is that while you might use AI to arrive at the same place, be it a feature, an application or a service, how you get there may be by a wholly different path, and that path may be predicated on the success of totally different skills.

Consider a riverboat company operating between New Orleans and St. Louis. The most important thing it would look for in a river captain was knowledge of the waterway, which mattered far more than technical proficiency, especially since at night, in unexpected weather, the captain could not wait to consult the charts before making a decision. An airline operating between the same cities finds that the riverboat's problem space disappears entirely and is replaced by a new one. The pilot must be spectacularly familiar with the performance and handling of the aircraft, in a fickle environment with really no terrain to speak of. Someone who excels at one may be hopeless at the other.

New Orleans to St. LouisFig. 2 · Interactive
New OrleansSt. Louis
What the riverboat company hires for
Schematic, not to scale. Same origin, same destination, almost no skills in common.

It doesn't matter whether AI is the boat captain or the airline pilot. What matters is that a successful organization would not try to solve the perceived shortcomings of such an employee by changing their tooling, but by putting them in an environment where their skills let them excel.

And yet we don't do this. We note that models lose context, so we supply them with oceans of skills, instructions, stated context and rules. At the same time, while we note that models excel at verbose generation, our desired output remains diffs, perhaps in the tens of lines, often far smaller for certain bug fixes, and even for new features, a sequence of compact commits as we slowly realize the feature.

§3Conventions built for teams

This raises a second, uncomfortable question. Models diverge significantly from how a single person might implement an application or component, but they differ even more from how a team might implement a solution. Indeed, most developer tooling and convention is designed around the limitations and strengths, as well as the business needs, of human organization.

Without the constraint that humans struggle to excel at multiple languages, and tend to keep their familiarity to a few, why would server-side JavaScript be of interest to anyone? In an organization it makes sense: a more compact stack widens hiring choice and increases the versatility of employees. But that benefits the people implementing the product, not the product itself. Similarly, rapidly evolving, heavy frontends coupled with extremely thin and agnostic backends serve the business needs of rapid iteration, simple A/B testing and straightforward bug fixes, at the relative cost of security and performance. It's an architecture that defies reason in a vacuum, but makes a great deal of sense given organizational constraints.

Oughts, and the constraints behind themFig. 3 · Interactive
One language across the whole stack
The constraintPeople excel at only a few languages.
Who it servesThe organization: wider hiring, more versatile employees. Not the product.
Without itEach layer can use the language that suits it best.
Heavy frontend, thin agnostic backend
The constraintThe business needs rapid iteration, simple A/B tests and easy bug fixes.
What it costsSecurity and performance.
Without itLogic can live where it's safest and fastest, with conformance between the two sides proven (§4).
Self-documenting, introspective code
The constraintImplementation is expensive, so code must describe itself and absorb change with a minimum of keystrokes.
Who it servesMany updaters, each with only partial understanding of the others' work.
Without itDescriptions, tests and counterparts are regenerated with every change.
Small diffs, compact commits
The constraintWriting and reviewing code is slow for people, so change has to arrive in small pieces.
The mismatchModels excel at verbose generation.
Without itGenerate the whole artifact, then check and re-check it.
None of these is wrong. Each is a sensible answer to a constraint that belongs to people, not to software.

§4The chain of correctness

Of course, the alternative is quite challenging. If a feature requires backend and frontend changes, proving conformance between the two becomes tedious, because one of those artifacts must contain code that simultaneously performs some function and describes the specifics of the inputs, actions and outputs of the function it performs, achieved through introspection.

The chain of correctness, then, is that a system is able to operate, to test itself, and, upon succeeding, to emit a contract that is definitionally a product of the literal code it runs, so that its counterpart can ingest that artifact as part of its own testing, allowing guaranteed correctness.

Change the backend, follow the chainFig. 4 · Interactive
Backend code
Tests itself
Emits a contract
Frontend tests ingest it
Frontend code

The contract is a product of the literal code that ran, not a description someone kept up to date. For a team, keeping both sides in step is the tedious part. For agents, regenerating the counterpart is routine.

All of this, of course, assumes a world in which strategizing and brainstorming is cheap and easy, but implementation is fraught, prone to errors, and expensive. A human can, in minutes or hours, imagine in a fuzzy but, given experience, generally correct way how a system might be designed, but would take weeks to coalesce those ideas into application code. So code must be designed to support as much change as possible with a minimum of keystrokes, and to manage the concurrent activity of multiple updaters with only partial understanding of each other's work.

In contrast, one LLM agent could trivially take a single idea, a schema or model, and very accurately transpile it into a multitude of languages; another might check and re-check every single attempt; a third might create unit tests or static analysis for that precise task and any future changes. This is an inherently generative activity, so expensive for humans that we have invented elaborate ways of avoiding this specific work. Yet here, with agents, accurate through iteration and by virtue of a process that can be done and redone with any future change, it eliminates entire categories of code requirements around self-documentation, reflection and introspection.

Easy and hard, invertedFig. 5 · Interactive
Qualitative, drawn from the argument above. Sort either way and the list flips: what people find hardest, agents find routine, and the reverse.

This is a trivial example, but its purpose is not to describe opinionatedly how something ought to be done. It is to draw attention to how many "oughts" exist in the coding world today that are simply a product of constraint and organization.

§5Where the impossible is tractable

The hardest new tool to use is the one that radically changes or inverts what is easy and what is hard, and it is precisely such a tool that pairs so powerfully with existing tools. At times one may wish the new tool were not so different, that it were in fact a straight-line advancement over the prior tool. But such an advancement may at most bring improvements smaller than its own advancements.

Real progress comes about not by making moderate things easy, but by understanding where the impossible things may now be tractable.