Carrefour's Gemini agent answers data questions in minutes
Carrefour's central Data Platform team built a RAG agent on Gemini and Google Cloud ADK that answers staff data and SQL questions inside the Google Chat space where they already ask for help.
- under 2 minutesSupport resolution time1Measured
- 75%Rated answers judged good enough without an engineer2Measured
- 0.5 FTEEngineering time saved1, 2Estimate
CarrefourFranceGroceryIn productionWho built it Built in-house (Google Cloud)Where it runs Public cloudHuman oversight Acts under watchUse case Knowledge assistantScale 700 to 800 active internal usersScenario Data platform user support in team chatBusiness function IT operationsOrganization Enterprise, 100,000 employees or moreAI types Generative AI, Agentic AI, Conversational AIUsers 700 to 800Team size a single developer
- Who built it
- Built in-house (Google Cloud)
- Where it runs
- Public cloud
- Human oversight
- Acts under watch
- Use case
- Knowledge assistant
- Scale
- 700 to 800 active internal users
- Scenario
- Data platform user support in team chat
- Business function
- IT operations
- Organization
- Enterprise, 100,000 employees or more
- AI types
- Generative AI, Agentic AI, Conversational AI
- Users
- 700 to 800
- Team size
- a single developer
tl;drData platform questions now get answers in under 2 minutes instead of hours, saving about 0.5 FTE.See the results
Carrefour’s central Data Platform team runs the Data Platform Assistant, a retrieval-augmented generation (RAG) chatbot that answers internal users’ data and SQL questions inside Google Chat2. The agent runs on Gemini 2.5 Pro and Google Cloud ADK1.
The assistant replies in the support space where users already asked engineers for help, with answers drawn from Confluence documentation, past chat threads and BigQuery metadata1, 2. Group Data Architect Guillaume Blaquière built the first version in a single weekend1.
In August 2026, the assistant was the most used agent at Carrefour, with 700 to 800 active internal users2. In November 2026, Google Cloud published its account: support resolution times fell from several hours, or a full working day, to under 2 minutes, and the assistant saved about 0.5 FTE of engineering work1.
Before the deployment
Carrefour runs more than 15,000 stores in more than 40 countries1. Its central Data Platform team provides platform engineering to internal teams, from e-commerce and supply chain to HR and finance, that ingest, produce or consume data2.
Anyone in the company could ask about the platform or a dataset in a dedicated Google Chat space, and platform engineers answered by hand2. Users preferred asking in the chat to reading the extensive documentation2.
- Repeated questions: Because of the company’s scale and team turnover, engineers kept answering the same questions2.
- Manual answers: An engineer read each question, searched Confluence or recalled edge cases from past chats, wrote the answer and sometimes a custom BigQuery SQL snippet2.
- Waiting time: Users often waited hours, or a full working day, for an engineer to become available2.
- Lost engineering time: Support work pulled engineers away from core platform development2.
The assistant sits beside wider Gemini use at Carrefour. AI.Carrefour, a generative AI assistant for staff, reached 125,000 employees in eight countries by August 20253. In February 2026, chief executive Alexandre Bompard said Carrefour had deployed Gemini to 250,000 employees in 20254.
What was built
The Data Platform Assistant picks up each question posted in the Google Chat support space, retrieves context from the documentation and past chat threads, and answers in the same thread with sample queries2. The work divides this way:
- Gemini 2.5 Pro: Reasons over the retrieved context and writes the answer1, 2.
- ADK agent: Defines the agent, routes its tools and runs the conversational loop2. It inspects BigQuery metadata to generate valid sample SQL1.
- Middleware: Translates between Google Chat webhooks and the agent in both directions2.
- Platform engineers: Join a thread when the agent’s answer is incomplete. Their replies feed the chat history that the agent retrieves for later questions1, 2.
Alternatives considered
- A standalone web application: Users would have to break their workflow, open a new URL and learn a new interface2. Such portals often fail on low adoption, so the team put the agent in the existing support rooms1.
Technology and architecture
Google Cloud ADK is an agent framework. In this deployment, it coordinates the reasoning loop, tool routing, session state and event streaming1. Cloud Run hosts both the middleware and the agent, and it scales to zero at night and on weekends, because support is busy only during European working hours2, 1.
| Layer | What they used | Role |
|---|---|---|
| Language model | Gemini 2.5 Pro | Reasons over the retrieved context and writes each answer, with sample SQL1, 2 |
| Agent orchestration | Google Cloud ADK | Defines the agent, routes its tools and runs the conversational loop1, 2 |
| Search and vector index | Agent Search (Discovery Engine) | Chunks, embeds and indexes Confluence pages and past Google Chat discussions for retrieval1, 2 |
| Agent orchestration | Agent Session Management | Persists agent context so multi-turn conversations stay consistent over days or weeks1, 2 |
| Tools and actions | BigQuery MCP server | Lets the agent inspect BigQuery metadata to generate valid sample SQL1, 2 |
| APIs and connectors | FastAPI middleware | Acknowledges each webhook at once and posts the reply in the thread1, 2 |
| Chat interface | Google Chat | The existing support space where users ask and the agent answers1, 2 |
| Cloud platform | Cloud Run | Hosts the middleware and the ADK agent, scaling to zero outside working hours1, 2 |
| Monitoring | BigQuery Agent Analytics | Streams agent events to BigQuery to track performance, usage and cost1, 2 |
| Knowledge content | Confluence | Holds the data platform documentation the agent retrieves from1, 2 |
The team moved from ADK 1 to ADK 2 without disruption, and it is testing Gemini 3.5 Flash to speed up answers2.
Data inputs
- User questions: Messages in the support space about using the platform or querying datasets2.
- Confluence documentation: Agent Search chunks, embeds and indexes the pages2.
- Past Google Chat threads: Indexed to capture unwritten knowledge and edge cases1.
- BigQuery metadata: Read through the MCP server so the agent can write valid sample SQL2.
Integrations
- Google Chat: The Chat API sends each message to the middleware as an HTTP POST webhook. The middleware posts the answer into the right thread through the asynchronous Chat API client1.
- Confluence: The team extracts the documentation into Agent Search2.
- BigQuery: The agent reads metadata through the MCP server, and the Agent Analytics plugin streams agent telemetry into BigQuery2.
How one question flows through the system
Google Chat expects an immediate response to a webhook, while retrieval and generation take several seconds1. The middleware therefore acknowledges each message at once and answers later from a background task, which prevents timeouts1.
Results
By August 2026, the assistant had 700 to 800 active internal users and handled 100 to 200 deep technical discussions a week2. Google Cloud’s account of November 2026 puts resolution time under 2 minutes1.
| Metric | Before | After | Scope and timeframe |
|---|---|---|---|
| Support resolution time | Several hours to a full working day | under 2 minutes1 | Questions in the Data Platform Google Chat support space |
| Rated answers judged good enough without an engineer | 75%2 | Answers that users rated | |
| Engineering time saved | 0.5 FTE1, 2 | Data Platform engineers’ support work |
- Infrastructure cost: Cloud Run scales to zero at night and on weekends, which keeps hosting costs to a minimum1.
Lessons learned
Integration, not the model, took most of the work. The middleware held the bulk of the development complexity, and extracting clean data from Confluence, the Chat-to-ADK translation and session handling took the most effort1, 2. The agent logic itself was fast to build with the ADK2.
Putting the agent where users already asked for help drove adoption. It reached 700 to 800 active users with no change management, and became the most used agent at Carrefour2.
The agent doesn’t close every question. When an answer is incomplete, engineers still join the thread, and a quarter of the answers that users rated weren’t judged good enough2, 1. Their replies add to the chat history the agent retrieves from, which the team sees as a source of trust2.
The two accounts word the 75% figure differently. The forum article counts rated answers judged good enough2, and Google Cloud’s story calls it the share of incoming queries the assistant resolves on its own1.
All the figures are Carrefour’s own, published on Google’s developer forum and in Google Cloud’s customer story2, 1. The 0.5 FTE saving is an approximation1.
Case study scorecard
Sources by publication date
- Vendors and partners 2
- Press, academic, and regulators 2
Build this solution yourself
Analysis
What you need
- One support channel that users already use: The agent works because questions already arrived in one Google Chat space, where it could reply in the thread2.
- Documentation plus answered threads: Retrieval draws on Confluence and on past chats, which hold the edge cases the documentation misses1, 2.
- A layer that acknowledges first and answers later: Google Chat expects an immediate response, and RAG answers take seconds1.
- Engineers who stay in the space: Answers that fall short still need a person, and their replies feed the retrieval data2.
Reference architecture
Knowledge assistant
Answers staff questions from your own documents and shows where each answer comes from.
- Chat interface (used in this case study)
- Assistant platform
- Search index (used in this case study)
- Knowledge content (used in this case study)
- Content ingestion
- Embedding and ranking models
- Language model (used in this case study)
- Answer ratings
- Business system
- Test set of sample questions
Others who built it
- McKinsey & Company: How McKinsey built Lilli to search its own knowledge. Over 75% of McKinsey's 43,000 staff use Lilli monthly, and it answers 500,000+ prompts a month.
- Rockwell Automation: Rockwell's AI maintenance copilot cuts downtime 33%. Repair time fell from 18 to 12 minutes and machine downtime by 33% at Rockwell's Singapore plant.
- Port of Antwerp-Bruges: Port of Antwerp-Bruges' APICA agent writes SQL for staff. An urgent COO data request took 20 minutes with APICA instead of a full workday.
- Workday: How Workday built an AI Sales Companion for its sellers. Sales Companion cut prospecting cycle time by 75% and reached 4,500+ active users at Workday.
- Morgan Stanley: How Morgan Stanley advisors put GPT-4 to work on research. By June 2024, 98% of Morgan Stanley's financial advisor teams had adopted its GPT-4 assistant.
- Luxgap: Luxgap's AI assistant answers privacy questions in minutes. Answers to standardized data protection questions dropped from 24 hours to under five minutes.
Cite this case study
Enterprise AI Case Studies. "Carrefour's Gemini agent answers data questions in minutes." Updated Dec 1, 2026. https://case-studies.ai/case-studies/process-automation/PA-152-data-platform-support-agent-carrefour/
@misc{csai-pa-152,
author = {{Enterprise AI Case Studies}},
title = {{Carrefour's Gemini agent answers data questions in minutes}},
year = {2026},
note = {Updated 2026-12-01},
url = {https://case-studies.ai/case-studies/process-automation/PA-152-data-platform-support-agent-carrefour/}
}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 (23)
Carrefour transformed internal support by deploying a serverless, RAG-based AI assistant in Google Chat, reducing resolution times from hours to under two minutes while resolving 75% of queries.
the central Data Platform team solved this bottleneck by building a serverless, Retrieval-Augmented Generation (RAG) agent that handles complex technical and SQL-related questions directly inside Google Chat
The first MVP was built by Group Data Architect Guillaume Blaquière in just a single weekend
At the center of orchestration is the Google Cloud ADK, which coordinates the core agent reasoning loops, tool routing, session state with Gemini platform Sessions
observability with near real-time agent event streaming to BigQuery thanks to the BigQuery Agent Analytics (BQAA) plugin (allowing the team to track performance, usage patterns, and costs in real-time)
The analytical brain is Built with Gemini 2.5 Pro, selected for its advanced reasoning capabilities and European regional availability.
Gemini platform Search (Discovery Engine) indexes internal Confluence wikis and historical Google Chat threads to capture unwritten
The entire setup is hosted on Cloud Run, which runs both the middleware and the ADK code.
a BigQuery Managed Context Protocol (MCP) server allows the agent to safely inspect database metadata to generate valid BigQuery SQL queries on the fly
Integrating this component is essential to preserve conversational context during complex, multi-turn SQL troubleshooting queries
In a standard webhook architecture, a messaging platform like Google Chat expects an immediate synchronous response to prevent timeout errors. However, RAG pipelines and LLM generation can take up to several seconds to fully process.
the Carrefour team built an asynchronous, serverless middleware layer using FastAPI on Cloud Run
Designing and implementing this custom middleware was where the bulk of the development complexity resided.
The middleware receives the HTTP POST webhook from the Google Chat API and immediately returns a 200 OK status to the platform.
This background task sends the user's query to the ADK agent endpoint, which retrieves relevant context through Gemini platform Search and prompts Gemini.
the middleware uses the asynchronous Google Chat API client to push the answer back into the correct conversation thread
Traditional support resolution times dropped from several hours or even a full working day down to less than two minutes.
Because the AI assistant resolves roughly 75% of incoming queries successfully on its own, it has saved approximately half of a full-time employee's workload (0.5 FTE).
because Cloud Run scales to zero on nights and weekends, the infrastructure costs are kept to a bare minimum
Building a standalone web portal for an AI assistant often fails due to low user adoption. By deploying the assistant straight into the active Google Chat support rooms, Carrefour minimized change management.
human engineers can jump directly into the thread to help
feeds back into the historical RAG data for the next query
With a multi-format network of more than 15,000 stores in more than 40 countries, the Carrefour Group is one of the world leaders in food commerce.
- Source 2:
From repetitive queries to instant SQL: Building Carrefour's internal data assistant in a weekend
Supporting excerpts (31)
Shout out to Guillaume Blaquiere, Group Data Architect at Carrefour, for helping bring this story to life!
a global retail leader with 80 million customers and 335,000 employees
We provide platform engineering resources for internal teams, from e-commerce and supply chain to HR and finance, who need to ingest, produce, or consume data.
we maintain a dedicated Google Chat space where anyone in the company can drop in to ask questions about using the data platform or querying specific datasets
Because of our immense scale and natural team turnover, our platform engineers were constantly answering the exact same questions.
While we maintain extensive documentation, users naturally prefer asking questions in the chat.
A human engineer would have to manually read the question, search our Confluence documentation (or attempt to recall edge cases from past chat histories), formulate an answer, and sometimes write a custom BigQuery SQL snippet for the user.
pulling our engineers away from core platform development
it meant they often had to wait hours, or even a full working day, for an engineer to become available
we built a Retrieval-Augmented Generation (RAG) chatbot called the Data Platform Assistant
the agent automatically intercepts questions, retrieves relevant context from our documentation and past chat histories, and provides highly accurate answers, complete with sample queries, in a matter of minutes
the first Minimum Viable Product (MVP) of this agent was built by a single developer over a single weekend
Google Cloud ADK: The core orchestration framework used to define the agent, manage its tools, and handle the conversational loop.
The transition from ADK1 to ADK 2 was very smooth and transparent.
Gemini 2.5 Pro: The conversational reasoning brain of the agent, selected for its capabilities and regional availability in Europe.
We are actively testing 3.5 Flash to further optimize speed
Agent Search (Discovery Engine): Powers the RAG pipeline. It creates the chunks, generates the embeddings and indexes our Confluence documentation as well as historical Google Chat discussions
Because internal support is only heavily utilized during European working hours
Agent Session Management: A serverless manager that captures and persists agent context, enabling multi-turn interactions that remain consistent even after several days or weeks.
We use the BigQuery Managed Context Protocol (MCP) server so the agent can safely explore metadata and generate valid sample SQL.
We also use the Agent Analytics plugin to stream detailed agent telemetry directly into BigQuery.
We built a custom middleware layer hosted on Cloud Run to translate incoming Google Chat API webhooks into a format the ADK could process, and vice versa.
Performance: Support resolution times dropped from hours/days down to ~2 minutes.
It is now the most used agent at Carrefour, supporting 700 to 800 active internal users and handling 100 to 200 deep technical discussions per week with zero change-management friction.
75% of rated answers are evaluated as good and enough, no additional human needs to solve the issue or clarify data platform usage.
0.5 FTE saved and allocated to more critical tasks
Extracting clean data from Confluence into Agent Search, building the custom middleware to translate between the Google Chat API and the ADK, and managing state and sessions took the most effort.
Building a shiny new standalone web application for an AI chatbot, which requires users to break their workflow, navigate to a new URL, and learn a new UI.
If a user asks a question, the agent replies.
a human engineer can jump in, seamlessly adding to the thread
This hybrid approach builds immediate trust and actively enriches our chat history RAG data for future queries.
- Source 3:
Carrefour rolls out AI assistant for 125,000 staff
Supporting excerpts (1)
French multinational retailer Carrefour has completed the rollout of its generative AI assistant to 125,000 employees across eight countries.
- Source 4:
How Carrefour is following Walmart's lead as its 2030 AI-enabled transformation kicks in
Supporting excerpts (2)
We have already taken a first step by deploying Gemini to 250,000 employees in 2025.
Carrefour is looking at spending more than €100 million a year on AI by 2030
Comments
Start the conversation.
Invited members of the library comment here. Sign in to join the conversation.