Analysis

How HEMA Built an Enterprise Knowledge Layer with Bedrock and MCP

How the Dutch retailer connected fragmented organizational knowledge to developer tools using agents and MCP

4 min read
עב
How HEMA Built an Enterprise Knowledge Layer with Bedrock and MCP
Based on original reporting byAWS Machine Learning ↗Translated and summarized by our AI-assisted news systemHow we work

Executive summary

What to know

  1. HEMA consolidated infrastructure and procedural knowledge for over 750 stores and tech teams using its internal assistant, HAL.

  2. The architecture combines Amazon Bedrock AgentCore with the MCP protocol for direct integration with tools like Kiro and Claude.

  3. External client authentication relies on Microsoft Entra ID without distributing AWS credentials to end users.

  4. Future plans include expanding the assistant from a question-answering layer to an action layer for cloud account provisioning.

In an AWS blog post co-authored by Mauro Rallo and Patrick van der Plas from the Dutch retail chain HEMA, the company outlined how it built an internal knowledge layer on top of Amazon Bedrock AgentCore and the Model Context Protocol (MCP). HEMA, which has operated for 100 years and runs over 750 stores across multiple countries, supports its operations through a technology organization comprising engineers, product owners, and business analysts. When engineers at HEMA needed an answer, they went portal-hopping, navigating disconnected wikis, service catalogs, and IT portals to find it. To reduce this friction, the retailer developed an internal assistant named HAL to unify information and make it accessible directly within the teams' existing working tools.

The Challenge of Knowledge Fragmentation and Portal-Hopping

According to the post, the organization's knowledge problem was divided into two primary layers. The first layer, consisting of structured infrastructure knowledge, was in good condition: over the years, the company maintained a service catalog mapping people to teams, teams to services, and services to the APIs they expose and the business capabilities they support. Structured data from systems such as the product information management (PIM) engine and data-mesh tables had been imported and organized, so that for anything about what exists and who owns it, the answer was usually available to whoever knew where to look.

The second layer represented the main gap: knowing what exists is not the same as knowing how to perform specific tasks. Procedural questions, such as how to request API access, provision a new group, or follow internal rules, had no single home. As the engineering organization expanded and onboarded new engineers, the informal model of directly asking peers in the room ceased to function, and written documentation was scarce. This situation led to slow onboarding for new hires, inconsistent answers, and constant switching across three or four different portals—a process that sometimes spanned an entire afternoon.

Choosing MCP and Amazon Bedrock AgentCore

HEMA's solution was structured around two complementary goals. The first goal, assigned to the HAL assistant, was to consolidate fragmented knowledge into a single, governed source of truth. The second goal, addressed via the MCP protocol, was to deliver that knowledge directly to users within the tools they already use, rather than requiring them to visit another portal.

The adoption of MCP provided a standardized interface between AI clients and backend capabilities, allowing each knowledge source to be exposed once as an MCP tool and consumed by various clients (such as the HAL chat UI, Kiro, Claude, and other agents) without requiring bespoke integrations for each tool. Concurrently, Amazon Bedrock AgentCore allowed the company to build and connect agents without having to set up and operate dedicated MCP server infrastructure. The platform capabilities utilized in the project included Gateway (directly converting OpenAPI specifications and AWS Lambda functions into MCP tools), Identity (managing inbound JWT authentication and outbound OAuth2 to internal APIs), Runtime (hosting the Strands-built agent as a container), as well as memory components and Amazon Bedrock Guardrails for content filtering and Dutch-language support.

Development Stages: From Standalone Assistant to Daily Tool Integration

The development of HAL took place in two primary stages:

  1. Standalone Assistant: The initial version consisted of a Next.js web chat interface connected directly to an internal agent (a Strands agent running as a Linux/ARM64 container on AgentCore Runtime). At this stage, the agent accessed knowledge along two paths: direct semantic search over knowledge bases using local Strands tools that call the Amazon Bedrock Retrieve API without an intermediate gateway, and a connection over MCP to an AgentCore Gateway (authenticated via AWS IAM SigV4) for live data queries, OpenAPI specifications, and the service catalog. The knowledge bases built on Amazon Bedrock Knowledge Bases included IT documentation, API specifications, Kafka topics and Avro schemas, Data Consolidation Layer (DCL) channels, and the service catalog. Retrieval quality was enhanced using Bedrock reranking and metadata filtering by team ID.

  2. Opening Access to External Tools via MCP: To allow external tools such as Kiro and Claude to access knowledge without distributing AWS credentials, a second AgentCore Gateway was established. Because a gateway supports only a single inbound authentication type, the second gateway was configured with Microsoft Entra ID authentication (using a custom JWT) for external clients, sharing read-only knowledge bases without sharing code with the internal gateway.

