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
    • Approvals
    • 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
    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 v 19.0
  4. Sales Conditions FAQ

AI Provider

by Technology Pill Business Solution https://tecpill.com
Odoo

$ 98.39

v 19.0 Third Party
This module requires Odoo Enterprise Edition.
Apps purchases are linked to your Odoo account, please sign in or sign up first.
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • AI (ai_app)
• Discuss (mail)
Lines of code 2042
Technical Name ai_provider
LicenseOPL-1
Websitehttps://tecpill.com
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • AI (ai_app)
• Discuss (mail)
Lines of code 2042
Technical Name ai_provider
LicenseOPL-1
Websitehttps://tecpill.com
  • Description
  • License
AI Provider Banner
Technology Pill Business Solution Logo

AI Provider (BYOM)

Manage AI providers, governed models, capabilities, and health checks in Odoo.

🆕 What's New (v19.0.1.3.0)

  • Rate-limit retry with configurable cap — automatic back-off on 429 responses.
  • Max Tools Per Request — throttle payload size to avoid TPM limits.
  • Automatic type coercion for tool arguments (string → int / array / bool).
  • Selection-label coercion — models can send "high" and the right key is stored.
  • __end_message stripping — prevents silent loop termination on small models.
  • Parallel duplicate tool-call deduplication.

Key Features

🔌 Multi-Provider Support

  • ✓ OpenAI (GPT-4o, GPT-4, GPT-3.5, …)
  • ✓ Google Gemini (via Generative AI API)
  • ✓ Azure OpenAI (deployment-based)
  • ✓ Any OpenAI-compatible endpoint (Groq, Together, Ollama, …)
  • ✓ Switch providers without touching agent configuration

🗂️ Governed Model Registry

  • ✓ Register models per provider with explicit capability flags
  • ✓ Capability flags: Chat · Embeddings · Transcription
  • ✓ Bind AI agents to a specific registered model
  • ✓ Deterministic runtime model resolution — no guessing
  • ✓ Clear failure behavior for unsupported capabilities

🛡️ Resilience & Rate Limiting

  • ✓ Automatic retry on 429 — respects Retry-After / x-ratelimit-reset-tokens
  • ✓ Configurable wait cap — instant UserError instead of long freeze
  • ✓ Max Tools Per Request field to limit payload size per provider
  • ✓ Parallel duplicate tool-call deduplication
  • ✓ Health check logging per provider

🔧 Smart Tool Argument Handling

  • ✓ Auto-coerces string → integer for numeric fields (team_id, user_id, …)
  • ✓ Auto-coerces string → array for many2many fields (tag_ids, …)
  • ✓ Auto-coerces string → boolean for flag fields
  • ✓ Translates label values to selection keys ("high" → "2" for priority)
  • ✓ __end_message stripping prevents silent loop termination on small models

🔒 Security & Compatibility

  • ✓ Secure credential storage with masked display
  • ✓ Full backward compatibility with Odoo's built-in ai / ai_app modules
  • ✓ Respects existing res.config.settings API keys
  • ✓ Role-based access via dedicated security groups
AI Provider Key Features

Description

Bring Your Own Model (BYOM) adds a governed multi-provider AI layer to Odoo, enabling businesses and Odoo partners to connect, manage, and control AI providers from one unified configuration model.

Instead of relying on hardcoded providers, fixed model names, or scattered runtime logic, this module introduces a structured provider architecture with explicit model governance, capability mapping, connection testing, health visibility, and secure credential handling.

BYOM is designed for teams that want flexibility, maintainability, and stronger operational control when integrating AI into Odoo.

🎯 Why This Module

Many AI integrations are tightly coupled to one provider or depend on hardcoded runtime behavior. This makes long-term maintenance difficult and limits deployment flexibility.

BYOM solves that by introducing a clean provider abstraction layer inside Odoo, making it easier to:

  • Connect different AI backends
  • Manage multiple providers side by side
  • Bind agents to explicitly configured models
  • Reduce operational risk
  • Prepare Odoo for enterprise AI governance

✅ Key Capabilities

  • Configure multiple AI providers in a single Odoo database
  • Manage governed model registries per provider
  • Map capabilities explicitly for chat, embeddings, and transcription
  • Resolve models deterministically to the correct provider
  • Store API credentials securely with masking
  • Test provider connections directly from Odoo
  • Persist provider health status for better visibility
  • Improve resilience with retry handling for rate limits
  • Support OpenAI-compatible endpoints through a governed architecture
  • Preserve compatibility with existing Odoo AI flows

