what an AI agent is (and what a harness is)

Posted on
TechStudies

You are embarrassing yourself in meetings calling every tool an AI "agent".

Relax, almost everyone is. In this article I explain, with a story, what a real agent is. And as a bonus, a concept almost nobody talks about that makes all the difference: the harness.

Rather watch? I told this same story in two short videos on Instagram (in Portuguese): part 1 and part 2.

The genius behind the door

Imagine you are locked inside a room and need to get out. On the other side of the door there is a genius who knows absolutely everything about everything in the world.

You shout through the gap under the door: "How does this lock work?". He explains the key mechanism in millimetric detail. You ask: "How hard should I kick the wood?". He calculates the exact physics of the impact.

Then you get tired and ask: "Fine, so can you open the door for me?".

His answer: "I can't. I have no hands, I don't have the key and I can't touch the handle."

That genius is an LLM

That genius is what we call an LLM, like ChatGPT or Gemini: you send a prompt and it answers you in text.

It is a brilliant brain stuck in a jar. It knows everything, but it doesn't lift a finger on its own. It tells you how to open the door. You are the one who opens it.

This is exactly where the so-called agent comes in.

So what is an agent?

An agent is that same genius, but now with hands. It has three parts:

  • The brain (the model): thinks and decides the next step.
  • The hands (the tools): things it can do in the world, like read a file, search the web, run code, send an email or click a button.
  • The loop: it acts, looks at the result, and decides again. It repeats until the job is done.

Back to the door: now you ask "open the door for me", and the genius grabs the key and tries. The key jams. He notices, changes strategy, calculates the kick and tries again. The door opens.

You didn't give the step by step. You gave the goal, and it worked out the path on its own.

The test for your next meeting

Before calling something an agent, ask two questions:

  1. Does it only answer, or does it act? If it only returns text, it's a chatbot.
  2. If something goes wrong halfway, does it notice and try another way? If it always follows the same fixed script, it's an automation.

It's only an agent when it acts and decides its own steps until it reaches the goal.

And what is a harness?

Now the part almost nobody explains.

A harness is the gear that attaches a horse to a cart, or a climber to a rope. On its own, the horse has strength but pulls nothing. The harness is what turns strength into work.

AI is the same. The harness is the whole structure around the model that turns the genius into an agent:

  • Which hands it gets: the tools available.
  • The instructions: who it is, how it should work, what matters.
  • The memory: what has been tried, what worked, what didn't.
  • The rules: what it can do on its own and what needs permission first.
  • The loop itself: taking the result of each action and handing it back to the brain to decide the next step.

In our story, the harness is what hands the genius its hands, says which doors it may open and writes down what it has already tried.

Tools like Claude Code, Codex and Cursor are harnesses. That's why the same model can feel brilliant in one tool and average in another: the brain is the same, the harness is what changes.

A skill, for example, is a manual the harness hands the agent right when the task calls for it.

The formula looks like this:

agent = model + harness

In short

  • LLM: the genius. Knows everything, but doesn't lift a finger.
  • Agent: the genius with hands, working in a loop until the goal is met.
  • Harness: the structure that gives the genius its hands, its rules and its memory.

In your next meeting, before calling anything an agent, ask: does it open the door?

If you like understanding tech through stories like this, I post short videos on Instagram. Follow me there: @joaodellar 🤖


what an AI agent is (and what a harness is)

TechStudies