Skip to content
unmagic.ai

Concept 07 · 8 min

An AI agent is a loop and a few tools. The rest is marketing.

Scroll to start

Scene 1

A brain without hands

Sarah is a relationship manager at a bank. Tomorrow she meets Mr. Miller, who runs a small business. She asks her AI assistant for help.

Chat with the assistant

Sarah

Prepare my meeting with Mr. Miller tomorrow.

Assistant

Notice: it hasn’t looked at anything. It’s telling Sarah what to do.

On its own, a model is a giant autocomplete: it sees nothing of your world. No emails, no CRM. It can only tell you what to do.

Scene 2

Giving it hands

What if the assistant could look things up by itself? Let’s give it a few tools. Each one does a single, boring, reliable job.

Tap the tools to hand them over.

Program
Model
The assistant’s toolbox0/4 tools

The model never touches your systems. It only fills in order forms; the program around it does the rest. Deep dive: Tools.

Scene 3

The loop

Sarah asks again, with the tools plugged in. Scroll slowly and watch what happens.

An animated diagram of the loop follows. The same steps are listed in the table below it.

traceTurn 0/4
SarahPrepare my meeting with Mr. Miller tomorrow.

Keep scrolling: each scroll moves the loop one step.

Sarah › Prepare my meeting with Mr. Miller tomorrow.

The loop, turn by turn
TurnThinkActObserve
Turn 1ThinkFirst, who is Mr. Miller?ActCRMname = "Miller"ObserveMiller Joinery: client since 2019, small business, 3 accounts.
Turn 2ThinkWhat did we discuss recently?ActEmailsclient = "Miller"ObserveHe asked for a higher overdraft last month.
Turn 3ThinkAn overdraft request? Let me check his payments first.ActInvoicesclient = "Miller"ObserveOne invoice 12 days overdue.
Turn 4ThinkI have enough, let me write.ActDraftdocument = "preparation note"Observe5-point preparation note.
EndThinkGoal reached.The loop stopsFinal answer to Sarah

Your note is ready: 5 points. Main topic: his overdraft request. Heads-up: one invoice is 12 days overdue.

Meeting prep: Mr. Miller

  1. Who: Miller Joinery, client since 2019, 3 accounts.
  2. Why he’s coming: he wants a higher overdraft (email from last month).
  3. Watch out: one invoice is 12 days overdue.
  4. Ask: what’s driving the cash need, and for how long?
  5. Suggest: settle the late invoice, then review the overdraft.

Sarah › Prepare my meeting with Mr. Miller tomorrow.

The loop, turn by turn
TurnThinkActObserve
Turn 1ThinkFirst, who is Mr. Miller?ActCRMname = "Miller"ObserveMiller Joinery: client since 2019, small business, 3 accounts.
Turn 2ThinkWhat did we discuss recently?ActEmailsclient = "Miller"ObserveHe asked for a higher overdraft last month.

Your turn. Which tool will it call next?

Notice: nobody programmed the order of these steps. At each turn, the model decides what to do next based on what it just learned. That’s an agent.

Scene 4

Your turn to play

Same assistant, same tools, three goals. You decide which tools it gets, and you read every step it takes.

Challenges

  • Prepare the meeting in 3 turns or fewer. Choose which tools to give the agent.
  • Bonus: make the agent fail.
Goal
Toolbox4/4

Pick a goal and some tools, then press Run.

Scene 5

When to stop, and who decides

An agent stops when it reaches its goal. But what if its next step is something you can’t take back, like sending an email to a client?

Drag the slider: the flow below shows where Sarah approves.

It reads freely. Nothing is sent without Sarah’s approval.

RiskBalanced

Chasing overdue invoices

  1. Read invoices
  2. Read emails
  3. Draft reminders
  4. Send remindersSarah approves

Which setting would you choose for chasing overdue invoices?

Every answer is accepted.

A good agent has two brakes: a maximum number of turns, and a human before any action you can’t take back.

Hype vs reality

  • What the hype says

    “Agents will replace entire teams.”

    What actually happens

    An agent is only as good as its tools and instructions. On long tasks, errors pile up turn after turn.

  • What the hype says

    “You need a complex framework to build an agent.”

    What actually happens

    The core mechanism fits in a few lines. The hard part is elsewhere: good tools, good instructions, good guardrails.

  • What the hype says

    “The agent understands your company.”

    What actually happens

    It only sees what its tools return. No tool, no information.

Under the hood

In 3 sentences

  1. An agent is a model that can use tools.
  2. It works in a loop: think, act, observe, repeat.
  3. It stops when the goal is reached, or when a human or a limit stops it.

Did this make sense?

Next step

How do you specialize an agent without retraining it?

08SkillsStart

Job sheets pulled out at the right moment

Use this journey with your teams

Scripted scenario, not a live model.

1. LLM
2. Context
3. Prompt
4. Hallucinations
5. RAG
6. Tools
7. Agent
8. Skills
9. Limits & safety
Home: the journey
For teams
Lire en français
Theme: light
Theme: dark
Theme: follow the system
↑↓ to move · ↵ to open · esc to close