About Us AI
Industries
Platforms
Services
Our Work Blog ContactGet a Quote
Magento

Hyvä's Anthropic Module for Magento: What It Actually Ships

Hyvä has shipped an Anthropic (Claude) provider for its AI framework — open source, publicly documented, and readable line by line on GitHub. Here is what it actually is, what it supports, and how to adopt it sensibly.

Magento, Hyvä and Anthropic Claude logos connected in a row

Correction, 6 August 2026. An earlier version of this article claimed this module could not be publicly evaluated — a closed repository, no public documentation. That was wrong. The source code is public on GitHub under an open-source licence, and the Hyvä AI framework is publicly documented. This article has been rewritten from those primary sources. Our thanks to Hyvä founder Willem Wigman for the correction.

Hyvä has released Hyva_AiAnthropic, an Anthropic (Claude) provider for the Hyvä AI framework. The source is published on GitHub under the OSL-3.0 open-source licence, with tagged 1.0.0 and 1.1.0 releases, and the framework it plugs into is documented at docs.hyva.io. Having read the module's code and the framework's integration guide, here is what it is, what it is not, and what a merchant or agency should do with it.

What the Hyvä AI Framework Is

The Anthropic module is one provider inside a larger, deliberately layered system. The base module, Hyva_Ai, gives Hyvä projects a standardised way to make requests to AI services — and its design decisions are the reason this release matters more than a typical "X now integrates with Y" announcement.

  • One secure endpoint. Every AI request goes through a single ACL-protected admin controller (POST /admin/hyva_ai/ai/process/handler/{handler}). API keys are stored encrypted in Magento configuration and never leave the server — no keys in frontend JavaScript.
  • Provider-agnostic by construction. A feature (a handler, in the framework's terms) asks for a model like claude-opus-5 or gpt-4o; the framework's resolver maps the model to its provider. Switching AI vendors is a configuration change, not a code change.
  • Clean separation. Handlers prepare prompts and process responses; the framework does routing, validation and configuration; providers do nothing but talk to their external API. Messages use an OpenAI-compatible role/content format across all providers.

Providers already exist for OpenAI (GPT-5 and the GPT-4 family), Google Gemini (the 2.5 series) and DeepL, with Anthropic now joining them. This is the architecture we have argued for elsewhere — the durable engineering decision is the vendor-neutral boundary, not the model behind it — and Hyvä has built exactly that boundary into the framework, so adopters get it for free.

What the Anthropic Provider Ships

Hyva_AiAnthropic is a focused module — around twenty files — that wraps Anthropic's official PHP SDK (anthropic-ai/sdk) behind the framework's provider interface. Reading the source, the specifics are:

  • Four Claude models, selectable per store in the admin panel: Claude Opus 5 (the default), Claude Opus 4.8, Claude Sonnet 5 and Claude Haiku 4.5.
  • Tool calling. The provider implements the framework's tool-capable interface (chatWithTools), so a handler can give Claude a set of tools — functions it may call with structured arguments. This is the primitive that agent-style features are built from, and it is the most forward-looking part of the module.
  • Sensible API hygiene. Batched message processing, a configurable max-tokens limit (default 4,096), and the temperature parameter deliberately never sent — current Claude models reject it, and the module's code documents that reasoning inline.
  • An admin test button, so a merchant can verify the API key and connection from the configuration screen before anything depends on it.

Licensing, precisely: the code is OSL-3.0 open source and readable by anyone on GitHub. Distribution via Composer runs through Hyvä's package repository for licence holders, and direct GitLab access is for Hyvä tech partners — the normal Hyvä model. If you run Hyvä, you can install it; if you do not, you can still read every line.

What It Is Not (Yet)

The honest framing is that this is infrastructure, not a bundle of end-user features. The framework's documentation currently lists one shipped feature built on it — AI-powered translations for Hyvä CMS content, part of Hyvä Commerce. Everything else is what you or your agency build on top: the integration guide walks through implementing a handler in a few dozen lines of PHP.

That is the right way to read it as a merchant. Installing the module does not, by itself, write your product descriptions or answer your support tickets. It gives your developers a secure, maintained, vendor-neutral place to build those features — which is genuinely valuable, because the plumbing (key management, provider abstraction, admin configuration, a safe endpoint) is exactly the part teams get wrong when they wire an LLM into Magento ad hoc.

It is also not a semantic-search stack: embeddings, a vector index and retrieval are a different system, of which an LLM provider is one component. If on-site search is the goal, budget for that system, not just this module.

Adopting It Well: The Cost That Actually Decides

For the catalogue-content use cases this framework makes easy, the economics have a shape worth knowing before you start. Inference is cheap: generating a product description costs a few hundred input tokens of attribute context and a couple of hundred output tokens, so a 10,000-SKU pass lands in the low tens to low hundreds of pounds depending on model tier — with Haiku 4.5 in the model list precisely for the high-volume, cost-sensitive end.

The expensive part is review. At two minutes per SKU to check generated copy for factual accuracy, brand voice and compliance, 10,000 SKUs is roughly 330 person-hours — one to two orders of magnitude more than the token bill. Budget for review capacity, not tokens; scope to the top 500 SKUs by revenue or a single category until review is affordable. We cover the full numbers in what eCommerce AI actually costs and the working sequence in our Magento catalogue enrichment walkthrough.

And if the feature you build faces customers — an assistant, not a drafting tool — scope enforcement is your engineering work, not the framework's. The tool-calling interface makes agent features buildable; where an AI support agent's boundaries belong is still a design decision you own.

What We Would Do This Quarter

  1. Read the source and the integration guide — the module on GitHub, the framework at docs.hyva.io. It is a short, well-organised read, and it answers the data-flow questions a security review asks.
  2. Start with an admin-side handler. Translation, CMS drafting, attribute suggestions — output a human reviews before it reaches a customer. Lowest risk, immediate value, and it exercises the whole pipeline.
  3. Audit attribute completeness before catalogue generation. Generation quality is bounded by input quality; percentage populated on filterable attributes predicts the project's outcome better than any model choice.
  4. Pick models per job, not per brand. The framework makes this a dropdown: Opus 5 where quality is the constraint, Haiku 4.5 where volume is. Measure, then adjust.
  5. Prototype tool calling early if agent-style features are on your roadmap — chatWithTools is the interface those will stand on, and learning its shape now is cheap.

The Honest Summary

Magento Open Source merchants have had the thinnest first-party AI story of any major platform. The Hyvä AI framework changes that in the way that lasts: not a chatbot bolted on, but a documented, open-source, provider-agnostic foundation with the security plumbing done properly — and with the Anthropic provider, Claude's current model family and tool calling are available behind it. The features are yours to build; the part that was hard to get right has been built for you, and you can read it.

Frequently asked questions

Is the Hyvä Anthropic module open source?

Yes. The source is published on GitHub under the OSL-3.0 licence, alongside the base Hyvä AI framework module. Composer installation is available to Hyvä licence holders, and GitLab access is part of the Hyvä tech partner programme.

Which Claude models does it support?

Claude Opus 5 (the default), Claude Opus 4.8, Claude Sonnet 5 and Claude Haiku 4.5, selectable in the Magento admin. The framework's resolver maps each model to its provider, so switching models — or vendors — is configuration, not code.

Does installing it add AI features to my store out of the box?

Mostly no — it is a framework plus providers. The one shipped feature so far is AI-powered CMS translations in Hyvä Commerce. Other features (product content, assistants, admin tooling) are handlers your developers build on the framework's documented interfaces.

Does it support tool calling / function calling?

Yes. The Anthropic provider implements the framework's tool-capable interface (chatWithTools), letting a handler expose structured tools for Claude to call — the building block for agent-style features.

What does it actually cost to generate product content with an LLM?

Inference is the cheap part: a 10,000-SKU pass lands in the low tens to low hundreds of pounds depending on model tier. Human review at roughly two minutes per SKU is about 330 person-hours for the same catalogue. Budget for review capacity, not tokens.

Planning AI on Magento?

We build AI and machine learning features into commerce platforms, and we run Magento and Hyvä builds for mid-market retailers. If you want an honest read on whether a use case is ready — including being told it is not — talk to us.


Have a project like this?

Tell us what you're building and where it's stuck. We'll reply within one business day with an honest read on scope, sequence and cost.

  • An honest read on scope, sequence and cost
  • A reply within one business day
  • No obligation, no sales sequence

Protected by Cloudflare Turnstile. We never share your details.