Practical notes from building a private AI gateway that connects several Odoo databases with Claude and GPT, safely and transparently.
AI in business: a long-term trend, not hype
Artificial intelligence is no longer just a fashionable topic. It is a long-term trend that is reshaping the business world and directly affects how companies work. We already see AI optimising not only individual processes but the very structure of roles inside teams.
At the same time, I look at AI without illusions or hype. It is not a magic pill or a cure-all. It is a new technology that businesses need to learn to work with, adapt methodically to their own tasks and develop further, so that it becomes genuinely useful and, above all, autonomous. That is why I am opening this topic in the AI for Business category and sharing how it works in practice.
About the AI for Business category
In this category I regularly share real experience of bringing AI into business processes: no hype, with a focus on practice, architecture and safe autonomy. If you want to follow these cases and new solutions, subscribe and get an email when a new article is published.
Get new AI for Business articles first
Leave your details and receive new articles and practical AI cases, picked for your business and your Odoo. Personal, not a mass newsletter.
Why I built my own AI gateway instead of using direct connections
Over the time I have worked with this technology, I went from the first experiments to version 22 of my local model and gateway. A private LLM runs on my own server, and the gateway connects several Odoo systems with external AI chats, including Claude and GPT.
The architecture is simple and transparent: the gateway acts as a smart intermediary between point A and point B. Its main value, however, is that it is not just a pipe for forwarding requests. It is a controlled layer of security and analysis.
Two layers of protection: rules before action and a before/after audit
When real business data and real actions in the system are involved, the cost of a mistake can be high. That is why the gateway has two layers of protection.
1. Request checks and bulk-change control
Every request passing between Odoo and the AI chats is checked against rules on the server, including the type of operation (update, delete) and how many records it affects. If the system detects an attempt to delete or change too many records at once, the request is stopped.
I am deliberately not publishing the exact thresholds, limits and the list of protected objects in this article yet. I will add them later.
2. Independent before/after logging
In addition to Odoo's own logging, the gateway records the state of the data before and after every change in separate tables on the server that cannot be accessed from outside. Things happen: an outage, a bad request or a simple mistake. With an independent record of the state before and after, you can always investigate what happened in detail and restore or roll back lost data.
GDPR and the current focus
GDPR is a very sensitive and important topic here. If the server did more than technical checks and state recording, and actually processed personal data, this would directly fall under GDPR requirements. At this stage I do not store or process any data beyond what is necessary. The main goal right now is to test how this model performs in its different roles.
A tool for analysts and developers that protects clients from unnecessary costs
In practice I discovered another strength of this approach: the AI gateway works very well as a tool for the analyst and the developer.
When a client request comes in, connecting through the gateway server lets me quickly see the structure, the architecture and the real data of the system. This helps to find the error or the missing piece with high accuracy and to formulate the right change request. As a result, the risk of building the wrong thing in the wrong place drops significantly, because the problem is often solved not with custom code but with the right configuration of functionality the system already has.
This is especially noticeable when a client goes beyond the basic flow (quotation, invoice, payment, delivery) into more complex areas: accounting, taxes, commissions, payroll and financial reporting. Every country has its own rules and nuances, and complex accounting unfortunately attracts its share of manipulation, when someone promises more than is realistically possible or implements a solution the wrong way.
An honest assistant without a sales agenda
My AI server and gateway were built without any marketing motive to push something or sell extra hours. The client states a business goal and asks how to reach it. The assistant works with the client's real data, such as invoices, journal entries and reconciled payments, and explains why something does not add up right now and which settings are needed to reach the goal. If the task truly requires functionality the system does not have, the same assistant helps formulate the requirement properly so it can be handed over to the client's integrator.
It is not a cure-all, but it is a practical assistant that shortens the time needed for analysis, diagnostics and implementation.
Want to connect an AI assistant like this to your Odoo?
If you would like to try this approach for process analysis, configuration checks and preparing change requests, without unnecessary marketing, leave your details and I will get back to you.
Want an AI assistant like this for your Odoo?
Leave your details and I will get in touch to talk through your processes and where an AI assistant can really help. No sales pitch.