Drupal is a registered trademark of Dries Buytaert
Release: Modeler API 1.1.5 Minor update available for module modeler_api (1.1.5). Release: Save & Edit 2.2.0 Minor update available for module save_edit (2.2.0). Release: Entity 2 Text 1.3.3 Minor update available for module entity_to_text (1.3.3). Release: Scheduler Date / Time Clear 1.0.0 Initial release available for module scheduler_clear (1.0.0)! Release: Attach Inline 8.x-1.9 Minor update available for module attachinline (8.x-1.9). Release: Scolta 1.4.0 Minor update available for module scolta (1.4.0). Release: Breadcrumb custom 1.0.0 Initial release available for module breadcrumb_custom (1.0.0)! Release: Configuration Language Lock 1.0.1 Minor update available for module config_language_lock (1.0.1). Module Revived: Comment Notify 8.x-1.6 Module comment_notify updated after 10 months of inactivity (8.x-1.6). Usage Milestone: OpenTelemetry Module opentelemetry crossed 1,000 active installs.

This module allows Drupal to use AI command-line interface (CLI) tools installed on your local machine as AI providers. It integrates these CLI tools so they can be used directly by Drupal's AI features without needing custom API integrations, making local AI models and other CLI-based AI services easily accessible.

Bridges the growing ecosystem of AI CLI tools with Drupal's AI module, letting you use locally installed binaries as first-class AI providers — no custom API integrations required.

Instead of calling remote APIs directly, this module pipes prompts to CLI tools installed on your host machine and returns their output as standard Drupal AI responses. This makes any tool that accepts stdin and writes to stdout immediately available to AI-powered Drupal features like content generation, summarisation, and assistants.

Supported tools out of the box

  • Claude Code (Anthropic)
  • Codex (OpenAI)
  • Gemini CLI (Google) — free tier, 1,000 requests/day
  • OpenCode — open source, 75+ provider support
  • Ollama — run open models locally, no API key needed
  • LM Studio — local models via the lms CLI
  • llm (Simon Willison) — proxies to 100+ backends including DeepSeek, Groq, Mistral, and Anthropic via plugins

Custom tools can be added through the settings form — any binary that reads from stdin and writes to stdout works.

DDEV container support

For DDEV environments where CLI tools live on the host machine rather than inside the container, install the ddev-cli-relay addon. Once installed, it starts automatically on ddev start and forwards requests from inside the container to the host binaries.

Requirements

Requires the AI module and Python 3 on the host (for the DDEV relay). CLI tools must be installed separately.

Activity

Tracked releases
1
Tracked since
Apr 2026
Latest release
4 months ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Active

Releases

Version Type Release date
1.0.x-dev Dev Apr 11, 2026