AI for Beginners · Lesson 11

Agents

One tool call was Lesson 9. This lesson asks what happens when one isn't enough — when a model has to decide, act, observe, and decide again, on its own, until a goal is actually met. Four real properties, one 1995 standard, and what turns a single loop into a team.

CourseAI for Beginners
Lesson11 of 14
Builds onMCP
One more loop, on top of the loop

You've already built the hard part

Lesson 9 showed a model asking for one tool, once, for one question. Lesson 10 showed it reaching into a whole shelf of them. This lesson asks the obvious next question: what happens if one tool call isn't enough?

Real tasks rarely take one step. Booking a meeting room means checking a calendar, then checking room availability, then sending a confirmation — three separate tool calls, each one depending on what the last one found. Nothing about the mechanism changes. It just doesn't stop after one.

Doing more than answering

Agents

An agent is what you get when that mechanism repeats on its own: decide what to do, do it, look at what happened, decide the next thing — around and around, however many times it takes, until the goal is actually met. Nobody clicks send again between steps. The model's own output decides whether there's a next step at all.

That's the whole definition. Not a bigger model, not a different kind of intelligence — the exact same next-token machine from Lesson 1, given a goal instead of a single question, and allowed to keep pulling the same lever until it's done.

The agent loop: decide, act, observe, repeat A triangular loop of three boxes: decide the next step, act by calling a tool, observe the result, which feeds back into deciding again. A dashed exit arrow leaves the "decide" box for a "done, goal met" box once the loop is satisfied. DONE — GOAL MET if satisfied Decide next step Act — call a tool Observe the result GOAL: BOOK A ROOM
Decide, act, observe — then decide again. The loop keeps turning until the model itself decides the goal is met, not until a human clicks send one more time.
You set the goal, not the steps

Autonomy

This is the first of a few properties worth naming precisely — real terms, from an actual academic standard for what counts as an agent, not marketing language. Autonomy means the system decides its own steps and knows when it's done, without a human approving each individual move.

You didn't tell it to check the calendar first, then the room, then send the email. You said "book a room for Thursday." It worked out the order.

Reading what changed, and adjusting

Reactivity

Reactivity means it actually looks at what its last action produced before deciding what's next — not following a fixed script written in advance.

If the first room it checks is booked, a reactive agent doesn't fail. It reads that result — right there in the context, exactly like Lesson 8's backpack — and tries the next room instead. The plan isn't fixed at the start. It's built one step at a time, out of what actually happened.

Nobody has to ask first

Pro-activeness

Everything in this course so far has assumed a person types something first. Pro-activeness breaks that assumption: the system can start on its own, from a schedule or an event, instead of waiting to be prompted.

A check that runs every morning at 8am. A workflow that wakes up the moment an email arrives. Neither one needed a person to type anything at all — the trigger was time, or the world doing something, not a message.

More than one, working together

Social ability

The last property is the one that turns a single loop into a team. Social ability means agents can talk to other agents — and to people — not just to tools.

One agent researches, hands its findings to a second agent that writes, which hands a draft to a third that reviews it. Each one is still just the same loop from a moment ago — decide, act, observe, repeat — except sometimes what it "observes" is another agent's output, and sometimes what it "acts" on is asking a person a question it genuinely can't answer alone.

Two agents and a person, communicating Agent A, which researches, and Agent B, which writes, exchange work and questions along a double-headed arrow between them. Both have a dashed line down to "a person," who approves and answers questions neither agent can resolve alone. AGENT A researches AGENT B writes HANDS OFF WORK, ASKS QUESTIONS A PERSON approves, answers questions
Two agents dividing a job between them, each still just running the same decide-act-observe loop — and a person still in reach, for exactly the moments neither agent should decide alone.
A standard older than the term "AI agent"

This isn't a new idea, dressed up

Autonomy, reactivity, pro-activeness, social ability — these four properties were named in 1995, decades before anyone said "AI agent" out loud, by researchers defining what any intelligent agent needs, software or otherwise. Most systems that call themselves agents today only really clear two of the four.

Curious how a platform built specifically to clear all four actually works? See the full agent standard.

Next

Now it can act, not just answer

Everything up to this point could only tell you something. An agent can actually do something — send an email, move money, change a record. That raises the stakes on the very last question this course set out to answer.

The whole picture, continued

The glossary, 5 rows longer

Everything from the lessons before this one, plus what this lesson added.

The board The word for it
The board and its pegsThe structure — the model
A single pegA neuron
A single step from one peg to the nextA connection
How red or blue a patch of floor isA weight — a parameter
The whole painted floorThe trained model
Boards stacked, one on the nextLayers — "deep"
Smearing the floor in, coin by coinTraining
Dropping one coin through a finished boardUsing it — inference
Which slot you pour intoYour input — your prompt
The bins, relabelled with tokensThe vocabulary — every token it could pick
The tallest pile among the binsThe prediction — the likeliest next token
Feeding the growing line back in and running againThe loop — how one guess becomes a sentence
One bin's label, preciselyA token — not always a whole word
How many bins there are, in totalVocabulary size — tens of thousands
The size of the mountain of text it was shownTraining data — measured in tokens
A bin's own address, plotted in spaceAn embedding — meaning turned into a list of numbers
How close two addresses sitSimilarity — how related two things are
The measurement's real name, out in the wildCosine similarity — same idea as similarity, different name
About meaning, not exact spellingSemantic
A neighbourhood of addresses that share a topicA domain — a cluster of related meaning
Scanning every address for whichever one sits closest to a new pointNearest neighbor — the closest real match to a computed point
A small, separate machine that only plots words as points — it never writes a sentenceAn embedding model — not the same as a language model
The total number of coloured patches, across every boardParameters — the number people quote
How many tokens the funnel can hold in one pourInput tokens — the context window
How many tokens come back outOutput tokens — what it writes back
Everything you've met so far, built at real-world sizeA Large Language Model — an LLM
A shorter pile winning, extended forward with full confidenceA hallucination
The point where the training reading stoppedThe knowledge cutoff
How sharp or blended the colour stays before a coin is pouredTemperature — the dial on how often a stray pick wins
Pouring the same slot twice, not always the same pileNon-deterministic — same input, no guaranteed identical output
Background, examples, or a role, added right into the pourContext
Asking for many small steps instead of one big leapChain-of-thought prompting
A friendly chat window built around the boardA product — like ChatGPT or Claude.ai
A door that lets software pour in and read out directlyAn API
What each million tokens costs to send in or get backAPI pricing — pricier for bigger models, and for output
Recalling the start of the line instead of re-pouring itCached tokens — priced far cheaper than fresh input
The board asking the app to go do something real before it answersTool use — or function calling
One shared shape for listing tools and calling themMCP — Model Context Protocol
A program that speaks that shape and hands back its whole toolboxAn MCP server
+ New in this lesson
The loop deciding, acting, and watching what happened, on repeatAn agent — a model with tools, looping until the goal is met
Deciding its own steps, and knowing when it's doneAutonomy
Reading what just happened before deciding what's nextReactivity
Starting on its own, from a schedule or an eventPro-activeness
Talking to other agents, and to people, not just toolsSocial ability

44 rows now. It keeps growing as the course goes on.

Lesson 11 of 14

Sign in to orqo

Choose how you'd like to continue.

More ways to sign in are on the way.