Skip to content

Odoo AI Cloudflare Gateway

Adds Cloudflare Workers AI as a MuK AI provider in Odoo 18, optionally routed through a named Cloudflare AI Gateway for usage tracking.

OdooExperimentalAGPL-3.0-or-later
View on GitHub (opens in a new tab)
Platform

Odoo

License
AGPL-3.0-or-later
Status
Experimental

MuK AI brings AI assistants into Odoo, but its OpenAI adapter speaks only OpenAI's newer Responses API, which Cloudflare doesn't implement. This module, muk_ai_cloudflare_gateway, adds a dedicated Cloudflare Workers AI provider so you can run open models on your own Cloudflare account and see usage under a named AI Gateway. It's for Odoo teams that already use Cloudflare and want AI features without another vendor account.

Features

  • A native provider. Implements Chat Completions request, response, and streaming shapes directly, tool calling included.

  • Less to type. Enter your Cloudflare account ID and API token; the endpoint URL is built for you.

  • AI Gateway routing. Set a Gateway ID and requests are routed through that gateway for usage tracking, with no URL change.

  • Fetch Models. Imports the chat and image models available to your account. When the gateway limits Workers AI to certain models, only those are imported.

  • Running Fetch Models again updates existing entries instead of duplicating them.

Cloudflare's model API doesn't return pricing, so imported models start at zero cost. Enter real rates before relying on MuK AI's cost tracking.

Getting started

Install muk_ai_cloudflare_gateway from the avunu-odoo-addons repository alongside MuK AI, then create a provider under MuK AI's configuration. The module README in the repository lists each field.

Related projects

All open-source projects

Avunu's Odoo 18 Community modules for email and SMS, document import, AI providers, and the backend and shop-floor UI, built to work alongside OCA.

AGPL-3.0-or-later · LGPL-3.0-or-laterGitHub

Odoo 18 modules that turn vendor emails, PDFs, and printed documents into Odoo records, with templates, structured extraction, previews, and routing.

AGPL-3.0-or-laterGitHub

Odoo 18 modules that send and receive email through Cloudflare and run two-way Twilio SMS and MMS conversations inside Discuss.

AGPL-3.0-or-laterGitHub

Need help with it?

Need this implemented? Our Odoo implementation team can connect AI features to your workflows.