Authentication Mechanism and Handling DCR

To enable authentication for external clients without AWS credentials, an MCP Auth Proxy (built on Amazon API Gateway v2 HTTP API and a single Lambda function) was deployed in front of the Entra Gateway. This component bridges the MCP OAuth specification with Entra ID requirements: it serves OAuth discovery documents, rewrites the requested scope, strips the legacy resource parameter unsupported by Entra v2.0, appends response_mode=query to capture authorization codes in desktop applications, and proxies requests to the /mcp route along with the Bearer token.

Furthermore, because MCP clients expect Dynamic Client Registration (DCR) support, the proxy returns a fixed, pre-provisioned client ID by emulating a POST /register call rather than implementing actual dynamic registration. This setup allows end users to configure only the proxy URL and an empty scopes list, complete a browser login on the first connection, and benefit from automatic token refresh.

Testing, Deployment, and Cross-Role Usage

The project infrastructure was defined using the AWS Cloud Development Kit (AWS CDK) in a single TypeScript monorepo with configurations retrieved from AWS Systems Manager (SSM). Prior to production deployment, the system was deployed to a staging environment and tested for one month by engineers and business users to validate response quality and information coverage.

Today, HAL serves a broad range of roles across HEMA:

  • Engineers and Developers: Utilize the technical surface, including documentation, API specifications, Kafka topics, the service catalog, and DCL channels from within Kiro and the chat UI.
  • Product Owners: Rely on the assistant for procedural information and process documentation that previously lacked a centralized source.
  • Business Analysts: Use it to retrieve infrastructure data from the service catalog, such as service mappings, APIs, and team ownership.

Internal distribution of capabilities is managed via an "Everyone Skill" and steering files maintained within the company's monthly AI Development Forum.

The Next Step: From Answers to Actions

While HAL currently operates in a read-only capacity to provide answers to questions, the planned next phase involves turning it into an action layer. Because the organization's existing portals already support APIs and integrate with Microsoft Entra ID Single Sign-On, the assistant will be able to expose these operations as MCP action tools under the same Active Directory group-based authorization model. The primary example highlighted is provisioning a new AWS account: rather than an engineer logging into a dedicated portal, the request could be executed directly from the chat interface or MCP-enabled agent tools. And because HAL already serves product owners and business analysts, the same action pattern extends naturally beyond developer operations to the wider set of operational requests those roles make every day. The lesson is that the read architecture earns the write step: by getting identity, multi-client access, and governance right for answers, the groundwork has been laid for actions.

Was this useful for your business?

Questions & Answers

FAQ

This article was produced by our AI-assisted system through translation, summarization, and automated quality controls based on original reporting by AWS Machine Learning. Read about our editorial process. Link to the original source.

Get useful AI updates by email

A concise digest from our news desk.

More from AWS Machine Learning

All articles from AWS Machine Learning
ניהול עלויות מקצה לקצה ב-Amazon Bedrock: מדריך לצוותי FinOps
מדריך
5 דקות
מ־AWS Machine Learning

ניהול עלויות מקצה לקצה ב-Amazon Bedrock: מדריך לצוותי FinOps

בפוסט של מומחי AWS מוצג מודל תפעולי בן חמישה שלבים לניהול עלויות ב-Amazon Bedrock, המיועד לצוותי FinOps והנדסת פלטפורמה. המודל מתמקד בעומסי עבודה של סוכני בינה מלאכותית (agentic workloads), שבהם צריכת הטוקנים מושפעת מרמת האוטונומיה וגודל ההקשר. חמשת השלבים כוללים: שיוך עלויות לכל ישות וצוות באמצעות תגי IAM ודוחות CUR 2.0; יצירת יכולת תצפית ובקרה באמצעות רישום יומני הסקה ב-CloudWatch וב-S3 לצד מטא-דאטה מובנית; אכיפת תקציבים בשלוש רמות (התראות, שלילת הרשאות ב-IAM או חסימה סינכרונית בשער); מיטוב ברירות מחדל באמצעות שמירה במטמון (prompt caching) וניתוב מודלים חכם; והפעלת סקירת ביצועים משותפת מבוססת מדדים ברורים.

