Module 4 · Opportunities and the Future

Final project: an automation that measures itself

Lesson 12 of 12 9 min lesson Updated on October 30, 2026
Progress in the course100%

In this lesson

Just one automation, with a number.

You are going to build the automation for the task you chose in lesson 11. What you deliver is not a promised return. It is two numbers with a date: the starting one and the day 30 one.

What the project is

An input arrives, such as a form or a spreadsheet. The model does a single step with a closed format, such as classifying or extracting fields. The result goes to the place where the person works. Whatever falls outside the format lands in an exception queue, which a person sorts out.

Anthropic calls this a workflow: models and tools follow paths defined in code. An agent is when the model itself decides the steps. Start with the simplest option: in the test with 175 office tasks, the best agent completed 30% on its own.

Three design rules. Only one step for the model. Output in a closed format. And no action involving money, sending something outside or deleting, triggered by the model without a person in the middle.

The project sheet

In 2018, researchers proposed "model cards": a short document saying what a system is for and what it is not for. Yours fits on one page, with eight fields:

  1. Intended use, in one sentence.
  2. Out of scope: it does not reply to the customer, does not change payments, does not delete anything.
  3. Inputs, and who can write to them.
  4. Personal data: which fields, why and for how long.
  5. Output, field by field.
  6. Who is responsible and who gets notified.
  7. The worst mistake you can imagine and what it would cost.
  8. Brake: how to switch the step off in one minute.

The LGPD, Brazil's data protection law, comes in at field 4: use only the minimum necessary (article 6) and keep a record of the operations (article 37). To classify a message, you rarely need a name and an address.

The brake against hidden orders

If the automation reads emails or messages that anyone can write, one of them may carry "ignore the instructions and do X". To the model, everything is text. This attack has already been demonstrated on real systems. That is why the brake cannot be a sentence in the request. It is structural:

Twenty cases, three runs

Before you switch it on, ask: does the model get this task right? Take twenty real cases from the past. Write the right answer for each one before you run anything. Run each case three times, because one right answer does not guarantee the next. That is sixty runs, in one afternoon.

Set the threshold on the sheet before the test. If you do not reach it, the project has not failed: you have found out, without spending anything, that the task is outside the frontier. Change one thing only: the request, the step (make it smaller) or the rung.

After you switch it on, track four signals, in a spreadsheet with one row per day: latency (time until it is saved), traffic (inputs per day), errors (the exception queue) and saturation (how much of the quota is used). And every week, read twenty outputs picked at random against their inputs.

What the pros know

It is tempting to ask another model to correct the first one. It can help to sort the queue, but AI judges have known biases: in general they prefer the first option they see and longer answers, even when those are less clear, according to a 2023 study. The same study saw signs that some of them favor their own answers, but could not confirm it. That is why people who work with AI use the model as a filter and leave the final decision to a person, who reads a small sample every week against the answer key.

On day 30, the number

Measure again, the same way you did at the start: minutes per week, mistakes per month, requests per day. Both results are valid things to deliver. A sober reference point: the 2025 Danish study measured about 2.8% of hours saved. What does not count as a delivery is a percentage written down before you switch it on.

When it goes wrong: a blameless review

The automation will make mistakes. The review after a mistake writes down what happened, the impact, the cause and the steps to keep it from happening again. It does not point to a culprit. In a project of your own, the mistake belongs to the system: to the request, to the format or to a brake that was missing. If the mistake exposes personal data, the LGPD (article 48) provides for notifying the authority and the person the data belongs to, and the decision rests with whoever answers for the data.

Practice · 5 min

  1. Fill in the eight fields of the sheet. Under "brake", write the exact action that switches the step off.
  2. Set aside twenty real cases from the past and write the right answer for each one.
  3. Compare your monthly volume with the quota of the free plan.

Summary

Sources

Read on October 30, 2026.

  1. Anthropic. Building effective agents (2024). Xu et al. TheAgentCompany (2025).
  2. Mitchell et al. Model Cards for Model Reporting (2018).
  3. Greshake et al. Not what you've signed up for (2023).
  4. Zheng et al. Judging LLM-as-a-Judge with MT-Bench and Chatbot Arena (2023).
  5. Humlum and Vestergaard. Large Language Models, Small Labor Market Effects (2025).
  6. Brazil. LGPD, articles 6, 37 and 48.

Lesson quiz

Three situations to apply what you have seen.

Last lesson

You have reached the end of the course Artificial Intelligence for Beginners.

That was 12 lessons. What stays is not memorized content, it is the foundation to decide better from here on. If you want to keep going, the other courses remain open and free.

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

Ask on WhatsApp