DAADit AI â Claude (Anthropic) Provider
Anthropic's Claude models as a first-class provider in Odoo 19 Enterprise's built-in AI.
What this module does
Adds Anthropic's Claude models â Opus, Sonnet, and Haiku â as an LLM provider for the standard Odoo 19 Enterprise ai module.
Your AI agents, chatbots, and Discuss integrations can now dispatch chat and tool calls directly to
api.anthropic.com using your own Anthropic account.
Existing topic configurations, tool actions, and RAG sources keep working â this module plugs in as an
additional provider option, not a replacement.
Key features
ð¤ Full Claude model lineup
Adds Claude Opus, Claude Sonnet, and Claude Haiku (4.5 & 4.6/4.7 families) to the ai.agent LLM Model dropdown.
Requests go to Anthropic's /v1/messages endpoint using your key from console.anthropic.com.
ð Tool calling with proper schemas
All ten standard Odoo AI tools (Search, Read Group, Get Fields, Open Menu *) are exposed to Claude with typed JSON Schema
definitions. Multi-turn tool_use â tool_result loops run automatically until Claude returns a final text
response or a 6-iteration safety cap is hit.
ð¡ï¸ Per-agent access control
Allowed-models and blocked-models lists on every agent constrain which Odoo models Claude can query via tools. One-click presets fill in curated business-model / sensitive-system-model lists so admins don't have to type technical names.
ð Field-level PII blocklist
Configure model.field entries that must never leave the agent. Matches are scrubbed from tool results and
filter/groupby/aggregate clauses referencing them are rejected â so an LLM can't binary-search a value through the
query.
ð Usage tracking & cost estimation
Every chat call writes a row to daadit_ai_claude.usage with token counts, iteration count,
tool-usage flag, and an estimated USD cost per Anthropic's public price list.
Pricing is overridable via ir.config_parameter when Anthropic updates their rates.
âï¸ GDPR-ready erase button
Partner form gains an Erase Claude usage (GDPR) button that anonymises the user link on all usage rows tied to that partner's internal users â token counts and cost figures kept for aggregate reporting.
ð URL allowlist for the API key
The base URL is validated against a strict allowlist before any request is sent, so a tampered
ir.config_parameter row cannot exfiltrate your API key to an untrusted host.
ð£ï¸ Language mirroring
The dispatch layer appends a language-mirror instruction to the system prompt so smaller Claude models reliably reply in the user's language (Dutch, French, German, â¦) even when the agent's system prompt is in English.
How it fits together
When an AI agent is configured with a Claude model, its chat calls take a different path than the OpenAI/Gemini defaults:
- Chat â routes to
POST /v1/messagesonapi.anthropic.comwith your key. - Tool calls â converted to Anthropic's
input_schemaenvelope; results echoed back astool_resultcontent blocks. - Embeddings â Anthropic does not offer an embeddings API. The module deflects the embedding-model lookup to
text-embedding-3-smallso RAG/Sources keep working through the OpenAI/IAP path that stock Odoo already uses. Chat runs on Claude, embeddings run on whichever provider you have configured for them.
Set-up in 5 steps
- Install this module from the Apps screen.
- Open Settings â General Settings â AI.
- Toggle Use your own Anthropic Claude account on and paste your API key from
console.anthropic.com/settings/keys
(keys start with
sk-ant-). - Save.
- Open any AI Agent, pick a Claude model (e.g. Sonnet 4.6 as a balanced default), and try a prompt.
Existing agents on other providers keep working unchanged.
Requirements
- Odoo 19 Enterprise â depends on the stock
aiandai_appmodules. - An Anthropic account with billing set up at
console.anthropic.com(Anthropic bills you directly for chat token usage; this module only routes the call). - Python's
requestslibrary (already present in any standard Odoo install). - Outbound HTTPS to
api.anthropic.comfrom the Odoo server.
About DAADit
DAADit is an Odoo integration partner focused on secure, GDPR-conscious AI deployments in ERP environments. Visit daadit.group for other modules and consulting.
Anthropic and Claude are trademarks of Anthropic, PBC. This module is an independent integration and is not affiliated with or endorsed by Anthropic. Odoo is a trademark of Odoo S.A.
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
AI (ai_app)
• Discuss (mail) |
| Lines of code | 3014 |
| Technical Name |
daadit_ai_claude |
| License | LGPL-3 |
| Website | https://daadit.group |
Please log in to comment on this module