This is the first and simplest method from the three ways to integrate Odoo with Hermes Agent — direct XML-RPC API calls. Your agent connects straight to your Odoo instance, no middleware, no MCP server, no n8n pipeline. Just your agent and your ERP talking directly.
I made a YouTube short walking through this exact setup — you can watch it here:
By the end of this guide, your Hermes Agent will:
You need a running Odoo instance and a Hermes Agent. Here are the exact credentials from my demo instance — use these to follow along, then swap in your own.
These are live credentials from a demo Odoo Community instance on ODOO4projects. They work right now.
https://006-003-1d9183bb-8430-41a8-85a3-842b2b4d279d.odoo4projects.com/changeme@odoo4projects.comchangeme006-003-1d9183bb-8430-41a8-85a3-842b2b4d279d602e6ea0a0adda65b344a282495da3b05525f63fconfig.yamlIn your Odoo instance, navigate to Settings → Users → select your user → Technical. Scroll to the Security section and click Generate API Key.
Name it something descriptive like hermes-agent. Copy the key immediately — Odoo only shows it once.
If you're using the demo instance above, the API key is already generated and ready.
Edit your Hermes config.yaml and add the Odoo connection block:
Set readonly: true if the agent only needs to query data (recommended for first setup). Remove it or set false if you want the agent to create or modify records.
Start or restart your Hermes Agent:
Now ask your agent something simple to verify the connection works:
If everything is configured correctly, the agent returns live data from your Odoo instance. Here's what it looks like with the demo instance:
That's it. Three minutes, one config block, and your agent talks to Odoo.
Once the connection is live, try these queries:
crm.leadsale.orderstock.quant for low quantitiessale.order with state = 'draft'readonly is off, the agent creates records tooDirect XML-RPC is the fastest path: one hop, one config block, one less thing to break. No MCP server to maintain, no n8n workflow to debug. For simple queries, demos, and prototyping, it's the right choice.
If you need deterministic business processes with audit trails (invoice creation, order processing), the n8n pipeline approach is better. But for 80% of what you'll ask your agent to do — "who are my customers?", "what's my pipeline?", "show me pending orders" — XML-RPC is all you need.
Deploy a Hermes Agent with Odoo XML-RPC integration. Use coupon code blog950 for your first month free.
Get Your Agent →derez.ai — Deploy your AI agent in 5 minutes. · 3 Ways to Integrate Odoo + Hermes · Full Speed Run · MCP Approach