This commit is contained in:
oliver
2026-06-26 18:03:44 -03:00
parent 8425296ef3
commit ee908a65bb
@@ -132,14 +132,22 @@
<li>Add the connection to Hermes' <code>config.yaml</code></li>
<li>Start Hermes — Odoo tools are available automatically</li>
</ol>
<pre><code># Hermes config.yaml snippet
odoo:
url: "https://your-instance.odoo4projects.com"
db: "your-database"
user: "agent@company.com"
api_key: "your-api-key"
readonly: true</code></pre>
<pre><code># Hermes /.hermes/.env snippet
ODOO_URL=https://005-003-1bf12542-4710-45c2-9f8b-3a27d25031b7.odoo4projects.com/
ODOO_USER=changeme@odoo4projects.com
ODOO_APIKEY=198db28b752ccb4a66c646503902169e8b3a5b42
</code></pre>
Prompt:
<pre><code>
Connect to the odoo 19 database with the credentials given in $ODOO_URL $ODOO_USER $ODOO_APIKEY<br>
open <url>/doc and read the available models and methods. Use the JSON api to connect and do not login to the web UI.<br>
create a skill to access ODOO<br>
return all data found in the crm database<br>
</code></pre>
This aproach is awesome since we give hermes the whole JSON 2 API to study. In the video you see, that the skill learned every modell with every method.
<p><strong>When to use:</strong> Quick queries, one-off lookups, demos, and prototyping. The LLM decides which API calls to make, so it's fast but the agent may chain calls in unexpected ways.</p>
<p><strong>Deep dive:</strong> <a href="https://derez.ai/blog/posts/speed-run-odoo-community-agent.html">Speed Run: Create an Odoo Community Agent from Zero</a></p>
</div>
@@ -308,4 +316,4 @@ Step 9: Return invoice number and status to Hermes</code></pre>
</p>
</div>
</body>
</html>
</html>