Clusterify.AI
© 2025 All Rights Reserved, Clusterify Solutions FZCO
I Designed a 3 Layer Magento 2 AI Framework Open Source
I’m Calling All Magento 2 Developers and Vendors to Add SKILL.md File Their Module
How Dockerized Magento 2 Can Access Local AI and Ollama
ChatBot As A Service: Why I choose SEE over WebSocket?
Markdown vs. React for an AI ChatBot widget?
cXML 1.2 What Is New, Security And Other Changes in 2026

I designed a three level framework for Magento 2 to allow any developers to implement AI based functionality. It allows you to add any AI Providers like ChatGPT, Gemini etc… and allows you to add Functionality without knowing what AI provider will be used under the hood.
I will open-source is soon but already happy to discuss about it. The key pont is this is a FRAMEWORK. You can write your own module if you are a developer or digital agency, top on the framework. You can have own AI Providers, Functions and so on. It’s yours.
The framework is as a three-level architecture:
It does not use any 3rd party extension or solution which is important to keep it independent.
Inside AiCore, createed an internal orchestration service for the flow:
Flow:
Name: ClusterifyAI_AiCore
This module contains only the stable fundamentals:
If you are familiar with Laravel, then this is kind of the SDK.
Separate provider integrations into their own Magento modules:
later: Gemini, xAI, Groq, etc or any provider even local ones, it’s up to you.
Custom provider approach: the framework knows how to discover and use providers, but each provider is installed separately and implements only the capabilities it supports. Also trying to avoid “monolit” design and keep it updateable etc….
Keep business use cases out of the core:
These modules should define task/use-case classes that encapsulate prompts, context gathering, schema expectations, and response mapping.
The AiCore module now treats failover as a native concept, including arrays of providers/models.
In Magento, each feature can be configurable:
For example:
Because chat is one of my goals, later I can create these database tables to ensure the conversations are safed and can be distributed as information.
clusterify_ai_conversationclusterify_ai_messageclusterify_ai_request_logFake providers matter. For testing purposes we have fake providers.
FakeTextProviderFakeStreamTextProviderAlso this way third-party providers can prove compatibility with the framework.
Update is coming in a few days and code will be released for review and discussions very soon.
If you have quiestion or need a hand then please message me.
Happy coding,