קרא עוד
אימון סוכנים ב-Multi-Turn Reinforcement Learning ב-SageMaker AI
מדריך
5 דקות
מ־AWS Machine Learning

אימון סוכנים ב-Multi-Turn Reinforcement Learning ב-SageMaker AI

מדריך טכני של מהנדסי AWS מציג את השימוש ב-Multi-Turn Reinforcement Learning (MTRL) על גבי Amazon SageMaker AI לאימון סוכני בינה מלאכותית על רצפי פעולות מרובי שלבים. באמצעות הדגמה על משחק Wordle, המאמר מפרט כיצד אימון מודל GPT-OSS-20B בעזרת סביבת Amazon Bedrock AgentCore ואלגוריתם GRPO העלה את שיעור הפתרון מ-61% ל-84% בהגדרות הגשה, בעלות של כ-339 דולר בטוקנים. המדריך כולל פירוט על ארכיטקטורת המערכת, הכנת מערך הנתונים ללא תוויות, נוסחת פונקציית התגמול המפרידה בין תוצאה לעיצוב התנהגות, והתמודדות עם תקלות תשתית ואימות במהלך האימון.

קרא עוד
תשלום לפי קריאה עבור סוכני AI: שילוב AgentCore payments ב-AWS
מוצר חדש
4 דקות
מ־AWS Machine Learning

תשלום לפי קריאה עבור סוכני AI: שילוב AgentCore payments ב-AWS

בפוסט שפרסמו מהנדסי AWS הוצגה היכולת המנוהלת AgentCore payments ב-Amazon Bedrock, המאפשרת לסוכני בינה מלאכותית לשלם לפי דרישה עבור שירותים דוגמת הסקת מודלים. השירות מנהל ארנקים, מטפל בפרוטוקול התשלום x402 ואוכף מגבלות הוצאה ברמת התשתית במקום ברמת המודל. הפוסט מפרט כיצד חברת Incarna שילבה את המערכת כדי לאפשר לסוכנים לשלם לנתב ההסקה BlockRun עבור כל קריאה בנפרד ברשת Base ב-USDC. האינטגרציה הושלמה בשלושה ימים ובכ-200 שורות קוד, ובשלב הבטא עובדו מעל 1,000 תשלומים בסכומים של 0.001 עד 0.05 דולר לקריאה. היכולת זמינה כעת באופן כללי.

קרא עוד
Claude Haiku 5.5 זמין כעת ב-Amazon Bedrock וב-AWS
מוצר חדש
4 דקות
מ־AWS Machine Learning

Claude Haiku 5.5 זמין כעת ב-Amazon Bedrock וב-AWS

חברת AWS הודיעה על זמינות המודל Claude Haiku 5.5 ב-Amazon Bedrock וב-Claude Platform on AWS. לפי Anthropic, המודל הוא המהיר והיעיל ביותר במשפחת Claude 5.5, נבנה עבור תתי-סוכנים ומשימות בנפח גבוה, ועולה כ-75 אחוז פחות מ-Claude Haiku 4.5 במרבית המשימות. השירות ב-Bedrock שומר על תושבות נתונים אזורית ומשתלב עם מנגנוני IAM, CloudTrail, CloudWatch ו-Guardrails. המודל כולל בקרות מאמץ לכוונון עלות מול תבונה, ומיועד להשתלב לצד Claude Opus 5.5 שמבצע את התכנון והשיפוט המורכב. המודל זמין בפרופילי הסקה גלובליים ואזוריים וב-AWS GovCloud.

קרא עוד

More articles you might like

All articles
מעבר לייצור קוד: מדריך לפיתוח תוכנה מבוסס סוכנים ב-GitHub
ניתוח
4 דקות
מ־GitHub AI and ML

מעבר לייצור קוד: מדריך לפיתוח תוכנה מבוסס סוכנים ב-GitHub

