MLX LM

This project is not covered by Drupal’s security advisory policy.

This module provides integration with MLX LM as an AI provider for the Drupal AI module.

Features

  • Support for chat operation type
  • Integration with Drupal AI module ecosystem

Post-Installation

After enabling the module:

  1. Navigate to AI Providers configuration: Administration > Configuration > AI > Providers (/admin/config/ai/providers)
  2. Click on "MLX LM" to access the provider configuration page (/admin/config/ai/providers/mlx_lm)
  3. Configure your MLX LM endpoint:

    API Endpoint: Enter your MLX LM server URL (e.g., http://localhost:8080)

    Models will be automatically discovered from the API

  4. Set MLX LM as default for supported operations
  5. Test the configuration by using AI features in your site

Similar projects

  • ai_provider_openai - OpenAI API integration
  • ai_provider_anthropic - Anthropic Claude integration
  • ai_provider_ollama - Ollama local LLM integration
Supporting organizations: 
Main development

Project information

Releases