Maersk swaps its in-house generative AI platform for Dify
A.P. Moller - Maersk replaced the generative AI platform it built itself with Dify Enterprise, a low-code platform on which its teams build customer service and other business apps.
A.P. Moller - MaerskDenmark (Global customer experience and other business areas)ShippingScaledWho built it With DifyKind of solution Enterprise AI platformScale Around 90 production apps and 25,000 active users by late 2025Scenario Low-code generative AI app platformBusiness function Customer serviceOrganization Enterprise, 100,000 employees or moreAI types Generative AI, Conversational AIUsers 25,000People served over 100,000
- Who built it
- With Dify
- Kind of solution
- Enterprise AI platform
- Scale
- Around 90 production apps and 25,000 active users by late 2025
- Scenario
- Low-code generative AI app platform
- Business function
- Customer service
- Organization
- Enterprise, 100,000 employees or more
- AI types
- Generative AI, Conversational AI
- Users
- 25,000
- People served
- over 100,000
tl;drMaersk runs about 90 production AI apps on Dify Enterprise, with 25,000 active users.See the results
A.P. Moller - Maersk builds and runs its generative AI apps on Dify Enterprise, a low-code platform for AI workflows, copilots, and agents1, 4. The shipping and logistics company replaced the AI platform it had built in-house1.
By late 2025, Maersk had about 90 production apps on Dify across customer experience and other business areas, with 25,000 active users1. In the fourth quarter of 2025, it completed a full migration to Dify Enterprise v31.
The same app shipped 16x faster on Dify than on the in-house platform, and the CX-Assist app saves more than 90% of the time spent on top customer queries1, 3.
Before the deployment
Maersk is one of the world’s leading shipping and logistics companies, with more than 100,000 employees and over 100,000 customers in 130 countries1, 2. Its customer work runs at high volume:
- Maersk receives thousands of inquiries every day from customers about deliveries2.
- Customers send about 20 million emails a year1.
- On the in-house AI platform, one app took four people four months to build1.
Maersk’s GenAI work grew out of earlier experiments with traditional AI and machine learning2. CFO Patrick Jany said that logistics is fragmented, and that without AI to automate workflows, staff spend their time searching for data instead of serving customers2.
What was built
Maersk’s teams build AI apps on Dify Enterprise and run them in production1. Dify is an open-source platform for building agents, agentic workflows, and chatbots that draw on an organization’s own data, published as web apps or through APIs5. Three apps anchor the value, and people build and check the work:
- CX-Assist: Answers top customer queries in a single retrieval step, with replies in 10 to 15 seconds1, 3.
- CX-Email: Resolves customer emails automatically, with a target of 90% of about 20 million emails a year1.
- CX-Tariff Audit: Audits invoices, and covers 100% of them1.
- AI engineers: Build and maintain AI workflows, copilots, and agent-based applications on Dify4.
- Customer service operators: In the AI customer service system that Jany described in May 2025, software drafts responses from data in multiple systems, and an operator reviews and approves each one with a click2.
“When GenAI no longer solves just one problem but a hundred, it becomes a very powerful tool that cannot be stopped.”
Alternatives considered
Maersk weighed Dify Enterprise against its own in-house AI platform in a controlled head-to-head evaluation, and then replaced the in-house platform1.
Technology and architecture
| Layer | What they used | Role | Source |
|---|---|---|---|
| Solution platform | Dify Enterprise v3 | Hosts and runs Maersk’s production AI apps | 1, 5 |
| Workplace application | CX-Assist | Answers top customer queries with single-step retrieval | 1, 3 |
| Workplace application | CX-Email | Resolves customer emails automatically | 1 |
| Workplace application | CX-Tariff Audit | Audits invoices | 1 |
Data inputs
- Customer emails: About 20 million a year, the input to CX-Email1.
- Customer queries: The top queries that CX-Assist answers3.
- Invoices: CX-Tariff Audit audits every invoice1.
Workflow patterns
Dify’s logistics page describes three workflow patterns that correspond to the three anchor apps:
- Cross-system retrieval: A Dify workflow retrieves data from booking, shipment, billing, and carrier systems and combines it in a single response for service agents1.
- Email auto-resolution: AI agents classify the request, retrieve the shipment data, draft a response, and either send it or escalate it to a human reviewer1.
- Contract-driven invoice audit: Workflows load the contract terms, compare them with each invoice line, and flag discrepancies for human review1.
Maersk’s apps most likely follow these patterns, which would connect them to its own booking, shipment, and billing systems.
Results
| Metric | Before | After | Scope and timeframe | Reported by |
|---|---|---|---|---|
| App delivery speed | 4 people × 4 months | 16x | Same app on both platforms, November 2025 | Dify, citing Maersk’s internal assessment, measured1, 3 |
| CX-Assist time saved | Not disclosed | more than 90% | Top customer queries, November 2025 | Dify, citing Maersk’s internal assessment, measured1, 3 |
| Estimated annual value | Not disclosed | more than $20 million | All apps, a year, November 2025 | Dify, citing Maersk’s internal assessment, estimate1 |
| CX-Tariff Audit invoice coverage | Not disclosed | 100% | All invoices | Dify, citing Maersk’s internal assessment, measured1 |
- App delivery speed: Compares the same app on both platforms. One person built it in two weeks on Dify, against four people in four months on the in-house platform1, 3.
- CX-Assist time saved: Measures the time saved on top customer queries1, 3.
- Estimated annual value: An estimate from Maersk’s internal assessment of November 20251.
- CX-Email auto-resolution: The 90% figure is a target for the share of emails that CX-Email resolves on its own1.
Lessons learned
The platform figures are Maersk’s own, from its November 2025 internal assessment as Dify presents it on its product pages1, 3.
The breadth of use is the clearest outcome. The apps span customer experience and other business areas, which fits Jany’s preference for many smaller, practical GenAI implementations over one all-encompassing solution1, 2.
The 16x figure rests on one app built on both platforms, so it measures the build effort for that app rather than for the whole portfolio1.
Dify’s page gives the email figure two ways. One counts 20 million customer emails a year handled by AI, and the other sets a target of resolving 90% of about 20 million emails automatically1. Handling an email and resolving it without a person are different measures.
Jany called Maersk’s AI customer service system “a huge success” in May 2025. He also tied Maersk’s use of GenAI to ethical guidelines and data privacy controls set from the outset2.
Case study scorecard
- 16x Faster delivery of the same app than on the in-house platform1, 3
- more than 90% Time saved on top customer queries with CX-Assist1, 3
- more than $20 million Estimated annual value of the apps1
- 100% Invoice coverage of CX-Tariff Audit1
Sources by publication date
- Organization 1
- Vendors and partners 3
- Press, academic, and regulators 1
Build this solution yourself
Analysis
What you need
- A platform you already run to compare against: Maersk chose Dify after a head-to-head evaluation against its in-house platform, with the same app built on both1. You need a comparable test build to know whether a switch saves effort.
- Customer work that repeats at volume: The anchor apps target about 20 million emails a year, the top customer queries, and every invoice1. The time saved per case adds up at that scale.
- Engineers who own the apps: Maersk hires AI engineers to build and maintain workflows and copilots on Dify4. Check that you have people to run each app once it’s live.
Reference architecture
Enterprise AI platform
An enterprise AI platform gives an organization's staff one governed way to use language models for everyday reading and writing work. A staff member signs in and asks in a chat window or in the app they work in, and the platform screens the request and sends it, with the records it concerns, to a language model that doesn't train on the content. The person who asked checks the screened draft and decides what to do with it, and the program owners review the usage figures.
- AI platform (documented in this case study)
- Sign-in and access
- Chat interface
- Workplace apps (documented in this case study)
- Orchestrator
- Connectors
- Input and output checks
- Data protection
- Language model
- Usage record
A check mark shows a building block that this case study's sources document.
Open the reference architectureOthers who built it
- Aegon Spain: How Aegon Spain scaled Microsoft 365 Copilot and AI agents. 91% of Aegon's professionals in Spain said they would miss their M365 Copilot license.
- Marks & Spencer: M&S rolls out Microsoft 365 Copilot to 11,000 colleagues. M&S bought 11,000 Microsoft 365 Copilot licenses to give every store manager an AI assistant.
- Enexis: How Enexis built an internal ChatGPT alternative for staff. About 3,500 Enexis colleagues use Enexis Chat, the company's internal ChatGPT, each month.
- Philips: Philips builds AI literacy for 70,000 staff with ChatGPT. Hands-on AI use is spreading across Philips's 70,000 employees, starting with its executives.
- BBVA: BBVA staff build 20,000 custom GPTs on ChatGPT Enterprise. BBVA staff built more than 20,000 GPTs, and 75% of employees use AI on a recurring basis.
- Univé: How Univé built an AI-ready workforce on ChatGPT Enterprise. Univé staff have built about 1,500 custom GPTs, and 85% of licensed users are active weekly.
Cite this case study
Enterprise AI Case Studies. "Maersk swaps its in-house generative AI platform for Dify." Updated Nov 29, 2026. https://case-studies.ai/case-studies/process-automation/PA-114-generative-ai-platform-dify-maersk/
@misc{csai-pa-114,
author = {{Enterprise AI Case Studies}},
title = {{Maersk swaps its in-house generative AI platform for Dify}},
year = {2026},
note = {Updated 2026-11-29},
url = {https://case-studies.ai/case-studies/process-automation/PA-114-generative-ai-platform-dify-maersk/}
}Sources
The following reporting, and every passage quoted from it, belongs to its publisher, not to this site. Sources and ownership
- Source 1:
Supporting excerpts (13)
A.P. Møller - Maersk (Denmark / global)
As one of the world's leading shipping and logistics companies, Maersk replaced its in-house AI platform with Dify Enterprise after a controlled head-to-head evaluation.
The same app shipped 16x faster (1 person × 2 weeks vs. 4 people × 4 months).
By late 2025, Maersk had deployed around 90 production apps across customer experience and other business areas, with 25,000 active users.
Three anchor the value: CX-Assist (single-step retrieval, 90%+ time saved, 10-15s replies), CX-Email (auto-resolution targeting 90% of ~20M emails a year), and CX-Tariff Audit (100% invoice coverage).
In Q4 2025, Maersk completed a full migration to Dify Enterprise v3.
customer emails a year handled by AI
$20M+ Estimated annual value
Source: Maersk internal assessment, "Our LLM Journey" (Nov 2025)
Most customer questions need data from booking, shipment, billing and carrier systems simultaneously. A Dify workflow retrieves and synthesises that data in a single response, so service agents can answer accurately without switching between systems or waiting for back-office lookups.
Inbound volumes that once required large admin teams now route through AI agents that classify the request, retrieve the relevant shipment data, draft a response, and either send or escalate to a human reviewer.
Dify workflows load the relevant contract terms and run a structured comparison against each invoice line, flagging discrepancies for human review rather than requiring a manual line-by-line check.
© 2026 LangGenius, Inc.
- Source 2:
Digital transformation reshapes Maersk from shipping giant to global logistics integrator
Supporting excerpts (11)
Patrick Jany, CFO and Member of the Executive Board at Maersk
With more than 100,000 employees
The company serves over 100,000 customers in 130 countries
Maersk receives thousands of inquiries every day from customers regarding deliveries.
The AI-driven customer service solution integrates data from multiple systems to generate responses, which an operator simply reviews and approves with a click.
The new AI-driven system is a huge success and demonstrates the potential of automation
If you don't have AI capabilities to automate workflows, you will spend significant time searching for data instead of delivering value to customers.
initial experiments began with traditional AI and machine learning, but these have rapidly expanded with the introduction of GenAI
When GenAI no longer solves just one problem but a hundred, it becomes a very powerful tool that cannot be stopped.
Our approach to GenAI is to encourage multiple smaller, practical implementations rather than searching for a golden, all-encompassing solution
it's essential to establish clear ethical guidelines and maintain control over data privacy from the outset, creating a safe environment where teams can experiment freely
- Source 3:
Dify Enterprise - Infrastructure for Building Agentic AI at Enterprise Scale
Supporting excerpts (2)
Per AI app, down from 4 months self-built.
Time saved on top customer queries (CX-Assist).
- Source 4:
Supporting excerpts (2)
Build and maintain AI workflows, copilots, and agent-based applications using platforms such as Dify, Coze, and similar low-code/no-code AI orchestration tools.
AI Workflow Platforms: Build and maintain AI workflows and copilots using low-code/no-code tools like Dify, Coze, and LangFlow.
- Source 5:
Supporting excerpts (1)
Dify is an open-source platform for building AI applications. Create agents, agentic workflows, and chatbots that draw on your own data, then publish them as web apps or integrate them through APIs.
Comments
Start the conversation.
Invited members of the library comment here. Sign in to join the conversation.