All posts

· 4 min read

What is an AI agent? AI untangled, episode 1

What an AI agent is, explained without jargon: how it differs from a chat and what its four pieces are.

On this page
  1. Chat or agent
  2. The four pieces, as a new office assistant
  3. How it works
  4. What you get and what it is not
  5. What you should learn next
  6. The next episode

AI untangled · Ep. 1

¿Qué es un agente?

Open the slides

The slides are in Spanish.

Ask a chat to organize your week and you get a list of tips: block your mornings, batch your meetings, leave room for surprises. Good tips, but the work is still yours. An agent opens your calendar and does it.

That difference is the topic of the first episode of AI untangled (in Spanish, IA sin enredos), a series of short videos for people who are starting to code or who just want to know what everyone means when they say “agent”. The video and the slides are in Spanish. In the video I walk through the deck linked from this post, and here you have the same ideas in English, to go over at your own pace.

Chat or agent

A chat answers you. You copy the answer, paste it wherever it needs to go and decide what to do with it. An agent does the task: it uses your tools, like your calendar or your email, and keeps working until it is done.

Under the hood both use the same kind of AI. The difference is that the agent is allowed to act, not just talk.

The four pieces, as a new office assistant

The picture I use to explain it is a new assistant on their first day at the office.

Model. Their brain, the AI that thinks and decides the next step.

Instructions. What the boss explains on day one: what they need to get done and where to stop.

Tools. Their hands: the calendar, the email, the files. What they can do, not just what they can say.

Loop. Their work routine. Do something, check how it went, repeat until done.

Take away one piece and it stops being an agent. Without tools it is a chat that talks nicely. Without the loop it makes one attempt and stops there, even if that attempt went wrong.

How it works

The loop is the hardest piece to see, so let’s go step by step. It starts with the goal, which is what you asked for. It thinks and decides the next step. It uses a tool to open, search or write something. It looks at the result and asks itself whether it went as expected. If it is not done yet, it goes around again. When it is done, it hands you the result.

A concrete example. Someone who is just starting to code asks an agent to “fix this error”. The agent:

  1. Reads the file where the error is.
  2. Runs the tests, the automatic checks that tell you what is failing.
  3. Edits the code.
  4. Runs the tests again to confirm the fix worked.

Look at step four. A chat would have handed you the corrected code and that would be the end of its job. The agent checks whether the fix worked and, if it did not, tries again.

What you get and what it is not

What you get: it finishes whole tasks instead of just answering, it works with the tools you already use, and it takes the repetitive copy, paste and ask-again steps off your plate.

Now, what it is not. It is not perfect. It makes mistakes. It needs clear permissions, meaning you decide what it can touch and what it cannot. And the most important part: you are still responsible for what it does. The agent does the work, but you choose what to ask for and what to let it touch. Afterwards, you review what it did.

What you should learn next

If you take three things from this episode, make them these: give it good instructions, decide which tools and permissions it gets, and review its work before you call it done. None of the three requires knowing how to code, and all three apply to any agent you use.

If you are starting from zero, the learning path takes you step by step to writing your first programs. To go deeper, what an AI agent is and how to build your first one covers the same four pieces in more detail and builds a real agent that reviews code without being able to change anything.

The next episode

Episode 2 of AI untangled answers the next question in the series: what is a skill?

Which AI concept should I explain after that? Leave it in the comments on the video, DM me on Instagram or tell me in the Discord community. Your answers help me pick the next episodes.