mage-os-lab

Module AI Base — AI skill for Claude Code

AI community

One place in Magento to configure your AI providers, one client every module can use to call them.

How to install Module AI Base

This entry records only its repository, not the path inside it, so there is no exact command to give. Open mage-os-lab/module-ai-base and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Module AI Base does

One place in Magento to configure your AI providers, one client every module can use to call them,

Alternatives in AI

  • Open Multi Agent — TypeScript multi-agent orchestration engine — one runTeam() call from goal to result 5.8k ★
  • Axonhub — ⚡️ Open-source AI Gateway — Use any SDK to call 100+ LLMs 3.2k ★
  • Skills Manage — Desktop app to manage AI coding agent skills across Claude Code, Cursor, Gemini CLI, Codex, and 20+ platforms 2.2k ★

README

Mage-OS AI Base

One place in Magento to configure your AI providers, one client every module can use to call them, and a dashboard that shows what each module spends.

The AI Configuration section: configured services with their provider, model, Test Connection and Refresh Models buttons, above the buttons to add another provider The AI Token Usage dashboard: total tokens for the period, a trend per consumer or per service, and breakdowns by consumer and by service
Stores > Configuration > Mage-OS > AI Configuration Reports > AI Token Usage

What it provides

  • Provider configuration. OpenAI, Anthropic, Google Gemini, Azure OpenAI, DeepSeek, OpenRouter, Hugging Face, Ollama, LM Studio and any OpenAI-compatible gateway. Add a provider more than once, name each row, switch rows off, test the connection and refresh the model list from the form. API keys are encrypted at rest and never shown again.
  • One client for every provider. Chat, streaming, tool calls and reasoning through a single interface. Options like max_tokens and tool_choice are translated per provider, and failures come back as typed exceptions you can retry or skip.
  • Let the admin choose. A ready-made source model for your own system.xml, so a store picks which configured service your feature uses.
  • Usage tracking. Token counts per module, service and store, on a dashboard, a grid and a CLI report. Prompts and responses are never stored.
  • Extensible. Add your own provider with one class and a few lines of di.xml.

Installation

composer require mage-os/module-ai-base
bin/ma