AI Agents in Business: A Pragmatic Guide to Calculating Your (Real) ROI
Chatbot, automation or AI agent? We clarify the differences, walk through three use cases that pay off within months, and share an honest method to calculate ROI before you launch a pilot.
By Sudo System Team
AI Agents & Automation Practice
Since the start of the year, we have been asked the same question in different ways: "Are AI agents something real for a company like ours, or are they still demo material?" The honest answer comes in two parts. Yes, they are real, and we have deployed several in Morocco this year. But no, they are not magic. A poorly scoped AI agent costs money, eats up team time and ends up abandoned after three months. This guide sums up what we learned in the field in 2026: what an agent really is, where it pays off quickly, and how to calculate its return on investment before committing a single dirham.
Chatbot, automation, AI agent: let's stop mixing them up
The vocabulary has become blurry, and that blur is expensive. When an executive tells us "I want an AI agent", they sometimes mean a simple FAQ chatbot, sometimes an n8n workflow that moves data between two applications. These three things do not have the same price, the same risk or the same return.
A chatbot answers questions. It converses but does not act: it does not create a quote or change an order. An automation runs a fixed sequence of steps triggered by an event: "when an invoice arrives by email, record it in Odoo". It is reliable, predictable and inexpensive, but rigid. As soon as a case falls outside the script, everything stops. An AI agent combines both: it understands a freely worded request, decides which actions to take, uses tools (your ERP, your document base, your messaging) and reports on what it did.
| Criterion | Chatbot | Automation | AI agent |
|---|---|---|---|
| What it does | Answers questions | Runs fixed steps | Understands, decides and acts through tools |
| When the unexpected happens | Says "I don't know" | Stops or throws an error | Adapts or hands over to a human |
| Setup cost | Low | Low to medium | Medium |
| Main risk | Approximate answers | Rigidity | Wrong actions without supervision |
Our advice: always ask yourself first whether a classic automation is enough. In a good share of the projects pitched to us as "AI agents", a well-designed workflow does the job for a fraction of the cost. An agent makes sense when inputs vary (freely written emails, heterogeneous documents, voice messages) and the decision requires a degree of judgement.
Three use cases that pay off within months
We covered several of these topics separately over the year. Looking back, three use cases consistently come out on top when you look at payback time.
Supplier invoice processing
This is the easiest case to quantify. An agent reads invoices received by email or scanned, extracts the supplier, amounts, VAT and references, matches them against the purchase order in Odoo and prepares the journal entry. The accountant no longer types: they validate. Ambiguous invoices, such as a missing ICE number or a price discrepancy, are set aside with an explanation. With a few hundred invoices a month, the savings quickly add up to days of work.
A 24/7 sales assistant on WhatsApp
In Morocco, a large share of customer conversations happens on WhatsApp, often on a salesperson's personal phone. An agent connected to your catalogue and stock answers in the evening and at weekends, qualifies the request, gives an indicative price, creates the lead in the CRM and hands over to a human as soon as the conversation gets delicate. The gain is not only time: these are requests that used to go unanswered until Monday morning.
An internal copilot plugged into your documents
Quality procedures, technical sheets, terms and conditions, HR memos: the information exists, but nobody can find it. A RAG-based copilot (the agent searches your documents before answering and cites its sources) cuts down interruptions for the few people "who know". It is the hardest gain to measure, but often the one teams appreciate most.
Calculating ROI: a simple formula, no self-deception
Most ROI calculations we come across are too optimistic because they leave out running costs. Here is the formula we use in workshops:

Net monthly gain = (hours saved × fully loaded hourly cost) − monthly running costs
Payback period (months) = setup cost ÷ net monthly gain
Running costs include hosting, language model consumption (billed per use), maintenance and, the one everyone forgets, the human time spent supervising. Take the illustrative example of a distribution SME in Casablanca processing around 600 supplier invoices a month.
| Item | Before | With the agent |
|---|---|---|
| Time per invoice | ~8 min | ~2 min (validation) |
| Monthly hours | ~80 h | ~20 h |
| Hours saved | — | ~60 h |
| Fully loaded hourly cost (illustrative) | 90 MAD | 90 MAD |
| Value of time saved | — | ~5,400 MAD / month |
| Running costs (model, hosting, maintenance) | — | ~1,800 MAD / month |
| Net monthly gain | — | ~3,600 MAD / month |
| Setup cost (illustrative) | — | ~45,000 MAD |
| Payback period | — | ~12 to 13 months |
A year to break even: not spectacular, and that is deliberate. We prefer a cautious calculation that holds up to a flattering one that disappoints. This figure does not include avoided data-entry errors, a faster month-end close or the hours the accountant now spends on collections. And if the agent then serves a second process, expense reports for instance, the setup cost is shared and the payback period shrinks.
Two traps to avoid. First, do not count saved hours that nobody will reallocate: if the freed-up time just dissolves, the gain stays theoretical. Second, measure the starting point before the project. Without an initial time study, you will be debating ROI based on impressions.
Key takeaway — A credible ROI calculation includes running costs and supervision time, relies on a real measurement of the starting point and only counts hours that are actually reallocated to other tasks.
Human oversight is not optional
An AI agent makes mistakes. Rarely, if the project is well designed, but it does. So the right question is not "is it 100% reliable?" but "what happens when it gets something wrong?". We build every agent with three safeguards: thresholds beyond which a human must validate (an amount, a sensitive customer, an unusual discount), a log of every action that teams can consult, and a confidence level that, when low, triggers a handover to a person.
"The day the CFO could open the log and see, invoice by invoice, why the agent had blocked a payment, the project stopped being 'that IT thing'. It became his tool." — A consultant from Sudo System's AI Agents & Automation practice
That transparency changes everything for adoption. Teams accept an agent that explains what it does; they work around one that acts in the dark. It also meets the personal data protection obligations set out in Morocco's Law 09-08: knowing which data the agent accesses, where it travels and who can see it.
Getting started in six weeks with a pilot
We advise against large twelve-month "AI" programmes. A short pilot on a single process teaches you more in six weeks than a committee does in six months. Here is our typical sequence.
- Weeks 1 and 2 — scoping and measurement. Choosing the process, timing the current situation, collecting a real sample of documents or conversations, defining success indicators.
- Weeks 3 and 4 — build. Connecting to Odoo or your tools, configuring the agent, human validation rules, testing on the sample.
- Week 5 — parallel run. The agent works, a human checks everything. Mishandled cases are fixed.
- Week 6 — review. Measuring real gains, recalculating ROI with actual figures, then deciding: scale up, adjust or stop.
Yes, "stop" is one of the options. A pilot that shows a process is not suited to automation is a successful pilot: it has saved you from a bigger investment. In practice, when the process was well chosen in week 1, the decision is almost always to keep going.
Where to start, concretely
This week, try a simple exercise: list the three repetitive tasks that take up the most hours in your teams, and estimate the monthly volume and unit time for each. If one of them exceeds a few dozen hours a month and relies on documents or messages, you probably have your first pilot. Plug that figure into the formula above, even roughly: you will quickly know whether the topic is worth pursuing. At Sudo System, we support this kind of approach from scoping to review, and we will gladly discuss it with you if the numbers look promising.