HASSANHABIB

Human APIs

10 min read   software engineeringlearning & guidanceaiartificial-intelligence

There is a message that shows up in team chats now, and you have probably seen it. It is well organized, with a short summary at the top and three tidy bullet points underneath. The person who posted it did not write it, did not edit it, and in the worst cases did not read it.

Someone asked them a question. They pasted the question into an AI. They pasted the answer back into the chat. Request in, response out, nothing in between.

I call that person a Human API.

0/ What a Human API Is#

An API receives a request, forwards it to whatever does the real work, and returns the response. It has no opinion about the payload. Nobody asks an endpoint whether it agrees with what it just returned.

That is a fine design for software. It is a terrible design for a person.

A Human API is someone whose role has shrunk to transport. The AI talks to the team through them. The team talks to the AI through them. They carry messages across a boundary and add nothing on the way: no filter, no judgment, no “wait, this is wrong for our system.” If you build software the way I do, you will recognize the shape. It is a broker. A thin wrapper around an external dependency, with no business logic allowed inside it.

We put brokers at the edge of a system on purpose, because they are disposable. Swap the dependency, rewrite the broker, and nothing else notices. A person who has made themselves into a broker has made themselves exactly that easy to replace. And everyone downstream is consuming a payload nobody validated.

A prompt can carry real thinking: constraints, reasoning, an original idea. That part is yours. But if the only difference between your work and someone else’s is a prompt that anyone could have typed, then you are no longer there.

Prompt + LLM = result. If nobody understands that result or answers for it, there is no human in the equation, and anyone can copy it.

Prompt + LLM + a human who understands the result and answers for it = work that is yours. That is work you can explain, challenge, and take responsibility for. Someone can copy the output. They cannot copy that.

1/ Using AI Is Not the Same as Growing#

Just because you are using AI today, it doesn’t mean that you are growing. You may be slowly devolving.

Just because AI is getting the work done, and the celebrations and praise around you are real, it doesn’t mean that your understanding is keeping pace with your output.

It really depends on one thing. Is AI a tool you are using, while the judgment and the decisions are still yours, and you understand and stand behind what comes out? Or did you hand off the steering wheel and decide to take a nap, with your eyes seemingly open and your brain fully shut?

AI, in a way, is just like a car. As long as you are driving at a speed that lets you comprehend what is around you, you stay in control and you get to your destination safely.

Hand the steering wheel to AI and drive at 250 miles an hour, and suddenly you lose all control. You put yourself and everyone around you at risk, and you are very unlikely to reach the destination you wanted.

It feels great in the beginning. You are getting there faster, before everyone else. You are getting home earlier and getting more done. But the distance between what you produce and what you understand keeps growing.

2/ The Same Tool, Two Directions#

None of this is an argument against AI. The same tools take people in two opposite directions, and the direction is decided by how the human engages, not by the model.

In one direction, AI is the best thing to happen to a curious engineer. You ask why, and you get an answer at any hour, at whatever depth you can absorb. You explore three designs in the time it used to take to sketch one. You read code in a language you have never written and come out understanding it. The human gets smarter, and gets faster because they got smarter. That is accelerating adaptation, and it is real.

In the other direction is the brain handoff. Thinking is effortful, and the machine offers to do it for you every single time. Accepting once is harmless. Accepting every time is a habit, and the habit compounds. First you stop writing the answer. Then you stop checking the answer. Then you stop reading it. At that point you are an endpoint.

Nobody sets out to become one. It happens one reasonable shortcut at a time, and it feels like productivity the whole way down. That is the reason good intentions are not enough here. This is an engineering problem, and it needs controls.

3/ Comprehension Gates#

The first control is to stop the handoff where it becomes expensive: before consequential actions, with friction proportional to risk.

This is why I wrote The Standard Comprehension Gate, an agentic skill in The Standard Skills collection. It sits between intent and consequence. Before an agent commits, pushes, merges, deploys, runs a migration, deletes data, or changes infrastructure on your behalf, the gate checks that the human in the loop actually knows what is about to happen.

The governing principle is one sentence: understanding must be demonstrated, not asserted.

“Looks good” does not pass. “I understand” does not pass. “Just do it” does not pass. Those are precisely the words people say right before they break production. The best evidence of understanding is an answer that is hard to give without it.

Three things make the gate real instead of ceremonial:

  1. The questions are about consequences. Not definitions and not trivia. What happens to the data if this fails halfway? What state is the system left in? Which users are affected? When would you refuse to run this? Predicting a consequence or naming a failure condition takes more than repeating an explanation in different words.
  2. The questions are anchored in your project. They reference your actual symbols, files, schema, and callers. If a model that has never seen your repository could answer the question, the question is too generic, because you could paste it into another chat window and launder the thinking through a machine.
  3. Teaching is not clearing. If you miss, the agent explains the gap. But the agent supplying the answer only shows what the agent knows. You have to give it back, in your own words, before it counts. If a few focused rounds do not get there, the action does not happen.

How much of this a given action gets depends on its risk. A small commit on a feature branch gets one question, a migration or a production config change gets three, and reading files or running tests gets none at all. The rest of the rules, including how to override the gate deliberately, are in the skill itself.

