Download the PHP package mage2kishan/magento2-claude-ai without Composer

On this page you can find all versions of the php package mage2kishan/magento2-claude-ai. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package magento2-claude-ai

Magento 2 Automation with Claude AI — Run Your Store in Plain English | Panth Infotech

Magento 2.4.4 - 2.4.8 PHP 8.1 - 8.4 Hyvä + Luma Claude Opus 4.7 Prompt Cache Packagist GitHub Upwork Top Rated Plus Panth Infotech Agency Website Get a Quote

Stop clicking through 12 admin screens. Just ask. "Make every t-shirt $24.99" · "Disable products with no stock" · "Show me the 10 most recent orders" · "Create a Summer Sale CMS block" · "Reindex the catalog price index and flush the FPC" · "undo". Your AI store manager, sitting inside the Magento admin — built on Anthropic's Claude Opus 4.7 with prompt caching, adaptive thinking, manual tool-use loop, dry-run safety, and one-click undo on every bulk write.

Magento 2 Automation with Claude AI turns the admin into a conversational interface. The AI understands your catalog, customers, orders, CMS, configuration, and inventory — and runs the right operation at the right scope. Every destructive write snapshots the before-state into a checkpoint so a single click (or the word "undo") reverses it. New installs ship in dry-run mode by default — the AI shows what it would change without touching the database, perfect for evaluation.


▶ Watch the 71-second demo

Want the original 1080p MP4 with sound-stripped, branded encode for LinkedIn / Twitter / Facebook? Grab Claude-AI-Magento-2-Demo-Marketing.mp4 from the GitHub Releases page.


🚀 Need Custom Magento 2 + AI Development?

Get a free quote for your project in 24 hours — Claude / OpenAI / Gemini integrations, custom Magento modules, Hyvä themes, performance optimization, M1 → M2 migrations, and Adobe Commerce Cloud.

Get a Free Quote

### 🏆 Kishan Savaliya **Top Rated Plus on Upwork** [![Hire on Upwork](https://img.shields.io/badge/Hire%20on%20Upwork-Top%20Rated%20Plus-14a800?style=for-the-badge&logo=upwork&logoColor=white)](https://www.upwork.com/freelancers/~016dd1767321100e21) 100% Job Success • 10+ Years Magento Experience Adobe Certified • Hyvä Specialist • AI Integrations ### 🏢 Panth Infotech Agency **Magento + AI Development Team** [![Visit Agency](https://img.shields.io/badge/Visit%20Agency-Panth%20Infotech-14a800?style=for-the-badge&logo=upwork&logoColor=white)](https://www.upwork.com/agencies/1881421506131960778/) Custom Modules • AI Tooling • Theme Design Migrations • Performance • Adobe Commerce Cloud

Visit our website: kishansavaliya.com  |  Get a quote: kishansavaliya.com/get-quote


Table of Contents


Why this changes how you run your store

The Magento admin was built for one persona: the trained merchandiser who knows where every grid lives. Real merchants don't fit that mould. They have ten things to do today and zero patience for "Catalog → Products → Filter SKU contains 'tee' → Mass Action → Update Attributes → Status → Disabled → Submit → Reindex → Flush Cache".

Claude AI Automation collapses that entire flow into a sentence. The same person who'd struggle to find the special-price field can now type "Mark every t-shirt down to $19.99 until Monday" and the AI:

  1. Resolves "every t-shirt" into a catalog query against your live database
  2. Previews the change (count + sample names) and asks for confirmation when it crosses your threshold
  3. Snapshots before-state into a checkpoint
  4. Runs the bulk update through Magento's official ProductRepository
  5. Reindexes prices and flushes the right cache types
  6. Replies in plain English with the exact count and an undo link

If anything's wrong, "undo" reverts it in one round-trip.

This is not a wrapper around the REST API. It's a manual tool-use loop that runs Magento's own service contracts, so every change is auditable, hookable, and indistinguishable from what a human admin would have done by hand.


Screenshots

Admin sidebar — one menu, seven workflows

AI Dashboard — KPIs, quick actions, recent activity

Ask Claude — the chat surface

Empty state Live conversation Category tree response Product creation with checkpoint

How to Use — 6-step plain-English onboarding

Training Examples — teach Claude your store's conventions

