| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
Discuss (mail)
|
| Community Apps Dependencies | Show |
| Lines of code | 2850 |
| Technical Name |
llm_anthropic |
| License | LGPL-3 |
| Website | https://github.com/apexive/odoo-llm |
| Versions | 16.0 18.0 |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
Discuss (mail)
|
| Community Apps Dependencies | Show |
| Lines of code | 2850 |
| Technical Name |
llm_anthropic |
| License | LGPL-3 |
| Website | https://github.com/apexive/odoo-llm |
| Versions | 16.0 18.0 |
Anthropic Claude Integration
Anthropic Claude provider integration for LLM module.
Use Claude 4.5, Claude 4, and Claude 3.x for chat, vision, and advanced reasoning in Odoo
What is Anthropic Claude?
Advanced AI with safety and reasoning at its core
Anthropic Claude is a next-generation AI assistant developed by Anthropic with a focus on safety, accuracy, and advanced reasoning. This module implements Claude as a provider service for the LLM integration module, enabling you to use Claude models for chat conversations, vision tasks, tool execution, and extended thinking capabilities.
Capabilities
What you can do with Claude in Odoo
Chat Capabilities
Use Claude models for conversational AI, assistants, and chat-based workflows with streaming support.
Vision (Multimodal)
Process images and visual content with Claude's advanced vision capabilities.
Tool Calling
Execute Odoo functions and external tools through Claude's function calling interface.
Extended Thinking
Access Claude's reasoning process with extended thinking mode for complex problem-solving.
Supported Models
Access the full Claude model family
Claude 4.5
Opus, Sonnet, Haiku
Latest models with enhanced reasoning, vision, and extended thinking support.
Claude 4
Opus, Sonnet
Powerful models with vision, tool calling, and advanced capabilities.
Claude 3.x
Opus, Sonnet, Haiku
Proven models with chat, vision, and tool calling support.
Why Choose Claude?
Claude's unique advantages
Safety First
Built with Constitutional AI for safer, more aligned responses.
Extended Context
200K+ token context window for processing large documents.
Advanced Reasoning
Extended thinking mode shows Claude's reasoning process.
Superior Coding
Excellent performance on coding and technical tasks.
Technical Details
Requirements and dependencies
Module Information
base, llm, llm_tool
anthropic
Technical
LGPL-3
Getting Started
Obtain your API key from Anthropic Console, then configure a new provider in Odoo with your credentials.
Related Modules
Explore other modules in the Odoo LLM suite
Anthropic Provider for Odoo LLM
Anthropic Claude integration - Advanced AI with safety and reasoning at its core.
Module Type: 🔧 Provider
Architecture
┌─────────────────────────────────────────────────────────────────┐
│ Used By (Any LLM Module) │
│ ┌─────────────┐ ┌───────────┐ ┌─────────────┐ ┌───────────┐ │
│ │llm_assistant│ │llm_thread │ │llm_knowledge│ │llm_generate│ │
│ └──────┬──────┘ └─────┬─────┘ └──────┬──────┘ └─────┬─────┘ │
└─────────┼───────────────┼───────────────┼───────────────┼───────┘
└───────────────┴───────┬───────┴───────────────┘
▼
┌───────────────────────────────────────────────┐
│ ★ llm_anthropic (This Module) ★ │
│ Anthropic Provider │
│ Claude 4.5 │ Claude 4 │ Claude 3.x │ Vision │
└─────────────────────┬─────────────────────────┘
▼
┌───────────────────────────────────────────────┐
│ llm │
│ (Core Base Module) │
└───────────────────────────────────────────────┘
Installation
What to Install
For AI chat with Claude:
odoo-bin -d your_db -i llm_assistant,llm_anthropic
Auto-Installed Dependencies
- llm (core infrastructure)
- llm_tool (tool/function calling support)
Why Choose Claude?
Common Setups
| I want to... | Install |
|---|---|
| Chat with Claude | llm_assistant + llm_anthropic |
| Claude + document search | Above + llm_knowledge + llm_pgvector |
| Claude + external tools | Above + llm_mcp_server |
Features
- Connect to Anthropic API with proper authentication
- Support for all Claude models (4.5, 4, 3.x series)
- Tool/function calling capabilities
- Extended thinking support (Claude's reasoning mode)
- Streaming responses
- Multimodal (vision) capabilities for supported models
- Automatic model discovery
Supported Models
Claude 4.5 Series
- Claude 4.5 Opus - Highest capability, complex tasks
- Claude 4.5 Sonnet - Balanced performance and speed
- Claude 4.5 Haiku - Fast, cost-effective
All support: Chat, Vision, Tools, Extended Thinking
Claude 4 Series
- Claude 4 Opus - Previous generation flagship
- Claude 4 Sonnet - Balanced Claude 4 model
All support: Chat, Vision, Tools
Claude 3.x Series
- Claude 3 Opus - Proven high-capability model
- Claude 3 Sonnet - Balanced performance
- Claude 3 Haiku - Fast, efficient
All support: Chat, Vision, Tools
Configuration
- Install the module
- Go to LLM → Configuration → Providers
- Create a new provider and select "Anthropic"
- Enter your Anthropic API key from console.anthropic.com
- Click "Fetch Models" to import available models
Extended Thinking
Claude supports extended thinking mode, which allows the model to show its reasoning process:
# Enable extended thinking in your assistant configuration response = provider.chat( messages=messages, extended_thinking=True, thinking_budget=10000 # tokens for reasoning )
Key Differences from OpenAI
| Aspect | OpenAI | Anthropic |
|---|---|---|
| System message | In messages array | Separate system parameter |
| Tool format | {"type": "function", "function": {}} | {"name", "description", "schema"} |
| Response content | Single string | Array of content blocks |
| Tool results | role: "tool" | role: "user" + type: "tool_use" |
| Thinking | Not available | Extended thinking mode |
Technical Specifications
- Version: 18.0.1.0.0
- License: LGPL-3
- Dependencies: llm, llm_tool
- Python Package: anthropic
Implemented Methods
- anthropic_get_client() - Initialize Anthropic client
- anthropic_chat() - Chat with tool calling and streaming support
- anthropic_format_tools() - Convert tools to Anthropic format
- anthropic_format_messages() - Format mail.message records
- anthropic_models() - List available Claude models
- anthropic_normalize_prepend_messages() - Handle prepend messages
Contributors
- Crottolo <bo@fl1.cz> - Odoo 18.0 port with full tool calling and extended thinking support
License
LGPL-3
© 2025 Apexive Solutions LLC
Please log in to comment on this module