AI Connector for Odoo | Claude, ChatGPT, Gemini & Grok | AI Agent & Native AI Chat — No MCP Server | Use Your Subscription, No API Key
by Roshan https://github.com/roshank8s/$ 19.74
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
Discuss (mail)
|
| Lines of code | 5498 |
| Technical Name |
open_ai_connector |
| License | OPL-1 |
| Website | https://github.com/roshank8s/ |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
Discuss (mail)
|
| Lines of code | 5498 |
| Technical Name |
open_ai_connector |
| License | OPL-1 |
| Website | https://github.com/roshank8s/ |
AI Connector for Odoo
Connect Odoo to ChatGPT, Claude, Grok, Gemini and 30+ AI / LLM providers — using the subscription you already pay for instead of per-token API fees. Call any model from one Python method or an OpenAI-compatible HTTP gateway.
Stop hard-wiring a single vendor into Odoo
AI Connector gives you a declarative catalog of AI providers, secure per-account credentials, and one chat method that normalises requests and responses across OpenAI-compatible, Anthropic, AWS Bedrock and OpenAI Responses (Codex) backends. Configure once — then call OpenAI, Claude, Gemini, Grok, DeepSeek, OpenRouter, Bedrock and more with the same code.
Use the AI subscriptions you already pay for
Already on ChatGPT Plus/Pro, Claude Pro/Max, SuperGrok, Gemini or Qwen? Sign in once with secure OAuth and call those models straight from Odoo — billed to your flat monthly plan, not metered per-million-token API pricing. For heavy or scaling usage this can cut your AI spend by hundreds or thousands of dollars a month.
|
Typical connectors — pay-per-token API keys
Your bill grows with every request
× Charged per million input + output tokens
× Costs spike with long prompts, RAG & tool loops
× Hard to predict — a busy month is a scary invoice
× You pay again even though you own a subscription
|
AI Connector — your existing subscription
A flat monthly price you already pay
✓ Sign in with ChatGPT, Claude, Grok, Gemini or Qwen via OAuth
✓ Usage runs on your plan — no extra per-token cost
✓ Predictable, fixed monthly spend
✓ Stop paying twice for AI you already have
|
ChatGPT (Codex)Plus / Pro / Team via OAuth |
Claudeclaude.ai Pro / Max via OAuth |
xAI GrokSuperGrok / Premium+ via OAuth |
Google GeminiGemini CLI OAuth login |
Qwen PortalQwen subscription via OAuth |
MiniMaxOAuth subscription login |
Prefer classic API keys or AWS? They work too — mix subscription logins and pay-as-you-go keys across providers in the same connector.
|
Catalog
30+ Provider CatalogA ready-to-use registry of providers — base URLs, auth type, protocol and per-model quirks already filled in for you. |
Save Money
Use Your Subscription — Save BigSign in with your ChatGPT, Claude, Grok or Gemini plan via OAuth and pay no per-token API fees. Prefer keys? Paste API or AWS credentials too. |
One-Line API
One Python Method
|
|
Gateway
OpenAI-Compatible GatewayPoint any OpenAI SDK, LangChain, n8n or external app at |
No-Code
Built-in PlaygroundPick a provider, account and model, send a prompt and see the response plus token usage — no code, right inside Odoo. |
Auditing
Usage & Cost LoggingEvery call is logged with prompt/completion/total tokens, latency, status and user — ready for auditing and chargeback. |
30+ providers, ready out of the box
Browse a complete, pre-seeded catalog covering all four major wire protocols. Each provider already knows its API mode, auth type, base URL and capabilities — you just add a credential.
Sign in once — keys optional
Add an account for any provider. Launch a one-click OAuth flow to use a subscription you already own, paste an API key, or drop in AWS keys. Test the connection and fetch the live model list with a button.
Try any model without writing code
The built-in Playground lets anyone in the AI User group send a prompt to any configured provider and account, tune temperature and max tokens, and read back the response with exact token usage.
Connect any app — OpenAI-compatible
Flip one switch to expose an OpenAI-compatible endpoint. Point LangChain, the OpenAI SDK, n8n or your own scripts at Odoo, authenticate with a normal Odoo API key, and route to any provider with a provider/model prefix.
POST /ai/v1/chat/completions & GET /ai/v1/models
Includes AI Connector Bridge Free
Buy AI Connector and get the AI Connector Bridge add-on at no extra cost. It makes Odoo 19's own built-in AI run on the providers and credentials you configured here — no vendor lock-in, no re-coding.
Power Odoo's built-in AI with any provider
Odoo 19 ships AI Agents, AI fields and AI server actions wired to a fixed backend. The Bridge re-routes that single LLM seam through this connector — so your Agents and AI features run on Claude, Grok, Codex, DeepSeek, OpenRouter or any provider you like, on your own keys or subscription.
Worry-free AI chat inside Odoo — no per-token meter
Pair the bundled Bridge with an OAuth subscription (ChatGPT, Claude, Grok, Gemini…) and Odoo's native AI chat, Agents and AI fields all run on your flat monthly plan. Chat and automate as much as your team needs — practically unlimited usage, no surprise per-million-token bills.
Know your models and your spend
Model CatalogFetched live from each provider or seeded from defaults — grouped by provider, with chat vs. image models, tool-calling and vision capability flags.
|
Usage LogsEvery request across every provider, with prompt/completion/total tokens, duration and status — column totals included for instant reporting.
|
Talk to any model in one line
The same call works for OpenAI, Claude, Gemini, Grok, Bedrock and every other configured provider — switch models by changing a string.
res = self.env['ai.connector'].chat(
'openai-codex', # provider code (or an ai.provider record)
'gpt-5.5',
messages=[{'role':'user', 'content':'Summarise this lead in one line.'}],
tools=my_tools, stream=False,
)
# -> {'content': ..., 'tool_calls': [...], 'finish_reason': ..., 'usage': {...}}
A provider for every need
| OpenAI Codex | Anthropic Claude | Google Gemini | xAI Grok |
| AWS Bedrock | DeepSeek | OpenRouter | Qwen / Alibaba |
| Z.AI (GLM) | NVIDIA NIM | Kimi / Moonshot | MiniMax |
| HuggingFace | NovitaAI | GitHub Copilot | Azure Foundry |
…and more — 30+ providers seeded, including OAuth subscription portals for Claude, Gemini CLI, Qwen and SuperGrok.
The connector ecosystem
AI Connector Bridge FreeBundled free with this app. Routes Odoo 19's native AI (Agents, AI fields, AI server actions) through this connector — so Odoo's built-in AI runs on whatever providers and credentials you configured here. |
AI Image Studio PAID ADD-ONGenerate, replace and remix images on products, contacts/avatars and any image field — powered by the same providers and accounts you set up in the connector. Sold separately as a paid app (requires this AI Connector). |
Odoo AI, Claude, ChatGPT & MCP — your questions
Do I need an MCP server to use AI in Odoo?
No. With the bundled AI Connector Bridge, Odoo 19's native AI — AI Agents, AI fields and AI chat — runs directly through this connector. It's a simpler alternative to standing up an Odoo MCP server / Model Context Protocol endpoint just to connect Claude, ChatGPT or other AI assistants to Odoo.
Which AI models and providers are supported?
Claude (Anthropic), ChatGPT / OpenAI, Google Gemini, xAI Grok, DeepSeek, OpenRouter, AWS Bedrock, Qwen, Mistral and 30+ AI / LLM providers — across OpenAI-compatible, Anthropic Messages, AWS Bedrock and OpenAI Responses (Codex) protocols.
Can I use my existing ChatGPT / Claude / Grok subscription instead of an API key?
Yes. Sign in via OAuth with ChatGPT Plus/Pro, Claude Pro/Max, SuperGrok, Gemini or Qwen and run Odoo AI on your flat monthly subscription — no per-token API fees. Classic API keys and AWS also work.
Does it work with Odoo 19 AI Agents and AI fields?
Yes — the free Bridge routes Odoo's built-in AI Agents, AI fields and AI server actions through your configured provider, reusing Odoo's own tool-call loop and RAG so everything keeps working.
Can external AI assistants or agents connect to Odoo through it?
Yes. The OpenAI-compatible HTTP gateway (/ai/v1/chat/completions) lets the OpenAI SDK, LangChain, n8n or any AI agent talk to your models through Odoo using a standard Odoo API key.
Does it support tool / function calling, streaming and vision?
Yes — tool / function calling, streaming (SSE) and vision are supported across compatible providers, with per-call token-usage logging.
Your keys or your subscription. Every model. One connector.
Install AI Connector, sign in with a plan you already pay for (or paste an API key), and start calling any large language model from Odoo — through Python, the Playground or the OpenAI-compatible gateway, without per-token surprises.
Roshan · github.com/roshank8s
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