🏢 Ideal Use Cases

  • Odoo partners building AI-enabled customer solutions
  • Companies using private or self-hosted AI endpoints
  • Teams adopting multi-provider AI strategies
  • Deployments requiring governed model selection
  • Organizations that need maintainable and extensible AI integration inside Odoo

💼 Business Value

BYOM helps organizations move from experimental AI configuration to a more governed and production-ready operating model inside Odoo. It gives teams more control over provider configuration, model ownership, operational reliability, maintainability, and future AI expansion.

🔷 What Makes It Different

This module is not just a simple API connector. It introduces a governed provider layer for Odoo AI with clear separation between provider identity, runtime protocol behavior, configured model registries, and supported capabilities. That makes it more suitable for real business deployments where flexibility and control matter.

AI Provider Form

Installation Notes

📦 Requirements

  • ✓ Odoo 19.0 Community or Enterprise
  • ✓ Depends on ai and ai_app modules
  • ✓ No extra Python packages required (uses urllib / requests already bundled)
  • ✓ One-click installation — migrations run automatically

ℹ️ First-time setup:

  • Go to Settings → AI → Providers and create your first provider.
  • Add at least one model to the provider's model registry.
  • Open your AI Agent and bind it to the registered model.
  • Click Test Connection to verify credentials before going live.

✅ Rate-Limit Protection:

  • Set Max Tools Per Request on the provider (e.g., 5) to reduce payload size.
  • The module retries automatically on 429 — wait time is parsed from response headers.
  • If wait exceeds the built-in cap (30 s), a friendly error is shown instead of freezing.

Usage Guide

1 — Enable Custom Providers

  1. Go to Settings → AI.
  2. Under Additional Providers, check Enable Custom AI Providers.
  3. Optionally enable Enable Provider Fallback for automatic failover.
  4. Click Manage Providers to open the providers list.
Settings — AI Providers section

2 — Create a Provider

  1. In AI → Configuration → Providers, click New.
  2. Enter a Provider Name and choose the Provider Type.
  3. Enter your API Key and API Endpoint (e.g., https://api.groq.com/openai/v1).
  4. Click Test Connection — the status bar shows Healthy on success.
Provider form — Models tab

3 — Configure Advanced Settings

  1. Open the Advanced tab inside the provider form.
  2. Set Max Tools per Request (e.g., 5) to prevent TPM overload on small-quota plans.
  3. Adjust Timeout and Max Retries as needed.
  4. Enable OpenAI-Compatible API if using a non-native compatible endpoint.
Provider Advanced tab

4 — Register Models

  1. Go to AI → Configuration → Models or use the Models tab inside the provider.
  2. Add a model — enter the exact Model Name (e.g., llama-3.1-8b-instant) and a Display Name.
  3. Set capability flags: Chat, Embeddings, Transcription.
  4. Check Default for Chat if this is the primary model for the provider.
AI Provider Models list AI Provider Model form — capabilities

5 — Bind an AI Agent

  1. Open AI → Agents and select your agent (e.g., Livechat Groq).
  2. In the Provider Model field, select the registered model.
  3. The agent now routes all LLM calls through the configured provider automatically.
AI Agents list

6 — Monitor Health

  • The Providers list shows live Health Status (Healthy / Unhealthy / Never Tested) per provider.
  • Open a provider and click the Health History tab for timestamped logs.
  • Connection errors surface as clear Odoo notifications — no silent failures.
AI Providers list with health status

Architecture Overview

Model Hierarchy

  • ai.provider — stores credentials, type, base URL, and health status
  • ai.provider.model — registered model per provider with capability flags
  • ai.agent — extended to hold a provider_model_id pointer
  • ai.provider.health.log — timestamped health-check results per provider
  • ByomApiService — service layer that routes calls to the correct backend

Support

For support and assistance, contact us at admin@tecpill.com

Credits

Authors: Sayed Ameen Moosa
Sayed Mohamed Ebrahim
Technology Pill Business Solution
Technology Pill Footer
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

  • 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 or have a question related to your purchase, please use the support page.
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