About this project
Liferay AI Commerce Accelerator (AICA) is a production-ready suite of client extensions that uses generative AI to generate and manage commerce data in Liferay DXP. It is designed to rapidly populate catalogs, accounts, and orders, eliminating manual data entry for testing and development.
The accelerator includes a stateful microservice that manages entity dependencies, ensuring data integrity even across server restarts. It supports real-time monitoring through WebSockets, with a dashboard showing progress gauges, statistics, and logs. Generation and deletion are dependency-aware.
A native, zero-dependency CLI named aica allows automation from scripts or CI/CD pipelines. Commands include connect (verify connection and handshake with DXP), generate (seed a demo catalog with specified numbers of products, accounts, and orders), config get/set (manage configuration parameters), export/import (save and restore datasets), and delete --all (wipe generated entities).
The tool is provider-agnostic, supporting OpenAI, Google Gemini, and Anthropic Claude with no code changes. Claude is limited to data generation and cannot produce images; a separate media provider (OpenAI DALL-E or NanoBanana) is required for images. A zero-cost mock AI sandbox is available by setting GEMINI_API_KEY to "mock-sandbox". A pre-flight token safety guardrail estimates token counts locally and blocks requests over 15,000 tokens to prevent quota drain.
AICA provides a user interface inside Liferay DXP for AI data generation, live monitoring and session administration, and system configuration. It also includes a Model Context Protocol (MCP) server for connecting to AI agents. Documentation covers quick start, architecture, features, MCP, JSON web services, and an automation playbook. The project is licensed under MIT.
Comments
0 Rating appears after 10 ratings
Sign in to join the discussion.