In short
- An AI agent is given a goal, chooses its own steps and uses tools. An automation follows a path written in advance.
- A first agent fits in one text file: its name, a line that says when to call it, the tools it may use and its instructions.
- Choose a task whose result you can check in one minute.
- During the trials, the agent reads and prepares. You do the sending.
- Instructions guide the agent. To forbid an action, take away the tool that allows it.
- Claude Code is included in Claude's Pro plan: $20 a month, or $200 for the year (prices read on 25 November 2026).
What is an AI agent?
An AI agent is a program you give a goal and some tools. It reads, chooses the next step, uses a tool, looks at the result and starts again until the task is done.
Anthropic, the company behind Claude, separates two cases (Building effective agents, December 2024). In a “workflow”, the model and the tools follow a path written in advance. In an agent, the model decides on its steps and on the tools it uses. The same article advises looking for the simplest solution first.
Example. Eau Vive, a plumber, sends about ten quotes a month and forgets to follow up half of them. This is the path of its first agent:
- You ask for the follow-ups
- The agent reads the list of quotes
- It prepares one message per quote
- You read them
- You send them
Agent or automation?
If the right answer follows from a rule, an automation is enough. “A quote with no reply after seven days triggers a standard email” can be set up in Make, in n8n or in an Odoo automated action. Odoo 20 also has its own agents, which we describe in a guide.
An agent is useful when something has to be read before acting. The first customer is waiting for the landlord, the second asks for a date in December, the third has already ordered. The right message changes every time.
How to create an AI agent, step by step
1. Choose a task that keeps coming back
Take a task you do every week and whose result is quick to check. Following up a quote works well: you know the customer, and you can tell a good message when you see one. Keep for later anything that pays, anything that deletes and anything that writes to a stranger.
2. Gather ten cases you have already handled
Ten quotes, with the follow-up you sent for each. They will show whether the agent works the way you do. Export the quotes to a file called quotes.csv and keep your follow-ups apart, to compare. Remove customer names and addresses: for the trial, a number is enough.
Example, with two of Eau Vive's quotes:
number;sent_on;amount;subject;last_message
D-104;2026-11-03;1840;Bathroom;The landlord decides this week
D-107;2026-11-12;620;Water heater;Can you come in December?
The first line gives the column names. Each line after it is one quote. The customer's last message matters as much as the amount, since the agent has to read it before writing.
3. Install Claude Code
Claude Code is an Anthropic tool that reads your files, edits them and runs commands (Claude Code documentation). The desktop app spares you the terminal: install it, sign in and open the Codetab. It needs a paid subscription. Then create a “follow-ups” folder, put your file in it and open that folder in the app. Every step from here on happens in that tab.
4. Write the agent's file
Ask Claude Code to create the file .claude/agents/quote-follow-up.md with this text. The .claude folder starts with a dot: your computer hides it, which is normal.
Example, written for Eau Vive:
---
name: quote-follow-up
description: Prepares follow-ups for quotes left without a reply. Use when a follow-up is requested.
tools: Read, Grep, Glob
---
You prepare quote follow-ups for a plumber.
1. Read quotes.csv.
2. Keep the quotes sent more than 7 days ago.
3. Read the customer's last message before writing.
4. Write a message of 60 words at most: the quote number, its date, one simple question.
5. If information is missing, write “to check”. Invent nothing.
6. Return a table: number, amount, days waiting, message.
You send nothing. A person reads and sends.
Line by line:
- The two lines
---: they frame the agent's identity card. The first must be the very first line of the file, or Claude Code sees a plain document. name: the agent's name. This is what you will call it by.description: Claude reads this line to know when to hand it a task.tools: the tools it may use. Here, read a file (Read), search for a word in the files (Grep) and find a file (Glob). Without this line, the agent gets every tool available.- “You prepare…” : the role, in one sentence. Replace the plumber with your own trade.
- Line 1 : the file to read. Give its exact name.
- Lines 2 and 3 : the sorting, then what to read before writing. Change the 7 days if your trade moves faster or slower.
- Line 4 : the length and content of the message.
- Line 6 : the shape of the result, so you can check everything at a glance.
- Line 5 : what the agent writes when information is missing. A model that has not been told this may fill the gap.
- The last sentence : it repeats the rule, and the
toolsline enforces it. With these three tools, the agent cannot send or change anything.
The rules for this file are in the subagent documentation. “Subagent” is the name Claude Code gives to an agent described in a file.
5. Try it on your ten cases
Type this in Claude Code:
Use the quote-follow-up agent on quotes.csv.
Our trial. We ran the French version of this file on 25 November 2026, on the example's two quotes. The agent prepared two messages. For the water heater, it warned (translated): “The customer asked a question about December, it needs an answer first. The availability is not in the file.” It left “to check” in place of the date, and it sent nothing.
Compare each message with the one you sent, and sort them into three piles: good as it is, to correct, wrong. For each wrong message, add a line to the instructions, then run the ten cases again. Move on when ten new quotes, which the agent has never seen, give messages you would send.
6. Connect it to your tools
With a file exported by hand, the agent works on a copy that soon goes out of date. Two paths lead to your live data:
- MCP (Model Context Protocol): an open standard for connecting an AI to outside systems (introduction to MCP). You add a tool's MCP server to Claude Code, and the agent can read from it, and sometimes write to it.
- An API, such as Odoo's: a way in for programs, protected by a key. Odoo recommends a user kept for this purpose, with the fewest rights possible. Access through the API is available on its Custom plans only (Odoo 19 documentation).
In the app, ready-made MCP servers are called connectors. Click + next to the prompt box, choose the connectors, then your tool, and sign in to your account (desktop app documentation). Check who owns a server before you connect it: if it reads outside content, it can slip false instructions to the agent (documentation on MCP in Claude Code).
Your file still allows three tools. Ask Claude Code for the exact names of the connector's tools, then add to the tools line those the agent needs, one by one. Start with the ones that read.
7. Decide what goes out without you
Under the prompt box, a selector sets how much freedom Claude Code has. Choose Manual : it asks for your approval before each change (desktop app documentation). Move to a freer mode once the ten cases, then the ten new ones, are right.
Two settings do not depend on its good will: the tools line in the file, and this selector. A sentence in the instructions guides it, it does not stop it. Keep your approval mandatory for anything that reaches a customer or touches money.
What it costs
- To learn : a subscription. Claude's free plan does not include Claude Code. The Pro plan does, at $20 a month or $200 for the year (Claude pricing). Its usage is limited.
- For an agent that works every day : the cost follows the number of tasks and the length of what the agent reads. Count its runs over a month before you launch it.
- Your time : allow some for choosing the task, gathering the ten cases and checking.
Three mistakes to avoid
- Instructions that are too long. For
CLAUDE.md, the file Claude Code reads at every session, Anthropic aims for under 200 lines: any longer and it is followed less well (memory documentation). - Made-up test cases. They look like what you imagine. Your real quotes have typos, gaps and customers who answer another question.
- More data than the task needs. An agent that follows up a quote has no use for the whole customer file.
The course, module by module
This page is the starting point. The course follows the tools that Adam Arnaud, founder of the agency, uses himself: Claude Code, MCP, Python, Odoo's API, Make and n8n. Each lesson is written by Alix, our AI agent, and comes out once Adam has reviewed it.
Module 1: Understand
Module 2: Tools
- Build an agent with Claude Code
- The Claude Agent SDK coming soon
- With or without code: Make, n8n or Python
Module 3: Build
- Connect an agent to your tools, with MCP
- Build your own MCP server coming soon
- Connect an agent to Odoo coming soon
Module 4: An agent that…
- Build an agent that makes your visuals
- …writes your articles (Alix) coming soon
- …follows up your quotes (Aldo) coming soon
- …does the work of the other six agents on the team coming soon
Module 5: Stay in control
- Approval, data, costs coming soon
Frequently asked questions
Do you need to code to build an AI agent?
Not for a first agent that reads and prepares: its instructions are written in plain English, in a text file. Code comes in when you connect it to your tools. Claude Code can write it, and you check it on your own cases.
How do you create an AI agent for free?
With Claude Code, you need a paid subscription. You can already choose the task, write the instructions and gather your ten cases without paying anything. Take the monthly subscription when you are ready for the trials.
What is the difference between an AI agent and a chatbot?
A chatbot answers in a conversation. An agent has tools: it reads a file, searches a database, prepares a document, and goes from step to step until it reaches the result you asked for.
Can an AI agent make mistakes?
Yes. It can misread a figure or fill in missing information. Hence the ten cases, the “to check” in the instructions and your reading before anything is sent.
Where does the data the agent reads go?
Claude Code runs on your computer and sends its requests to Anthropic, encrypted in transit. On Free, Pro, Max and Ultra accounts, a setting decides whether this data can be used to improve the models (data usage documentation). Check that setting, and remove any personal data the task does not need.
Do you need Odoo to build an AI agent?
No. The agent on this page works on a file exported from whichever tool you use. Odoo keeps sales, stock and customers in one place, so there are fewer connections to set up afterwards.
Sources
- Anthropic, Building effective agents, 19 December 2024
- Claude Code documentation, overview, read on 25 November 2026
- Claude Code documentation, subagents, read on 25 November 2026
- Claude Code documentation, desktop app, read on 25 November 2026
- Claude Code documentation, memory, read on 25 November 2026
- Claude Code documentation, MCP, read on 25 November 2026
- Claude Code documentation, data usage, read on 25 November 2026
- Claude, pricing, read on 25 November 2026
- Model Context Protocol, introduction, read on 25 November 2026
- Odoo 19 documentation, External JSON-2 API, read on 25 November 2026