Module 1 · Foundations

The six parts of an agent

Lesson 2 of 15 7 min lesson Updated on October 30, 2026
Progress in the course13%

In this lesson

Six parts make up any agent.

Every agent, from the simplest to the most complex, has the same six parts. Like the sheet you fill in for a new employee.

The six-field sheet

  1. Model: the brain that reads and writes.
  2. Instructions: the agreement in writing.
  3. Tools: the hands that act outside the text.
  4. Memory: what it remembers from one conversation to the next.
  5. Limits: what it never does.
  6. Human approval: what only happens after a yes.

You do not need to program to fill in this sheet. It works for an agent in a chat, on a no-code platform or on WhatsApp.

Model and instructions

The model reads the text and writes the answer. It does not know your business. A stronger model reasons better, but it costs more and is slower. For sorting simple messages, a smaller model is usually enough. When the agent gets it wrong, review the other five parts before you switch models.

The instructions are where most people write badly, because the person writing forgets that the agent has never seen the process. The test is simple: hand the instructions to a colleague and ask them to follow them. If they get confused, so does the agent.

You are the quotes attendant at the Bairro Novo auto repair shop (made-up name). You reply on WhatsApp. Do this in order: 1) understand the problem; 2) ask for the model, year and mileage; 3) reply with a price range. Never commit to a fixed price. Reason: only the inspection shows which parts are needed. If you don't know, say you will confirm with the mechanic.

Notice: numbered steps, the reason for each rule and a way out for when it does not know.

Tools

A tool is anything that lets the agent act outside the text: reading a spreadsheet, looking up the calendar, recording an order. The model carries out nothing on its own. It asks for the action, your code carries it out and returns the result.

Think of each tool as a door. A read door only lets it see. A write door lets it change something, so the code has to check the request first.

Memory

The conversation's memory is the desk: it only holds what is on top of it. Long-term memory is the filing cabinet away from the desk, where your system keeps what matters.

The LGPD, Brazil's data protection law, asks for the minimum necessary. For each item you keep, answer: what you keep, what for, for how long and how you delete it.

Limits and approval

A limit is the fence: the allowed subject, a cap on messages, an amount above which the agent calls the owner. Approval is the gate: the agent reads, calculates and gets everything ready, and only carries it out after a person approves. Canceling an appointment and refunding money go through it.

Which part to adjust

What the pros know

Automation bias. The European AI regulation, in Article 14, gives a name to a little-known problem: the tendency to trust the system's answer too much. In practice, a person who approves a hundred identical requests starts clicking "yes" without reading. That is why whoever designs the approval gate shows the person what is going to happen, with the real data, and saves the gate for the actions that matter. Approval on everything turns into approval on nothing.

Practice · 10 min

  1. Write the task in one sentence and fill in the sheet, one line per field.
  2. Write the instructions as numbered steps and send them to a colleague. Note where they hesitated.
  3. Mark each tool with R (read only) or W (writes) and, for each W, what the code checks first.
Deliverable: the six-field sheet. Lesson 4 uses this sheet.

Summary

Sources

Read on October 30, 2026.

  1. European Union. Regulation (EU) 2024/1689, Article 14, human oversight: automation bias is in paragraph 4, point (b).
  2. OpenAI. Human-in-the-loop: pause, decide, resume.
  3. Brazil. Lei 13.709/2018 (LGPD): articles 6 and 16.

Lesson quiz

Three situations to apply what you learned.

Lesson 2 of 15

Before moving on to the next lesson

Put what you saw into practice. The boxes stay checked in this browser, so you can come back later.

Have a question about this lesson? The IV Help team answers personally on WhatsApp.

Ask on WhatsApp