Monkeys Commerce Apex
This module provides AI-powered automation for e-commerce sites, including generating SEO content, offering smart product recommendations, detecting fraud, and redacting personal data. It allows you to integrate with various AI providers, such as OpenAI, Google Gemini, and Anthropic Claude, or create your own.
MonkeysCommerce: Apex AI
AI-powered commerce automation for MonkeysCommerce. Integrates with MonkeysLegion Apex to provide smart product recommendations, automated SEO metadata generation, fraud scoring, and PII redaction — all via a pluggable AI provider system.
AI Provider Plugin System
AI providers are annotation-based Drupal plugins implementing CommerceAIProviderInterface. The shipped ApexProvider uses MonkeysLegion Apex to proxy requests to OpenAI, Google Gemini, Anthropic Claude, and other LLMs. Create custom providers for internal models or alternative APIs.
Services
Service ID Descriptionmkc_apex.recommendations
"Frequently bought together" and "similar items" powered by vector embeddings
mkc_apex.product_enrichment
Auto-generates SEO titles, descriptions, and tags from product data using LLMs
mkc_apex.fraud_scoring
AI-driven risk assessment of customer behavior, device fingerprints, and checkout patterns
mkc_apex.pii_redaction
Strips personal data (names, emails, addresses) before sending context to external AI APIs
plugin.manager.commerce_ai_provider
Discovers and manages AI provider plugins
Admin Pages
/admin/commerce/apex/settings— Select AI provider, configure API keys, enable/disable features
Queue Workers
- EnrichmentQueueWorker — Batch-processes product enrichment jobs asynchronously via cron
Blocks
- RecommendationsBlock — Renders AI-powered "You might also like" product carousels
Features
- Automated SEO Content: Generate high-converting product descriptions, meta titles, and tag suggestions from raw product data.
- Smart Recommendations: Vector similarity-based product recommendations that improve with order data.
- Fraud Detection: Score orders for risk using device fingerprints, IP geolocation, and behavioral signals.
- Privacy-First: PII is automatically redacted before any data leaves your server for AI processing.
- Multi-Provider: Switch between OpenAI, Google, Anthropic, or any custom provider without changing your code.
Installation
composer require drupal/mkc_apex drush en mkc_apex -y
Requirements
- Drupal 11.3+ or 12, PHP 8.4+
- MonkeysCommerce
monkeyscloud/monkeyslegion-apex^1.1
Built with ❤️ by MonkeysCloud — empowering next-generation digital experiences.