בפוסט שפורסם בבלוג של GitHub, מוצגת מסגרת עבודה לשילוב סוכני בינה מלאכותית בארבעה שלבי פיתוח: תכנון, בנייה, אימות ותצפית. הדבר מגיע על רקע נתוני אוקטובר שהצביעו על יותר מ-1.2 מיליארד קומיטים בשבוע אחד, לצד ממצאי מחקר של Faros AI שלפיהם בקשות משיכה ממתינות 441% יותר זמן בסקירה כאשר צוותים מגבירים את אימוץ הבינה המלאכותית. המדריך סוקר כלים כגון מצב תכנון, ארגזי חול בענן, סקירות קוד אוטומטיות, וחיבור למערכות תצפית כדי לייעל את התהליך כולו.

קרא עוד
כיצד צריכה בינה מלאכותית לבקש אישור: לקחי Zapier מפיתוח Sidekick
ניתוח
4 דקות
מ־Zapier

כיצד צריכה בינה מלאכותית לבקש אישור: לקחי Zapier מפיתוח Sidekick

בפוסט שפרסמה חברת Zapier, מפרטת החברה את הלקחים מפיתוח מנגנון ההרשאות בסביבת העבודה Sidekick. המערכת עברה מספר איטרציות: החל מבקשת אישור על כל כלי בנפרד, דרך הצמדת כללים למשאבים מוגנים (כמו קבצים או חשבונות), ועד להעברת בקשות האישור מחוץ לזרם הצ'אט לפאנל ייעודי ותיבת דואר נכנס. בנוסף, Zapier בחנה מצב Auto שבו בודק בינה מלאכותית מקבל החלטות על בסיס כללים בשפה חופשית, ומצב YOLO שבוטל לאחר שהתברר כי דילוג גורף על אישורים אינו מתאים לסביבת העבודה. כעת מפתחת החברה מצב חדש המבוסס על הפיכות הפעולה וההקשר שלה.

קרא עוד
חיבור ידע מוצר לסוכני בינה מלאכותית: ארבעה לקחים מסיילספורס
ניתוח
4 דקות
מ־Salesforce Blog

חיבור ידע מוצר לסוכני בינה מלאכותית: ארבעה לקחים מסיילספורס

במאמר מאת Salesforce מפורטים ארבעה לקחים מניסיונה כמשתמשת הראשונה במוצריה (Customer Zero), ובפרט בחיבור ידע מוצר לסוכני בינה מלאכותית באמצעות Data 360 ו-Agentforce. החברה מתארת כיצד תשובות סוכן RAG תלויות באיכות התוכן הנשלף, וממליצה להעריך את מאגר הידע לפי התאמה, פער והתנגשות לפני בניית אינדקס. בנוסף מומלץ לפתח תצורות על בסיס השערות שנבדקות כמותית ואיכותית ולא לפי מפרט קשיח, להגדיר מראש מאגר נתוני ייחוס לבדיקות, ולשלב בדיקות אנושיות לצד מדדים אלגוריתמיים כדי למנוע דחיות שווא לפני עלייה לייצור.

קרא עוד
מדוע סוכני ה-AI מהירים אך התהליכים לא: המודל של סיילספורס
ניתוח
4 דקות
מ־Salesforce News

מדוע סוכני ה-AI מהירים אך התהליכים לא: המודל של סיילספורס

במאמר שפורסם בסיילספורס (Salesforce), נטען כי ארגונים רבים מתקשים להפיק ערך מבינה מלאכותית משום שהם משלבים סוכנים בשלבים בודדים בלבד, בעוד שאר התהליך ממשיך להתנהל בקצב אנושי איטי. כדי לפתור זאת, החברה פיתחה את מתודולוגיית Rapid Innovation Squads (RIS) – צוותים מצומצמים המשלבים מחזיק עניין עסקי בעל דעה עם בונים סוכנותיים, הפועלים במעגלי עבודה יומיים קצרים לצד כלי קידוד סוכנותיים. דוגמאות מיישום המודל בסיילספורס כוללות פיתוח אפליקציות ואוטומציות במכירות, בהנדסת פתרונות ובמחלקה המשפטית בתוך ימים או שבועות בודדים, שהביאו לחיסכון של מאות אלפי דולרים ולהאצה משמעותית בקבלת החלטות ובמסירת תוצאות.

קרא עוד