Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Artificial Intelligence
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Property Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries ⟶
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    • Affiliate Program
    Get Services
    • Find a Partner
    • Find an Accountant
      • Get a Tailored Demo
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +32 2 290 34 90
    • Get a Tailored Demo
  • Pricing
  • Help
  1. APPS
  2. AI
  3. AI Provider Pool v 19.0
  4. Sales Conditions FAQ

AI Provider Pool

by SuiteState https://suitestate.com
Odoo
v 19.0 Third Party 234
Download for v 19.0 Deploy on Odoo.sh
This module requires Odoo Enterprise Edition.
Apps purchases are linked to your Odoo account, please sign in or sign up first.
You bought this module and need support? Click here!
  • Description
  • Manifest

AI Provider Pool

Adds Anthropic Claude, DeepSeek, and any OpenAI-compatible LLM — self-hosted (Ollama, vLLM, LM Studio) or cloud (Kimi, Qwen, MiniMax, Zhipu GLM) — as native AI providers in Odoo 19 Enterprise, with web search, automatic embedding fallback and a configurable AI automation model.


One install, three new providers

Odoo 19 Enterprise ships with OpenAI and Google Gemini as built-in AI providers. This module registers three additional providers into the same native framework, so they appear in the AI Agent model selector alongside the defaults — no patching, no wrapper, no separate configuration page.

Anthropic Claude

Full Messages API integration with tool calling and server-side web search. Supports Claude Opus, Sonnet, and Haiku models. API key configured per database in Settings → AI, or via the ODOO_AI_ANTHROPIC_TOKEN environment variable.

DeepSeek

Chat Completions API with function calling. Supports DeepSeek V4 Pro and V4 Flash models. Optional web search via Tavily (see below). API key configured per database or via ODOO_AI_DEEPSEEK_TOKEN.

Custom LLM — self-hosted & OpenAI-compatible cloud

One slot connects any endpoint exposing /v1/chat/completions — whether self-hosted (Ollama, vLLM, LM Studio, HuggingFace TGI) or an OpenAI-compatible cloud provider. Point the URL at the endpoint, set the key, add the model names. Type host:port and the /v1 suffix is added automatically; a URL with its own version path (/v1, /paas/v4) is used as-is. API key is optional for local installs without authentication. One endpoint is active at a time.

