Zenbyte
Claude AI Integration
Connect Anthropic's powerful Claude models directly to Odoo's AI framework. Enable Claude as a
first-class AI provider,
customize parameters, and power your AI Agents, Server Actions, and workflows natively.
Key Capabilities
Leverage modern AI integration designed with enterprise standards.
Native AI App Extension
Hooks directly into Odoo's Enterprise
ai_app dashboard. Config parameters display inside the unified "AI Settings"
block next to OpenAI and Gemini.
Secure Storage Parameters
Stores key using secure
ir.config_parameter. The API Key input is hidden from standard users using the
password="True" UI attribute.
Flexible Tool Calling
Converts Odoo tool structures to Anthropic tool schema and formats responses, enabling your Claude agents to run system actions natively.
Rate-Limit Mitigation
Configured with automatic exponential backoff retries when encountering Anthropic API HTTP 429 errors (Too Many Requests).
Vision & PDF Support
Supports parsing base64-encoded PDF documents and image files directly, forwarding them as input block structures to the Anthropic API.
Message Turn Coalescing
Ensures strict message-turn alternation by dynamically combining adjacent messages with matching roles before dispatching.
Models & Setup
Supported Claude models and how to configure them.
Supported Models
The following models are registered inside Odoo's PROVIDERS
registry:
| Model ID | Display Name |
|---|---|
claude-sonnet-5 |
Claude Sonnet 5 |
claude-opus-4-8 |
Claude Opus 4.8 |
claude-haiku-4-5-20251001 |
Claude Haiku 4.5 |
Integration Configuration
Install the Module
Navigate to Apps, search for
Claude AI Integration and click Install.
Configure settings in AI Dashboard
Go to AI → Configuration → Settings. Scroll down to find the new Claude Settings group.
Enable provider & Input API Key
Check the enable box, paste your Anthropic Claude API Key, adjust optional temperature parameters and hit Save.
Create or Edit Agents
Create a new Agent under AI → Agents and select one of the registered Claude models in the selection dropdown.
Frequently Asked Questions
Common questions about compatibility, rate limits and configuration.
Is this module compatible with Odoo Community?
No, this integration requires Odoo's native Enterprise AI module
(ai_app),
which provides the core agent configurations, topic databases, and settings framework.
How does rate limit mitigation work?
If the Anthropic API responds with an HTTP 429 status code, our provider intercepts it and pauses execution. It automatically retries the API request up to 3 times with exponential backoff delays.
Can I customize the temperature or tokens?
Yes. Once enabled, fields for Temperature (0.0 to 1.0), Max Tokens (up to 4096), and connection Timeout seconds are displayed inside the settings UI to adjust agent behavior.
Changelog
- Registered Claude models (Sonnet, Haiku, Opus).
- Extended
ai_appConfiguration Settings. - Secure credentials configuration form.
- Role coalescing and tool formats mapping.
- Implemented backoff retries on rate limits.
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module