Grok (xAI) for Odoo
Add the xAI / Grok provider to Artificial Intelligence for Odoo.
This is an add-on for the acs_ai
base module: it plugs Grok into the same secure, user-aware AI layer with no change to
logic or flow - the AI reads, searches, creates and updates your data strictly within each
user's own access rights. xAI exposes an OpenAI-compatible API, so the OpenAI SDK is reused
pointed at the xAI endpoint.
Requires acs_ai
Install the base AI module first, then add Grok.
⭐ What This Module Adds
Everything needed to run Grok inside the acs_ai framework.
Grok Provider
Adds the "Grok (xAI)" provider type on AI Models and Model Versions, discovered automatically by the base dispatch.
Function Calling & Vision
Full tool/function calling and image input (jpg/png), plus streaming responses - all permission-checked per call by the base layer.
Reasoning Effort
Per-brain Reasoning Effort control (none/low/medium/high/xhigh) for Grok's reasoning models, with automatic fallback when a model rejects the chosen level.
API Key & Base URL
Grok API key under Settings → AI Studio, plus an optional custom Base URL on each model (defaults to api.x.ai/v1).
Ready-Made Brains & Agents
Pre-configured brains for Grok 4.6, 4.5, 4.3 and Build 0.1, plus the Grok Assistant and Data Analyst agents.
Same Security Model
Every Grok action runs as the real user - Odoo record rules, ACL and field groups always apply. No data leaks.
⚡ Supported Grok Models
Bring your own xAI API key and pick the model that fits your workflow.
Grok 4.6
xAI's most capable model. Reasoning up to X-High, agentic tool calling, coding and image input. 500k context.
Grok 4.5
Previous-generation flagship. Configurable reasoning (low/medium/high), text and image input. 500k context.
Grok 4.3
Cost-efficient general-purpose flagship. Reasoning none/low/medium/high, 1M-token context - the default for most workloads.
Grok Build 0.1
Coding-focused fast model for latency-sensitive dev and agentic-tool work. 256k-token context.
✅ Requirements
Minimum prerequisites to install and run this add-on.
Base Module
Requires acs_ai (Artificial Intelligence for Odoo) 19.0.
Python Package
pip install openai
(Grok uses the OpenAI SDK)
API Key
A valid Grok API key from console.x.ai.
Configuration & Customization
Get started quickly with preconfigured healthcare workflows and an intuitive user experience. The system can be easily adapted to match your organization's requirements, and our team is available to help with customizations, integrations, and advanced implementations.