"What are the 20% of products that account for 80% of our revenue this year, and how many days has each been out of stock?" Yesterday, cross-referencing a Pareto analysis of sales and stock history took an analyst several days. Today, a small business leader can ask Claude, ChatGPT, or Copilot and get an answer in seconds.
But between a quick answer and a correct answer, there is a world of difference. This is the gap that Smart Analytics AI aims to bridge.
Connecting an LLM to your ERP: easy, but not without risks
Connecting an LLM to Odoo takes a few minutes. But four requirements still need to be met.
Controlled governance. Who can access which data, and under what rules?
An ERP that isn't overloaded. Analysing years of history directly in Odoo puts load on the very tool your teams are using at the same time to sell, invoice and deliver.
Reliable, reproducible figures. An executive must be able to trust the figure on screen, no matter who is looking at it.
Controlled token consumption. Letting an LLM trawl through raw data and recalculate every KPI is expensive, for an uncertain result.
The principle: a deterministic base, a free top
Imagine a pyramid. The lower you go, the more guaranteed the result; the higher you go, the more freedom of use.
The lower layers are built, tested and fully controlled: every figure is calculated there just once, according to a single definition. At the top sits the client's LLM, whichever one it is. And the golden rule is simple: the LLM calculates nothing. It chooses which metric to request and how to display it.
Specifically, Smart Analytics AI stacks four layers:
The sources. Odoo data is extracted by our ETL, and other data (third-party software, Excel files, etc.) can be added to combine multiple sources.
The data warehouse. All data is unified here in an environment designed for analysis. Whereas the Odoo database is optimised to record transactions one by one, a data warehouse is built to scan and aggregate large volumes over several years, without slowing down day-to-day operations.
The semantic layer. It defines each metric (revenue, margin, active customer) and the related business rules once and only once. Every use case relies on these same definitions.
The Smart Analytics AI MCP. This is the secure gateway between the data, the semantics and the LLM. Since MCP is an open standard, the same gateway works with Claude, ChatGPT, Copilot or any other compatible LLM.
User side: simply ask your question
The user does not need any technical skills or access to the data warehouse. They connect to their usual LLM, link it to the Smart Analytics AI MCP, and ask their questions in natural language.
Behind the scenes, everything is structured:
The LLM translates the question into a structured request (indicator, axes, filters, period), using only the approved names in the semantic layer.
The MCP validates the request. It recognizes a customer or product name, even partial, and asks for clarification in case of ambiguity rather than guessing.
The MCP generates the SQL in a deterministic way and executes it in read-only mode.
It returns already calculated results, accompanied by useful warnings (incomplete period, partial list…).
The LLM formats the response, in text, graphic or dashboard, without recalculating anything.
Questions go well beyond simple numbers: "Compare, month by month, the quantities produced and sold by category" or "Create me a summary storytelling of our sales, our production, and our stocks, compared to last year."
Why not connect your LLM directly to Odoo?
The question is legitimate, and the answer is not "never". The two approaches are complementary.
For operational purposes, an LLM connected directly to Odoo in MCP is excellent: consulting a record, finding an order, creating a quote, spotting an error, or obtaining a simple figure in real-time.
Strategic reporting, on the other hand, poses other requirements:
The load on the ERP. With a direct connection, every user and every dashboard re-runs its queries on the production ERP. With Smart Analytics AI, extraction happens overnight and incrementally: only new or modified data is loaded. Odoo remains fully available to your teams during the day.
History. Odoo overwrites states that change: an opportunity's stage, the salesperson assigned to a customer, a product's category. The data warehouse makes it possible to keep a history of these changes when the need justifies it.
Combining data. Inventory, purchasing, sales, finance, external sources: everything is brought together in a single analytics hub.
Consistent definitions. Two dashboards built on Odoo can calculate the same revenue figure differently. The semantic layer enforces a single, validated definition.
The same view for everyone. With a live connection, each viewer's Odoo access rights silently filter the data: the same dashboard can show different totals depending on who opens it.
In summary: to operate daily, you connect your LLM to Odoo. To manage over the long term, you connect it to Smart Analytics AI.
Security and freshness: deliberate choices.
The client queries their data without ever touching the infrastructure. Access to the data warehouse goes through a unique service account, managed by us, whose key never leaves our server: it is not transmitted to either the client or the LLM provider. Everything is done in read-only mode, and the LLM can only request indicators defined in the semantic layer: no free SQL, no dubious queries.
In terms of freshness, the data is updated once a day. We obtain trends, comparisons, and reliable indicators, up to date from the previous day. The details of an order entered an hour ago? It's an operational need, for which direct connection to Odoo remains the appropriate tool. This rhythm is a choice: one does not manage their business with the data of the day.
And classic BI in all this?
Smart Analytics AI complements tools like Power BI, Looker Studio and can sometimes replace them. Both rely on the same data warehouse and the same semantic layer, thus on the same figures.
Classic BI remains the reference for official dashboards and recurring monitoring. Smart Analytics AI excels where it struggles: unforeseen questions, exploration, on-demand analyses, without the request–development–validation cycle.
One precaution, however: dashboards created in an LLM depend on that LLM. If it changes behavior or disappears, this work may be lost. The data warehouse and the semantic layer, however, remain acquired regardless of the tool.
The LLM brings flexibility, the infrastructure brings trust.
Smart Analytics AI does not replace the rigor of BI: it makes it accessible. The base remains deterministic and controlled; the top becomes free: everyone queries their data in the LLM of their choice.
And since this foundation does not depend on any LLM, your investment remains secured, regardless of the tool you choose tomorrow.