1. Give the agent narrow tools
An agent should not hold a general database login. It should have a short list of named actions, such as read a stock level or draft a purchase order, and nothing else. If an action is not on the list, it cannot happen.
2. Check every change before it is written
Run the proposed transaction against the rules of the ERP first. Stock that does not exist, an expired batch or a missing cost centre should be caught before a person is asked to look at it, and well before anything is saved.
3. Keep a person on the approve button
Reading data can be automatic. Writing it should wait for approval from someone with the authority to give it. If the check or the approval step is unavailable, the system should refuse to write rather than carry on.
4. Log who did what
Record what the agent proposed, who approved it, what was written and when. When a number looks wrong, you need to be able to trace it.
5. Test it like any other system
AI-written code and AI-driven actions need automated tests that people review. A passing test suite means little if nobody notices that a failing test was removed.
The AI model can be swapped. The controls around it are what make it safe to use. If you are planning this on SAP, Odoo, ERPNext or a custom system, book a free fit call.