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.
- Name the six parts and say what each one does
- Write instructions a colleague can follow
- Know which part to adjust when the agent gets it wrong
The six-field sheet
- Model: the brain that reads and writes.
- Instructions: the agreement in writing.
- Tools: the hands that act outside the text.
- Memory: what it remembers from one conversation to the next.
- Limits: what it never does.
- 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.
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
- It got a fact about the company wrong: the right source is missing.
- It made up a detail or got the tone wrong: incomplete instructions.
- It did what it should not have: that action was missing approval.
- It always asks the same thing: long-term memory is missing.
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
- Write the task in one sentence and fill in the sheet, one line per field.
- Write the instructions as numbered steps and send them to a colleague. Note where they hesitated.
- Mark each tool with R (read only) or W (writes) and, for each W, what the code checks first.
Summary
- Every agent has six parts: model, instructions, tools, memory, limits and approval.
- Good instructions pass the colleague test.
- The model asks for the tool, and your code carries it out.
- Long-term memory calls for the minimum, a purpose and a time limit.
- A limit is the fence; human approval is the gate.
Sources
Read on October 30, 2026.
- European Union. Regulation (EU) 2024/1689, Article 14, human oversight: automation bias is in paragraph 4, point (b).
- OpenAI. Human-in-the-loop: pause, decide, resume.
- Brazil. Lei 13.709/2018 (LGPD): articles 6 and 16.
Lesson quiz
Three situations to apply what you learned.
Isaque Victor free courses