Examples grid Edit form

Conversations — full transcript history

Conversations grid Single conversation transcript

Activity Log — every prompt, tool call, and reply

Checkpoints & Restore — one-click undo

Dashboard widget — Store Assistant on the admin landing page

Configuration — 6 groups, 25+ options

API Credentials + General Safety
Tool Capabilities (per-tool toggles) Logging & Retention + Credits

Highlights

🧠 Plain-English chat No SKU patterns, no JSON. The AI translates "all t-shirts in Sale category" → catalog query for you.
🛠️ 19 tools, full Magento depth Products, inventory, prices, statuses, categories, CMS pages, CMS blocks, customers, orders, store config, store logo, modules, raw read-only SQL — every common admin task has a tool.
Undo everything Every bulk write snapshots before-state into a checkpoint. One-click rollback in admin or just say "undo".
🛡️ Dry-run by default New installs ship in safe mode — the AI shows what it WOULD change without touching data. Toggle off when ready.
Confirmation gate When a write affects more than your threshold (default 5 items), the AI must preview + wait for an explicit "yes" / "go ahead".
🎓 Train your AI Add few-shot examples (your store's slang, conventions, refusal patterns) → Claude follows your patterns, not its defaults.
🛒 Storefront widget Read-only Ask AI shop assistant for shoppers. Drop into any CMS page or layout XML. Per-IP rate-limited.
📁 File uploads Attach images, PDFs, spreadsheets to chat. Hardened (extension + MIME + magic-byte allowlists, .htaccess PHP-execution guard, sanitized filenames, 10 MB cap).
🪵 Activity log + custom logger Every prompt, tool call, and reply persisted with timing + input/output/cache-read token counts. Tail var/log/panth_claudeai.log for ops.
💬 Conversation history Multi-turn threads survive reloads. Switch between chats from the sidebar. View full transcripts (admin + assistant + tool messages) for compliance.
⚙️ 6 config groups, 25+ options Master switch, model selection (Opus 4.7 / Sonnet 4.6 / Haiku 4.5), effort level, dry-run, bulk caps, rate limits, per-tool toggles, retention windows.
💸 Prompt caching built in System prompt + tool catalog + training examples are cached on Anthropic's side — repeat questions cost ~10% of the first one.
💻 CLI commands panth_claudeai:status, panth_claudeai:test-api.
Cron cleanup Nightly prune of old activity rows + expired checkpoints (configurable retention).

What you can ask today

These all work out of the box on a fresh Luma sample-data install. Try them after you set your API key.

Catalog & inventory

Categories & content

Customers & orders

Store ops

Insights

Recovery


Tool Catalog — 19 tools

Each tool can be enabled/disabled individually in admin → Configuration → Tool Capabilities. Disabled tools are removed from the AI's catalog at API call time — the AI literally can't see them, so it can't accidentally call them.

# Tool Scope What it does
1 get_products Read Search by SKU pattern, name, price range, type, status, visibility
2 update_product_price Write Bulk update prices (fixed or percent), with checkpoint
3 update_product_status Write Enable / disable products in bulk, with checkpoint
4 update_inventory Write Set stock qty (absolute or delta) + in-stock flag, with checkpoint
5 manage_products Write Create / update / delete simple, configurable, virtual, downloadable products
6 low_stock Read Find products at/below a threshold
7 manage_categories Write Create / update / delete categories; show tree under any root with depth + product counts
8 manage_cms_pages Write Create / update / delete CMS pages; search-and-replace inside content
9 manage_cms_blocks Write Create / update / delete CMS static blocks
10 customers Read Search customers by email/name, spend totals, order counts, address summaries
11 orders Read Recent orders, by status, by date range, by customer email
12 store_insights Read Customer count, order count by-status, average order value, recent KPIs
13 store_info Read Currency, country, base URL, Magento + module versions
14 get_modules Read Lists installed third-party modules, versions, enabled state
15 database_query Read Read-only SELECT / EXPLAIN. Write SQL is hard-blocked at parser level.
16 cache_reindex Write Flush specific cache types, run specific indexers, list available
17 update_config Write Update core_config_data values (e.g. design / SEO / catalog) — checkpointed
18 set_store_logo Write Upload + apply store logo from chat-attached file — checkpointed
19 restore_checkpoint Write Undo any prior bulk write by checkpoint ID

Read tools are safe to leave on — they don't mutate state. Write tools create a checkpoint before every change, so they're recoverable in one click. Adding a new tool: implement Panth\ClaudeAi\Model\Tool\ToolInterface and add one entry to etc/di.xml. The model receives the new schema on the next request — no restart needed.


How it works

Key design choices


Storefront Shop Assistant widget

A read-only chatbot for your shoppers — answers product / store questions in plain English. The storefront catalog is restricted to get_products + store_info only via a DI virtualType; writes are unreachable from outside admin.

Add via widget tool (Content → Widgets → New) or layout XML:

The same widget renders inside the admin Dashboard — see screenshot above — so you can run quick queries without leaving your home screen.


Compatibility

Requirement Versions Supported
Magento Open Source 2.4.4, 2.4.5, 2.4.6, 2.4.7, 2.4.8
Adobe Commerce 2.4.4, 2.4.5, 2.4.6, 2.4.7, 2.4.8
Adobe Commerce Cloud 2.4.4 — 2.4.8
PHP 8.1.x, 8.2.x, 8.3.x, 8.4.x
MySQL 8.0+
MariaDB 10.4+
Search Engine Elasticsearch 7/8, OpenSearch 1/2
Hyvä Theme 1.3+
Luma Theme Native support
Anthropic API Claude Opus 4.7, Sonnet 4.6, Haiku 4.5

Tested on:


Installation

Composer (recommended)

Then Stores → Configuration → Panth Extensions → Claude AI — Magento Automation and paste your Anthropic API key. Get one at console.anthropic.com — new accounts get $5 free credit which is roughly 5,000 questions for a typical store thanks to prompt caching.

Verify installation

Admin menu — Panth Infotech → Claude AI Automation

The menu surfaces seven pages:


Configuration — 6 groups, 25+ options

Stores → Configuration → Panth Extensions → Claude AI — Magento Automation

Group Settings
1. API Credentials Anthropic API key (encrypted, stored via Magento's Encrypted backend model)
2. General Settings Master switch · Claude model (Opus 4.7 / Sonnet 4.6 / Haiku 4.5) · Effort level (low → max) · Max output tokens per reply (default 15000) · Max tool calls per question (default 8) · API timeout seconds (default 120)
3. Safety Dry Run mode (default ON for new installs) · Max items per bulk action (default 500) · Admin rate limit per hour (default 60) · Require confirmation before writes (default Yes) · Confirmation threshold (default 5 items)
4. Tool Capabilities Per-tool enable / disable for all 19 tools — toggled-off tools vanish from the AI's catalog at API call time
5. Storefront Shop Assistant Enable widget · Per-IP rate limit · Max question length · Welcome text
6. Logging & Retention Activity log on/off · Activity retention days (default 90) · Checkpoint retention days (default 30) · Write to var/log/panth_claudeai.log

All fields are store-scoped where it makes sense (model, effort, dry-run, widget config); auth + retention are global.


Safety, Undo & Dry-Run

This module is built on a defense-in-depth model — even if a single layer fails, the next one catches it.

Layer 1 — Dry-Run mode (default ON)

New installs ship with Dry Run ON. The orchestrator intercepts every write tool, runs the resolution phase (which products match, what would change), and returns a preview to the admin instead of calling the actual write. Output looks like:

Layer 2 — Confirmation gate

When Require Confirmation is on (default), any write affecting more than your threshold (default 5 items) makes the AI stop and ask for explicit "yes" / "go ahead" before proceeding. The conversation looks like:

Layer 3 — Bulk-write hard cap

Every write tool checks Max Items per Bulk Action (default 500) before running. If a query would touch more than the cap, the tool refuses and asks the AI to narrow the scope. This stops "update everything" mishaps even with confirmation off.

Layer 4 — Auto-checkpoint

Even when 1-3 are bypassed (e.g. user explicitly turned everything off for a one-off bulk import), every write tool snapshots the affected rows' before-state into panth_claudeai_checkpoint before mutating. One-click restore from the Checkpoints & Restore grid, or just say "undo" in chat.

Layer 5 — Per-tool master switch

Don't want the AI editing CMS pages? Toggle manage_cms_pages off in Tool Capabilities. The tool is removed from the catalog sent to the API — the AI cannot call it because it doesn't know it exists.

Layer 6 — Read-only storefront catalog

The storefront widget is wired to a separate DI virtualType (Panth\ClaudeAi\Model\ToolRegistry\Storefront) that only registers get_products + store_info. Even if a malicious shopper could craft a tool-use response (they can't — the model picks tools, not the user), there'd be nothing to call.


Training Examples — teach Claude your store

Add few-shot examples in Panth Infotech → Training Examples to teach Claude:

Each example has a Title, Merchant says, Expected outcome, Category, Sort Order, and Status. Active examples are injected as cached system content before every conversation — they never count against your context window after the first request.

The seeded Setup/Patch/Data/SeedTrainingExamples.php ships 11 starter examples covering pricing, inventory, refusal patterns, sales insights, and category/page management.


Conversation History

Every chat is persisted as a conversation — multiple admin turns + assistant turns + tool calls grouped together. The Conversations grid shows:

Column Description
Started / Last activity Conversation lifecycle timestamps
First prompt The initial question (truncated)
Turns Total messages in the conversation
Files Attachment count
Tokens (in/out) Total input + output tokens consumed
Total cost USD cost based on the model used
Surface admin or storefront
Action View → full transcript with all tool calls expanded

Useful for compliance reviews (who changed prices on Tuesday?) and cost reporting (how much did the AI cost us last month?).


Activity Log + Token Accounting

The Activity Log captures every step — every API call, every tool execution, every result — so you can debug why the AI did or didn't do what you expected.

Column Description
When Microsecond-precision timestamp
Actor admin (you) · assistant (Claude) · tool (a tool execution)
Action Tool name (e.g. manage_products) or message
Detail Truncated prompt / result with hover-expand
Affected Row count for write tools
Tokens (in / out) Input + output tokens for API steps
Cost USD cost for API steps
Status success · error · dry-run · cancelled
Conversation Link to the parent conversation

Combined with prompt caching, the Tokens column makes it trivial to see when the AI is hitting the cache vs paying full price. A typical session: first question costs ~5,000 input tokens (system + tools + examples + your prompt); subsequent questions in the same hour cost ~500 input tokens — the system block stays cached.


Storefront / Marketing use cases — Lead generation, SEO, content

Beyond admin automation, the module unlocks high-value front-of-house workflows.

🪝 Lead generation

Drop the Shop Assistant widget on a high-traffic CMS page or category and configure the welcome text to qualify leads:

Every storefront conversation is logged with surface=storefront so you can pipe high-intent transcripts into your CRM via a custom observer on the panth_claudeai_conversation_save_after event.

🔍 SEO / content production at scale

Ask Claude to bulk-generate optimized meta titles and descriptions for any subset of products:

"For every product in the 'Tees' category, generate a 50-60-character meta title that includes the brand and 'Free Shipping', and a 140-160-character meta description that includes the main fabric and one benefit. Save them to the products."

The AI runs get_products → loops with manage_products write tool → snapshots a checkpoint per batch. Roll back with one click if you don't like the tone.

For category SEO:

"Rewrite the meta description for the 'Bottoms' category in a 130-character punchy sentence that mentions free shipping over $99 and our 30-day returns."

For CMS content:

"Open the 'About Us' page, find the section starting with 'Founded in 2018' and rewrite it to a more conversational tone — 3 short paragraphs, max."

📣 Marketing automation

"Create a CMS block called summer-sale-banner with an H2 'Summer Sale — 30% Off Everything' and a CTA button linking to /sale. Style classes: bg-red-600 text-white py-12."

Then drop the block into your homepage layout — done in 8 seconds.

"Show me which categories have the most products but the fewest sales last 30 days — those are candidates for a promo."

The AI runs database_query (read-only) and returns a sorted list. Decide your promo, ask the AI to apply it.

🛡️ Refusal training keeps the AI on-brand

Train your AI to refuse off-brand asks — "never write product copy that mentions competitor brand X", "never offer discounts greater than 25% without admin approval" — by adding refusal-pattern training examples. The AI follows your guardrails in every future conversation.


Security


Performance — Prompt caching cuts 80% of input cost

The module sends the system prompt + tool catalog + active training examples as a single cached block (Anthropic's cache_control: { type: "ephemeral" }). The cache lives 5 minutes between requests; any request within the window pays the cached read price (10% of the regular input cost) instead of the full input cost.

A typical session:

Request Input tokens Cached read Effective cost (Opus 4.7)
Cold start (first ever) 5200 0 $0.078
2nd question, 30 s later 5400 5000 $0.011
3rd question, 90 s later 5600 5200 $0.012
4th, 4 min later (still warm) 5800 5400 $0.012
5th, 6 min later (cache expired) 6000 0 $0.090

Output tokens always pay full price — that's the AI's reasoning + reply.

Net effect: for an admin who asks 10-20 questions in a single sitting, average cost per question is ~$0.01 on Opus 4.7. Switch to Sonnet 4.6 for ~$0.003/question, or Haiku 4.5 for ~$0.0006/question.


CLI Reference


Adding a new tool

Register in etc/di.xml:

bin/magento setup:di:compile && bin/magento cache:flush — done. The model picks up the new schema on its next request.


Architecture

File Purpose
Model/ClaudeClient.php Raw cURL transport against /v1/messages. Sets cache_control on system prompt for Anthropic prompt caching.
Model/Orchestrator.php The tool-use loop. Logs every step. Injects training examples. Honours dry-run + confirmation gates.
Model/ToolRegistry.php Holds registered tools, sorted by name for cache stability. Filters by per-tool config.
Model/ToolRegistry/Admin.php + /Storefront.php DI virtualTypes — admin gets all 19 tools, storefront gets read-only subset.
Model/Tool/*.php Each tool. Implements ToolInterface.
Model/CheckpointService.php Snapshots state before destructive writes; restores on demand.
Model/TrainingRepository.php Reads active examples to inject as cached few-shot context.
Model/Conversation/Repository.php Multi-turn history persistence.
Model/Activity/Logger.php Inserts into panth_claudeai_activity. Defensive — failures don't crash the loop.
Model/Stats.php Computes the dashboard KPIs from the activity table.
Logger/Logger.php + Handler.php Custom logger writing to var/log/panth_claudeai.log.
Block/Adminhtml/* Admin view models.
Block/Widget/ShopAssistant.php Storefront + admin Dashboard widget block.
Controller/Adminhtml/* Admin endpoints (chat send, training CRUD, checkpoint restore, file upload, conversation view).
Controller/Assistant/Ask.php Public storefront endpoint — restricted toolset, rate-limited.
Cron/Cleanup.php Nightly housekeeping — prunes old activity + expired checkpoints.
Console/Command/StatusCommand.php bin/magento panth_claudeai:status.
Console/Command/TestApiCommand.php bin/magento panth_claudeai:test-api.

Database tables:


Marketing assets — video, social posts, email blurb

We ship a branded, social-ready demo video at docs/marketing/ (and on the GitHub Releases page) — 119-second 1280x720 H.264 with overlay branding, fade in/out, no audio. Drop it straight into LinkedIn / Twitter / Facebook / your homepage.

Suggested LinkedIn caption (copy-paste, edit to taste):

Just shipped: Magento 2 admin you can run in plain English.

No more clicking through 12 screens to bulk-update prices, disable out-of-stock products, or generate SEO meta. Just type what you want — Claude AI handles the rest, with one-click undo on every change.

19 tools · prompt caching · dry-run by default · open source under MIT.

Built on @AnthropicAI Claude Opus 4.7. Compatible with Magento 2.4.4 — 2.4.8, Hyvä, and Luma.

Try it: github.com/mage2sk/magento2-claude-ai

magento #ecommerce #ai #claudeai #anthropic #hyva #adobecommerce

Suggested email blurb:

Magento 2 just got an AI store manager. Type "Make every t-shirt $24.99" into the admin and 4 seconds later 42 products are updated, with a one-click undo if you change your mind. 19 tools. Free + open source. Built on Anthropic's Claude.

→ kishansavaliya.com


Uninstall

The five panth_claudeai_* tables are dropped automatically by setup:upgrade once the module is removed (declarative schema). Your activity history, checkpoints, training examples, and conversations are erased — export anything you want to keep first.


Changelog

1.7.6

1.7.0

1.6.0

1.5.0

1.4.0

1.3.0

1.2.0

1.1.0

1.0.0


Troubleshooting

Issue Cause Resolution
"API key invalid" Missing or wrong key Re-paste key from console.anthropic.com, bin/magento cache:flush
Chat returns "Tool not available" Tool toggled off in Configuration → Tool Capabilities Re-enable it and bin/magento cache:flush config
AI previews but never writes Dry Run is ON (default for new installs) Configuration → Safety → Dry Run Mode = No
Bulk update gets capped at 500 Max Items per Bulk Action reached Raise the cap in Configuration → Safety, or narrow the prompt scope
"Confirmation required" loop Require Confirmation is on, threshold reached Reply yes / go ahead to proceed, or lower the threshold for trusted ops
Storefront widget returns 429 Per-IP rate limit hit Configuration → Storefront Shop Assistant → raise rate limit, or wait 1 hour
panth_claudeai.log grows unbounded Logger enabled with no rotation Add var/log/panth_claudeai.log to your logrotate.d config — example provided in docs/logrotate-example.conf
API timeouts on Opus 4.7 Long generations exceed default timeout Configuration → General Settings → API Timeout → raise to 180
"Cache miss" on every request Less than 5 min between requests but cache expired anyway Confirm system prompt isn't being mutated per-request — check Activity Log cache_read_tokens column
File upload rejected as "unsafe MIME" Magic bytes don't match extension This is intentional — try re-saving the file from a known editor

Enable bin/magento deploy:mode:set developer and tail var/log/panth_claudeai.log for diagnostic output.


FAQ

Is this safe to run on a production Magento store?

Yes — that's the whole point of the safety stack. Dry-run is on by default, every write is checkpointed and reversible in one click, bulk writes are hard-capped, and confirmation is required for anything above your threshold. We recommend a 1-week dry-run period on production before flipping the switch.

Which Claude model should I pick?

You can change models in Configuration without restarting; the next request uses the new model.

Will it work with a custom theme / Hyvä / page-builder?

Yes. The admin chat is theme-independent — it lives at panth_claudeai/chat/index. The storefront widget ships both a Luma (Knockout) template and a Hyvä (Alpine.js + Tailwind) template, picked up automatically based on the active frontend theme.

Does it support multi-store / multi-website?

Yes. Tools that write to scoped data (update_config, manage_cms_pages, manage_cms_blocks, set_store_logo) accept a scope + scope_id parameter the AI fills in based on your prompt. "Set the page title suffix for store view es-mx to ' | Acme México'" — works.

Can I prevent the AI from editing prices?

Yes — three ways.

  1. Disable update_product_price in Tool Capabilities.
  2. Disable the entire Panth_ClaudeAi::price ACL resource for the relevant admin role.
  3. Add a refusal training example: "never change prices without explicit confirmation from the admin user".

Does it call out to anything except api.anthropic.com?

No. Single egress endpoint. Auditable in your firewall — allowlist api.anthropic.com:443 and you're done.

How does prompt caching work?

The system prompt + tool catalog + active training examples are sent as a single content block flagged with cache_control: { type: "ephemeral" }. Anthropic stores it server-side for 5 minutes. Any request from the same workspace within that window gets a 90% discount on the cached portion. The Activity Log surfaces cache_read_tokens so you can verify cache hits.

Can I export conversations / activity for compliance?

Yes. The Conversations grid has Export → CSV / XLSX (UI-component grid). Activity Log too. For programmatic export, query the panth_claudeai_activity and panth_claudeai_conversation tables directly — both have created_at indexes.

Does it work with Adobe Commerce Cloud?

Yes — composer-installable, no native dependencies, no shell-execs, deploy-mode-aware. Tested on Cloud Pro + Starter.

What happens if Anthropic is down?

The chat returns a clear error to the admin, the activity row is logged with status=error, and the orchestrator does not retry indefinitely (would burn API credit). Default timeout is 120 s. The store itself is unaffected — Claude AI is purely additive.

Can I run my own model (e.g. local Llama / Mistral) instead?

Not out of the box. The orchestrator is built around Anthropic's tool-use schema. A future Provider abstraction is on the roadmap — open an issue if this is a blocker.

Is the storefront widget GDPR-compliant?

The widget logs the question + IP for rate limiting + abuse detection. No third-party trackers, no cookies set by us (Anthropic doesn't get end-user IPs — only your server IP). For GDPR, add a one-line disclosure to your widget's welcome text and you're set.

Is the source code available?

Yes. Open source under github.com/mage2sk/magento2-claude-ai. PRs welcome.


Support

Channel Contact
Email [email protected]
Website kishansavaliya.com
WhatsApp +91 84012 70422
GitHub Issues github.com/mage2sk/magento2-claude-ai/issues
Upwork (Top Rated Plus) Hire Kishan Savaliya
Upwork Agency Panth Infotech
Packagist mage2kishan/magento2-claude-ai

Response time: 1–2 business days.

💼 Need Custom Magento + AI Development?

Looking for custom Claude / OpenAI integration, Hyvä theme customization, store migrations, or performance optimization? Get a free quote in 24 hours:

Get a Free Quote

Hire on Upwork    Visit Agency    Visit Website

Specializations:

Industries served: Fashion & Apparel, Electronics, Health & Beauty, Food & Beverage, Home & Garden, B2B Wholesale, Multi-vendor Marketplaces.


License

Released under the MIT License — free for commercial use, no per-store fees, no attribution required (but appreciated).


About Panth Infotech

Built and maintained by Kishan Savaliyakishansavaliya.com — a Top Rated Plus Magento + AI developer on Upwork with 10+ years of eCommerce experience.

Panth Infotech is a Magento 2 development agency specializing in high-quality, security-focused extensions and themes for both Hyvä and Luma storefronts — and increasingly, AI-augmented commerce tooling. The Panth extension suite covers SEO, performance, checkout, product presentation, customer engagement, store management, and now AI automation — 34+ modules built to MEQP standards and tested across Magento 2.4.4 to 2.4.8.

Browse the full extension catalog on Packagist or the Adobe Commerce Marketplace.

Quick Links


Ready to put an AI store manager inside your Magento admin?
Get Started


SEO Keywords: magento 2 claude ai, magento 2 anthropic api, magento 2 ai automation, magento 2 ai assistant, magento 2 natural language admin, magento 2 conversational commerce, magento 2 ai chatbot, magento 2 ai shop assistant, magento 2 ai widget, magento 2 ai bulk update, magento 2 ai pricing, magento 2 ai inventory, magento 2 ai cms, magento 2 ai orders, magento 2 ai customers, magento 2 ai dashboard, magento 2 ai sales insights, magento 2 ai checkpoint undo, magento 2 ai dry run, magento 2 ai marketing, magento 2 ai seo, magento 2 ai content generation, magento 2 ai meta description, magento 2 ai category description, magento 2 chatgpt alternative, magento 2 store manager ai, claude opus 4.7 magento, claude sonnet 4.6 magento, claude haiku 4.5 magento, anthropic api magento, prompt caching magento, tool use magento, manual tool loop magento, magento 2 ai backend, magento 2 ai admin, magento 2 ai integration, hyva claude ai, luma claude ai, hyva ai chatbot, luma ai chatbot, magento 2 ai extension, magento 2 ai module, magento 2 lead generation widget, magento 2 ai shop by ai, magento 2 ai voice undo, magento 2 ai role permission, magento 2 meqp ai module, magento 2.4.8 ai module, magento 2.4.7 ai module, php 8.4 magento ai module, panth claude ai, panth infotech, mage2kishan, mage2sk, kishan savaliya, top rated plus upwork magento, hire magento ai developer, hire ai magento developer, custom ai magento development, magento 2 hyva development, magento 2 luma customization, magento 2 performance optimization, magento 2 SEO services, adobe commerce cloud magento, magento 2 checkout optimization, ai ecommerce magento, magento freelancer india, panth extensions


All versions of magento2-claude-ai with dependencies

PHP Build Version
Package Version
Requires php Version ~8.1.0||~8.2.0||~8.3.0||~8.4.0
magento/framework Version ^103.0
magento/module-backend Version ^102.0
magento/module-catalog Version ^104.0
magento/module-customer Version ^103.0
magento/module-sales Version ^103.0
magento/module-store Version ^101.0
magento/module-config Version ^101.0
magento/module-ui Version ^101.0
mage2kishan/module-core Version ^1.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package mage2kishan/magento2-claude-ai contains the following files

Loading the files please wait ...