A gate is evidence, not proof. Another agent with the same context could answer the same questions, and a determined person can still launder their way through. What the gate does is make shallow approval expensive at the moment it is most dangerous, and make real understanding the easiest way through.

My favorite outcome is neither pass nor fail. It is when the human, now fully awake, looks at the action and says: “Actually, we should not drop that column on a live table. Add the new schema alongside it and roll over slowly.” The gate did not just confirm a driver was present. It produced a better decision than the agent had.

4/ Measure What the Human Can Defend#

Gates protect individual moments. They do not tell you about the trend. For that you need a measurement, and it is tempting to pick the obvious one: what percentage of the ideas came from the human?

That is the wrong number. Originating an idea and exercising judgment are different things. An engineer can accept a design the AI proposed after carefully examining its tradeoffs, and own it completely. Another engineer can originate a terrible design and defend it stubbornly. Authorship is not what we are trying to protect. Understanding and responsibility are.

So the question I care about is this: of the consequential decisions in a piece of work, which ones can the human explain, evaluate, and defend?

Where the idea came from does not enter into it. What counts is whether there is any evidence the human engaged with it:

  • Decisions with a witness. For each consequential decision, did the human do something that is hard to do without understanding it? Predict a consequence before the agent stated it. Challenge it with a real reason. Correct an error in it. Choose between alternatives and say why.
  • AI ideas you came to own. How many of the agent’s ideas did the human take apart, question, and end up able to defend? This number going up is the good outcome. It is what getting smarter with AI looks like.
  • Positions given up without a reason. How often did the human have their own view, then drop it for the agent’s without saying why? Changing your mind is healthy. Changing it without examining why is the handoff, and silence alone cannot tell us whether that happened.
  • Gate performance. How often are comprehension gates cleared on the first attempt? How often are they overridden?

One caution about reading these. Unchanged output does not establish absent thinking. Someone can review an answer thoroughly and find nothing worth changing, and someone else can make cosmetic edits without understanding a word. A session where the human changed nothing has three explanations: a very good agent, an absent human, or a competent human reviewing suitable work. The record cannot tell the second from the third. All it can honestly say is that there is no evidence either way, and that is worth knowing only when the decision resting on it is one that matters.

So no single number here is a verdict. What matters is the trend, and whether the decisions that carry real consequences are the ones the human can still stand behind.

5/ Alerts#

A metric nobody looks at is a log file. The whole value is in the alert, and it should fire for the driver first, privately, before it is anyone else’s business.

The alerts I want look like this:

  • A high-consequence decision is about to ship, and the record shows no engagement from you with the ideas it rests on.
  • Several consequential decisions this week have no recorded rationale.
  • You set aside your own position for the agent’s several times this week without stating a reason.
  • Your gate overrides have been climbing for a month.

Notice what these say and what they do not. They report what the record shows. None of them says your understanding is declining, because the record cannot know that. You may have thought it all through and left no trace. The alert is a prompt to look, and you are the one who knows the answer.

These are lane-departure warnings. A lane-departure warning does not take the wheel and does not report you to anyone. It makes a noise that says: you are drifting, wake up. The car is very good at driving itself right up until the moment it is not, and that moment is a bad time to discover you moved to the back seat an hour ago.

I would resist, firmly, turning any of this into a ranking of employees. The moment these signals feed a leaderboard or a performance review, people start performing for the metric and the signal is gone. Keeping them private removes the reason to perform for someone else. It does not remove the temptation to fool yourself, so honest self-examination still matters.

That is the standard I want us to hold. The human in an AI workflow is the driver. Drivers can use cruise control. Drivers can use navigation. Drivers can let the machine do nearly all of the mechanical work. What a driver cannot do is stop knowing where the car is going.

6/ Make the Work Defensible#

There is one more control, and it needs no tooling at all. When someone presents a design, a proposal, or a significant change, put it on the calendar and discuss it. An architecture discussion, out loud, with questions.

Make it the rule for everyone, not a test for the people you suspect. Whoever presents the work defends the work.

Be careful what you reward in that room. Understanding and the ability to perform understanding are different things. A competent engineer may need time, notes, or a diagram, so give notice and let people bring them. Someone who understands less may still sound persuasive, so listen for substance over fluency: the tradeoff that was rejected, the failure case, the thing they would change.

A discussion can be gamed too. But it makes shallow understanding much harder to sustain, because the follow-up questions are not known in advance. And preparing well enough to hold up in that conversation is very nearly the same thing as understanding the work, which is the whole point.

You can’t defend something you don’t understand.

7/ Stay the Driver#

The people who will thrive with AI are not the ones who use it least or the ones who use it most. They are the ones who come out of every session knowing more than they went in with.

So put the controls in. Gate the consequential actions on demonstrated understanding. Measure which decisions the human can explain and defend. Alert when the human starts drifting toward the back seat.

Fight the urge to accept a decision simply because the machine made it sound convincing. The pull to stop examining what comes back never goes away, and it never feels like giving up. It feels like efficiency.

And before you paste that next message into your team’s chat, ask yourself one question: if a colleague asks “why?”, can you answer without opening the chat window again?

If you can, you are an engineer using a powerful tool.

If you cannot, you are an API.

Comments

← All posts