The slot has three fields, and all three describe the same one endpoint — the difference between self-hosted and cloud is only what you type in them, not which fields you use:

  • LLM Server URL — where the endpoint lives. Filled in both cases: your own server (http://localhost:11434) for self-hosted, or the provider's base URL (https://api.moonshot.ai/v1) for a cloud model.
  • LLM API Key — the bearer token that authenticates against that URL. Leave empty for a local engine with no auth (e.g. Ollama); required for cloud providers and for any self-hosted server that enforces a token.
  • LLM Models — the model identifiers that endpoint serves (e.g. kimi-k3, qwen2.5:14b). They appear in the AI Agent model selector. Type them or click Fetch Available Models to pull the list.

Mainstream OpenAI-compatible clouds it connects to, for example:

  • Moonshot Kimi — https://api.moonshot.ai/v1 (international) or https://api.moonshot.cn/v1 (China) — (kimi-k3, kimi-k2, moonshot-v1-*)
  • Alibaba Qwen / Tongyi Qianwen (DashScope compatible mode) — https://dashscope.aliyuncs.com/compatible-mode/v1 (qwen-max, qwen-plus, qwen-turbo, qwen3-*)
  • MiniMax — https://api.minimax.io/v1 (MiniMax-M series; open weights are also self-hostable on vLLM)
  • Zhipu GLM — https://open.bigmodel.cn/api/paas/v4 (glm-4.6, glm-4-plus)
  • Fetch Available Models — one-click discovery via /v1/models on the configured server.
  • Test Connection — verifies reachability before going live.

Automatic Embedding Fallback

Anthropic, DeepSeek, and self-hosted models do not provide embedding APIs. Without this module, selecting one of these models on an AI Agent and uploading a Knowledge Source would fail with an error.

This module solves the problem transparently: when the agent's chat provider has no embedding capability, the module automatically falls back to any provider that has both an embedding model and a configured API key (OpenAI or Google).

Configuration Chat (Agent conversation) Embedding (Knowledge Sources)
Claude key + OpenAI key Claude OpenAI (automatic)
Claude key + Google key Claude Google (automatic)
DeepSeek key + OpenAI key DeepSeek OpenAI (automatic)
Claude key only (no Source) Claude Not needed
Claude key only + Source upload Claude Clear error: add OpenAI or Google key

How it works: Embedding is not "reading" — it is a one-time conversion of your documents into numeric vectors for similarity search. When a user asks a question, the system searches for relevant document passages using the embedding provider, then passes those passages as plain text to your chosen chat model (Claude, DeepSeek, etc.) for the actual answer. 99% of the cost is on the chat model; embedding costs are negligible.


AI Automation Model

Native Odoo 19 hardcodes OpenAI GPT-4.1 for all AI-powered server actions, regardless of which model you selected on your AI Agent.

This module adds a global AI Automation Model setting in Settings → AI. Once set, all AI-powered automations — document sorting, automated actions, workflow triggers — use your preferred model instead of the hardcoded default.

If left empty, the native GPT-4.1 default is preserved. You can switch at any time without restarting.


Configuration

AI Provider Pool settings page - API keys, automation model, and self-hosted server configuration

All provider settings live in Settings → AI, in the same section as the native OpenAI and Gemini providers:

  • AI Automation Model — choose which LLM powers AI-driven server actions and automations.
  • API keys — per database, stored as system parameters. Also readable from environment variables for containerized deployments.
  • LLM Server URL — auto-completed from host:port input.
  • Custom model list — manually entered or fetched from the server's /v1/models endpoint.
  • Tavily API key — optional; enables web search for DeepSeek and self-hosted models.

Multi-company safe. Keys and URLs are stored as system parameters shared across companies.


AI Agents with new providers

AI Agent model selector showing Claude, DeepSeek and self-hosted models

After installation, Claude, DeepSeek, and your self-hosted models appear directly in the AI Agent model selector. No additional configuration is needed beyond providing the API key or server URL.

Knowledge Sources (PDFs, documents, URLs) work with any chat model — embedding is handled automatically via the fallback mechanism described above.


What works with the new providers

Feature Status Notes
AI Agent conversations Supported Full tool calling for all providers
Knowledge Sources (RAG) Conditional Embeddings require an OpenAI or Google key. Claude, DeepSeek and self-hosted chat models have no embedding API; when one is used, this module routes embeddings to your OpenAI/Google key automatically. Without such a key, Knowledge Sources cannot be embedded.
AI Server Actions / Automations Supported Configurable via AI Automation Model setting
AI Search (Natural Language Query) Supported Uses the agent's chat model
Email template generation Supported Uses the default agent's model
AI Field Fill OpenAI only Odoo uses the /responses endpoint, unavailable on other providers
File attachments in chat OpenAI / Gemini only Requires provider-specific file handling
Structured output (JSON schema) OpenAI / Gemini only Requires provider-specific response format
Web search (grounding) All 5 providers One toggle on the AI Agent — Search the Web — enables it for OpenAI, Gemini, Claude, DeepSeek and self-hosted models. Each provider uses a different underlying mechanism (see below). Odoo has no such toggle out of the box; this module adds it.

Web search on any model

Turn on Search the Web on any AI Agent and it can ground its answers in live web results. Odoo 19 ships no such toggle — this module adds it and wires each provider to the right mechanism. Results are localized to your company's country automatically (OpenAI adds your city too).

Provider How it searches
OpenAI The model's own built-in web search, with your company country and city passed for localized results.
Claude Anthropic's server-side web search tool, version-matched to the Claude model automatically.
Gemini Google's built-in search. Model limitation: Gemini cannot combine web search with tools — when the agent also has tools attached, Gemini answers without searching. This is a restriction of the Gemini API itself, not this module; we detect it and reply normally instead of erroring.
DeepSeek These models have no native web search, so the module runs the search itself through Tavily: add a Tavily API key in Settings → AI and the model gains a search tool it can call. Without a key it simply answers without searching.
Custom LLM Same as DeepSeek — web search via a Tavily key, since self-hosted and OpenAI-compatible chat servers ship no search of their own.

Why the mechanisms differ: each model ships different capabilities. OpenAI, Gemini and Claude carry their own search; DeepSeek and self-hosted models do not, so the module supplies one via Tavily. Any per-model behavior above (such as Gemini's tools-vs-search limit) comes from the model provider's own API, not from this module — the module simply exposes one consistent toggle and routes each model to the best available option.


Requirements

  • Odoo 19 Enterprise — depends on the ai_app module.
  • At least one API key for any of the three providers, or a reachable self-hosted endpoint.
  • For Knowledge Sources: an additional OpenAI or Google API key for embedding (only needed when using Claude, DeepSeek, or a Custom LLM as the chat model).
  • For web search on DeepSeek / self-hosted: an optional Tavily API key (OpenAI, Gemini and Claude search natively without one).
  • Network egress from the Odoo server to api.anthropic.com, api.deepseek.com, api.tavily.com, or your self-hosted server.

License & support

Released under the GNU Lesser General Public License v3 (LGPL-3.0-or-later). The full license text is included in the LICENSE file shipped with the module.

Maintained by SuiteState. For questions, bug reports, or feature requests, visit suitestate.com or contact hello@suitestate.com.

Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • AI (ai_app)
• Discuss (mail)
Lines of code 968
Technical Name suite_ai_provider_pool
LicenseLGPL-3
Websitehttps://suitestate.com

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with