pratik@linux:~$ cat ~/blog/the-human-and-the-machine.md
2026-06-02|[ai, engineering, leadership, mental-models]

The Human and the Machine: Why Understanding Your Own Brain Makes You a Better AI Engineer

Everyone is learning to talk to the machine; almost nobody studies the other mind in the conversation — their own. A senior engineer's mental model of both: the model as a cognitive memory with a belief system and an energy bill, your brain as an index not an archive, and the deliberate line between deterministic and probabilistic work.

Everyone is learning to talk to the machine. Almost nobody is studying the other mind in the conversation — their own. After two decades of building software, I am convinced the engineers who win the AI era are the ones who understand both.

Every few weeks I teach a cohort of our engineers at GeekyAnts (https://geekyants.com). The series is not a framework tutorial. It is an attempt to rebuild, in one human head, the end-to-end mental model that used to be common when computers were simpler — the kind of model that quietly separates a senior engineer from a junior one.

We spent the first three sessions taking the machine apart: the network, the operating system, the container. Then I did something that surprised the room. I turned the lens around and pointed it at them.

Because here is the thing nobody tells you about working with AI: prompt engineering is not really about the prompt. It is about the two minds on either side of it. And most of us understand neither one well.

The Other Computer in the Room

Start with a question that has nothing to do with code. Are you vegetarian or not? And whichever you are — how do you feel watching someone do the opposite?

Nobody derived those rules from first principles. They were installed early, and somewhere in childhood they froze into something that no longer feels like an opinion. It feels like the way the world simply *is*. We call this a belief system, and it runs underneath your conscious thought like firmware.

Now here is the part that matters for AI: the model has a belief system too, and it was installed exactly the way yours was — by the data it was fed during its upbringing. When you ask a model for a "random" number and it keeps answering 73, we call that a bias. You have those too. They came from the same place: whatever you were trained on — your family, your schooling, your culture, the feed you scroll.

Once you can see the mechanism in yourself, you can see it in the machine. And you stop being surprised by what it gets wrong.

What the Machine Actually Is

Drop the word "intelligence" for a moment — it is doing too much work and hiding what is underneath. Here is the deflationary, and largely correct, definition of today's AI:

It is a database in a higher order, from which you derive information by looping over the data in a way that *looks* like thinking.

A human runs on three faculties at once: cognitive intelligence (storing and reasoning over knowledge), emotional intelligence (feeling, and managing what you feel), and social intelligence (reading other people, operating in a group). Today's AI has, in any deep sense, only the first one. It is a cognitive memory — an enormous, structured store of relationships — and nothing else.

The emotional and social attunement it appears to have is bolted on at a different layer and faked convincingly. When you write "I'm so happy!" the model treats the *statement* as the emotion and responds in kind. There is no one home feeling anything. When it seems to plan or pursue a goal across many steps, that is an agent loop wrapped around the same cognitive engine — its own output fed back as the next input.

This is not an insult to the machine. It is a specification. A perfect, instantly-searchable memory of most of what humanity has written down is an astonishing tool. But knowing that is *what it is* tells you exactly where it will fail you: anywhere the answer needs genuine first-principles reasoning, real-world emotional judgment, or social truth that was never in the data. Those are not bugs you can prompt your way out of. They are the edges of the category.

Energy Is the Only Source of Truth

This is the line from the lecture that I keep coming back to, because it reframes the entire industry.

Your brain runs on roughly 20 watts — less than a dim light bulb. On that budget it stores a lifetime of memory, runs all three intelligences at once, and keeps your body alive. A GPU server doing a narrower slice of the same cognitive work draws kilowatts. The ratio is staggering.

That is *why* AI is expensive. Not the licenses, not the salaries — the physics. Where your brain follows a pre-wired connection, the transformer has to compute the relationships across your whole context with matrix math, token after token — caching tricks like the KV cache exist precisely to avoid redoing all of that work. Every prediction is still a mountain of arithmetic, and arithmetic costs energy, and energy costs money and produces heat. There is no clever software trick that makes this free.

Energy is the only source of truth that can be measured for processing intelligence.

For anyone who cares about performance — and I have spent years on exactly this — that sentence is the whole game. Strip away the marketing and an intelligence system, yours or the machine's, is an arrangement for turning energy into useful information. The brain is a wildly efficient instance. Today's AI is a wildly inefficient one that compensates with scale and electricity. Read about data-center power deals and water cooling and you are reading about this single fact.

Creativity Is Just Hallucination You Wanted

"Hallucination" is everyone's favorite insult for AI. Here is the uncomfortable truth: the mechanism that lets a model hallucinate is the same mechanism that lets it be creative — and it is the same one *you* use to be creative.

Push on "thinking outside the box" until it stops being a slogan. A creative idea is a mixture — pieces pulled from your environment and memory, recombined into a juxtaposition you have never literally seen. The airplane was a bird, a hilltop glide, and a human's wish to do the same thing, mixed together. There is no purely original idea; there is novel combination.

That is exactly what a model does when it hallucinates. Kill its ability to produce things that were not in the data and you kill its creativity in the same stroke. The good news is that this is a *knob*, not a mystery. Temperature, top-k, top-p — these inject randomness on purpose. Turn them down and the model plays it safe and converges on the same flat answer every time. Open them up and it wanders, surprises you, and hallucinates more.

So "is hallucination good or bad?" is the wrong question. It is a setting. A legal summary wants the knob near zero. A brainstorm wants it open. The senior question is never *how do I stop it hallucinating* — it is *how much randomness does this task actually want?*

The Hash-Table Brain

For most of history, intelligence was measured on one axis: how much you had stored and how fast you could retrieve it. The person who had read the most books and could pull the right fact fastest *was* the smart one. That era is ending, and it changes how you should train your own head.

Picture a hash table. Keys on one side, data on the other; the key is how you reach the data instantly. My prescription for the AI age is this:

Pair your brain with the AI as a hash table. Keep the keys in your head. Let the data live in the machine. The more good keys you hold, the more powerfully you can retrieve.

Stop trying to cram everything into cognitive storage — if you do, you will lose the *important* information in the noise. Your brain is a fast retriever with layered caches, not an infinite hard drive. So use it as the index. Store the concepts, the names of things, the hard-won markers of where the bodies are buried — *this is a thing that exists; this is dangerous; this matters when X.* Then use those keys to pull the full detail out of the AI exactly when you need it.

And here is the senior's edge: those keys are what let you write a prompt nobody else can write. Two people ask the model the same broad question and get the same mediocre answer. The person carrying the right keys — the obscure term, the failure mode, the exact constraint that matters — loads the prompt with the right pointers and pulls out something the first person did not know to ask for. Retrieval quality is gated by the keys you hold. Your brain still has to work hard. It just works on the right layer now.

The Most Expensive Mistake: Using AI Where Code Would Do

If you take one operational lesson from all of this, take this one.

Deterministic means fixed: same input, same output, every time. A function that multiplies two numbers is deterministic. Non-deterministic (probabilistic) means the output can vary — which is the nature of a model that predicts rather than computes.

Deterministic code can run orders of magnitude faster than the probabilistic path, and it does not drag along the enormous compute and energy cost of an LLM. So:

A huge fraction of business problems can be solved deterministically. Solving them with a model instead is a waste of energy, and it runs far slower and less reliably.

This is where a lot of current AI enthusiasm quietly goes wrong. Validating an email format, looking up a price, sorting records, multiplying two numbers — that is deterministic work. Wrapping it in a prompt is like booking a freight plane to carry a letter across the street. The probabilistic machine earns its cost only on genuinely probabilistic problems: open-ended language, fuzzy matching, creative generation, judgment under ambiguity.

The smart engineer is precisely the one who knows when to be deterministic and when not to be — and can move a system between the two on purpose. That judgment is the AI-era version of the habit I have drilled my whole career: *find the real unit, find the real bottleneck, find the real tradeoff.* The unit is the task. The bottleneck is energy and latency. The tradeoff is flexibility versus cost.

Why This Is Really About Being AI-Native

I have said before that AI-native organizations will outperform AI-assisted ones. This is the foundation underneath that claim.

An AI-assisted engineer offloads work to the model and hopes for the best. An AI-native engineer understands both minds — knows the model is a cognitive memory with a belief system and an energy bill, knows their own brain is an index not an archive, and places every task deliberately on the line between deterministic and probabilistic. One is a passenger. The other is driving.

The danger of these tools was never the tools. It is the human going to sleep beside them. The engineer who dumps every problem into the model to avoid thinking gets measurably weaker — the faculty you stop using, you lose. The one who uses the model to go further, while keeping the faculties it threatens to atrophy, gets sharper. Same tool. Opposite outcomes. The only variable is whether you are awake at the wheel.

Closing Thought

We took the machine apart for three sessions and learned a great deal. But the session that changed the room was the one where we studied the operator, not the operand.

You cannot work well with a tool you do not understand, and you cannot understand the machine's limits until you understand your own. That is why, in everything we build at GeekyAnts, I keep coming back to the same two minds — the human and the machine — and the surprisingly thin, surprisingly important line between them.

If you are rethinking how your engineers actually work alongside AI, not just which model they call, I would enjoy the conversation.


*Reach out at pratik@geekyants.com or geekyants.com.*

pratik@linux:~$ _

© 2026 Kumar Pratik. All rights reserved.