Choose your region

    Lists show the case studies of your region first. Browse and search still hold every case study.

    Europe
    North America

    How McKinsey built Lilli to search its own knowledge

    McKinsey built Lilli, a generative AI platform that searches the firm's curated archive, summarizes what it finds with page-level sources and points consultants to the experts behind it.

    McKinsey & CompanyUnited StatesConsultingScaled since 2023
    Scale
    More than 500,000 prompts a month
    Scenario
    Internal knowledge search and synthesis
    Business function
    Knowledge management
    Kind of solution
    Knowledge assistant
    Who built it
    Built in-house (Cohere, OpenAI, and Microsoft)
    Human oversight
    Assists people
    Organization
    Enterprise, 10,000 to 99,999 employees
    AI types
    Generative AI, Conversational AI
    Users
    approximately 7,000
    Sites
    Ten
    Team size
    over 70

    Sources and their publishers

    This case study draws on reporting by the following publishers. Enterprise AI Case Studies combined these accounts and added its own explanation. The reporting, and every passage quoted from it, belongs to whoever published or supplied it.

    1. McKinsey & Company

    2. VentureBeat

    3. CIO Dive

    4. Entrepreneur

    5. Fortune

    6. Harvard Business School

    7. Computerworld

    8. The Stack

    9. The Decoder

    tl;drOver 75% of McKinsey's 43,000 staff use Lilli monthly, and it answers 500,000+ prompts a month.See the results

    View the solutionBuild this solution yourself

    McKinsey & Company uses Lilli, a generative AI platform that it built, to search and summarize the firm’s own knowledge for its consultants1. A consultant types a question, and Lilli returns the most relevant content with links and the experts who know the field1.

    McKinsey announced Lilli in August 20231. It started as a knowledge extraction and synthesis tool and became an orchestration layer that coordinates many types of knowledge inside and outside the firm3.

    About a year after its firmwide rollout in July 2023, 72% of the firm was active on Lilli, and it answered more than 500,000 prompts a month2. By June 2025, over 75% of McKinsey’s 43,000 employees used it monthly6.

    Before the deployment

    By 2023, McKinsey’s knowledge had built up in layers1. It started with the firm’s experts, who turned it into playbooks, case studies, and white papers1. Later it also became analytics tools such as Wave, Corporate Performance Analytics, and Periscope1. Finding the right part of it had the following costs:

    • A scattered archive: The firm’s intellectual property spanned more than 40 curated knowledge sources, more than 100,000 documents and interview transcripts, and a network of experts across 70 countries1.
    • Slow project starts: The first plan for an engagement meant finding the most salient research and the right experts1. Even for senior colleagues, that typically took two weeks of researching and networking, and people new to the firm found it overwhelming1.
    • Slow comparisons: Finding analogues or comparables, companies that had solved a similar problem elsewhere, could take days of chasing down the right experts1.

    Erik Roth, the senior partner who led Lilli’s development, and his team were studying how colleagues could reach the firm’s best insights when ChatGPT exploded3. The question became what would happen if McKinsey trained such a model on its own information3.

    What was built

    Lilli answers a consultant’s question from McKinsey’s own archive and shows where each part of the answer came from1, 4. The work is divided as follows:

    • Data stewards: Hundreds of them curate content, check its accuracy and quality, and sanitize it for client confidentiality before it becomes searchable1. Anything loaded into Lilli, McKinsey’s own data included, also goes through an extensive compliance risk assessment4.
    • Lilli: Scans the firm’s knowledge, identifies the five to seven most relevant pieces of content, summarizes the key points, and names experts in the field1. A Sources section under every answer gives links and page numbers, which Roth called going “full attribution”4.
    • Consultants: Type a question, search, or prompt into the chat window, and decide what to do with the answer4. Bob Sternfels, the chief executive, said “There isn’t truth in AI models; there isn’t judgment” and that humans need to impose those parameters8.
    • Build team: McKinsey’s “ClienTech” team under chief technology officer Jacky Wright designed Lilli4. Legal, cyber security, risk management, and talent development were brought in while it was built1. The initial team of three grew to over 70 experts by August 2023, and Roth put it at well over 150 in November 20241, 3.

    “Lilli aggregates our knowledge and capabilities in one place for the first time and will allow us to spend more time with clients activating those insights and recommendations and maximizing the value we can create”

    Erik Roth, senior partner at McKinsey & Company1

    In 2023, Lilli had two tabs4. Client Capabilities answered from McKinsey’s corpus of more than 100,000 documents, transcripts, and presentations, and GenAI Chat drew on a more general large language model4. The firm built both to learn about and compare what it had internally with what was publicly available4.

    Lilli’s scope widened after launch, from search to agents. Its agents framework added tools such as Tone of Voice, the most used agent in the beta group, which rewrites any prose in McKinsey house style3. By June 2026, consultants could hand Lilli a problem statement or a short brief and ask for draft slides, synthesized findings, or a proposal in a consistent tone7.

    Rollout

    McKinsey launched Lilli to about 2,500 colleagues first, to learn from them and turn them into evangelists, and then added waves of users3. The team still runs alpha groups, beta groups, and LilliX, a unit that does experimental research3.

    Figure 1From beta to firmwide use
    From beta to firmwide useLilli entered beta in June 2023. McKinsey's case study dates the firmwide rollout to July 2023, and the launch was announced in August 2023, when about 7,000 employees were using it. In November 2024 the firm launched an agents framework to a beta group of about 2,500 people. In June 2025 McKinsey said over 75% of its 43,000 employees used Lilli monthly. In January 2026 some job candidates were asked to use Lilli in a hiring test. In March 2026 a security flaw in Lilli's API was reported and, by McKinsey's account, fixed.Jun 2023Jun 2023 · Beta begins · Documented in source [4]Beta beginsJul 2023Jul 2023 · Firmwide rollout, per McKinsey's case study · Documented in source [2]Firmwide rollout, perMcKinsey's case studyAug 2023Aug 2023 · Launch announced, about 7,000 users · Documented in sources [4] [5]Launch announced, about 7,000 usersNov 2024Nov 2024 · Agents framework in beta · Documented in source [3]Agents framework in betaJun 2025Jun 2025 · Over 75% of 43,000 staff use it monthly · Documented in source [6]Over 75% of 43,000 staff use it monthlyJan 2026Jan 2026 · Lilli used in some hiring tests · Documented in source [8]Lilli used in some hiring testsMar 2026Mar 2026 · API flaw reported and fixed · Documented in sources [11] [12]API flaw reported and fixed
    • Key milestone
    Sources [2][3][4][5][6][8][11][12]
    Lilli went from a June 2023 beta to monthly use by over three-quarters of staff within two years.

    Adoption runs as a program of its own. Lilli is part of onboarding and of the quarterly risk and legal assessments that the whole firm completes, and staff get training sessions and an in-app how-to guide3. Ten offices have Lilli communities that send the team ideas3.

    The team also slowed what it built to the pace of user feedback, because a team can build faster than it can learn from users3.

    Technology and architecture

    Figure 2How Lilli finds and answers from McKinsey's archive
    How Lilli finds and answers from McKinsey's archiveData stewards curate and sanitize content into McKinsey's curated knowledge sources, and a compliance risk assessment approves what is loaded. OpenAI embedding models and GPT-4o-generated metadata turn the documents into vector stores. A consultant types a question into the Lilli chat interface. Semantic and keyword search pulls candidate chunks from the vector stores, the Cohere re-ranker refines the results, and a relevancy check picks the highest-value chunks. The answer is synthesized with citations and returned to the chat interface, which shows the consultant links and page numbers. No part of the figure is inferred.curated content (data) · Documented in source [1]approves what is loaded (trigger or control) · Documented in source [4]documents (data) · Documented in source [11]documents (data) · Documented in source [11]embeddings (data) · Documented in source [11]metadata (data) · Documented in source [11]question (data) · Documented in sources [1] [4]question (data) · Documented in source [11]candidate chunks (data) · Documented in source [11]search results (data) · Documented in source [11]top results (data) · Documented in source [11]highest-value chunks (data) · Documented in source [11]answer and citations (data) · Documented in sources [4] [11]links and page numbers (handoff to people) · Documented in source [4]CURATED KNOWLEDGEINDEXINGSEARCH AND ANSWERData stewards · Team · Documented in source [1]TEAMData stewardsCompliance risk assessment · Step · Documented in source [4]ComplianceriskassessmentCurated knowledge sources · Data · Documented in sources [1] [5]DATACuratedknowledgesourcesOpenAI embedding models · AI model · Documented in source [11]AI MODELOpenAIembeddingmodelsGPT-4o metadata · AI model · Documented in source [11]AI MODELGPT-4ometadataVector stores · Data · Documented in source [11]DATAVector storesConsultant · Person · Documented in source [1]PERSONConsultantLilli chat interface · Application · Documented in source [4]APPLICATIONLilli chatinterfaceSemantic and keyword search · Step · Documented in source [11]Semanticand keywordsearchCohere re-ranker · AI model · Documented in source [11]AI MODELCoherere-rankerRelevancy check · Step · Documented in source [11]RelevancycheckAnswer with citations · Step · Documented in source [11]Answer withcitationscurated contentapproveswhat is loadeddocumentsdocumentsembeddingsmetadataquestionquestioncandidatechunkssearch resultstop resultshighest-valuechunksanswer andcitationslinks and pagenumbersHow Lilli finds and answers from McKinsey's archiveData stewards curate and sanitize content into McKinsey's curated knowledge sources, and a compliance risk assessment approves what is loaded. OpenAI embedding models and GPT-4o-generated metadata turn the documents into vector stores. A consultant types a question into the Lilli chat interface. Semantic and keyword search pulls candidate chunks from the vector stores, the Cohere re-ranker refines the results, and a relevancy check picks the highest-value chunks. The answer is synthesized with citations and returned to the chat interface, which shows the consultant links and page numbers. No part of the figure is inferred.curated content (data) · Documented in source [1]approves what is loaded (trigger or control) · Documented in source [4]documents (data) · Documented in source [11]documents (data) · Documented in source [11]embeddings (data) · Documented in source [11]metadata (data) · Documented in source [11]question (data) · Documented in sources [1] [4]question (data) · Documented in source [11]candidate chunks (data) · Documented in source [11]search results (data) · Documented in source [11]top results (data) · Documented in source [11]highest-value chunks (data) · Documented in source [11]answer and citations (data) · Documented in sources [4] [11]links and page numbers (handoff to people) · Documented in source [4]CURATED KNOWLEDGEINDEXINGSEARCH AND ANSWERData stewards · Team · Documented in source [1]TEAMData stewardsCompliance risk assessment · Step · Documented in source [4]Compliance riskassessmentCurated knowledge sources · Data · Documented in sources [1] [5]DATACurated knowledgesourcesOpenAI embedding models · AI model · Documented in source [11]AI MODELOpenAIembedding modelsGPT-4o metadata · AI model · Documented in source [11]AI MODELGPT-4o metadataVector stores · Data · Documented in source [11]DATAVector storesConsultant · Person · Documented in source [1]PERSONConsultantLilli chat interface · Application · Documented in source [4]APPLICATIONLilli chat interfaceSemantic and keyword search · Step · Documented in source [11]Semantic andkeyword searchCohere re-ranker · AI model · Documented in source [11]AI MODELCohere re-rankerRelevancy check · Step · Documented in source [11]Relevancy checkAnswer with citations · Step · Documented in source [11]Answer with citationscurated contentapproves what is loadeddocumentsdocumentsembeddingsmetadataquestionquestioncandidate chunkssearch resultstop resultshighest-value chunksanswer and citationslinks and page numbers
    • AI component
    • Data
    • Trigger or control
    • Handoff to people
    Sources [1][4][5][11]
    Lilli searches a curated, embedded archive, re-ranks and filters the results, and returns an answer with citations to the consultant.

    Lilli’s language models come from outside the firm, and the software around them is McKinsey’s own4. At launch in 2023, Lilli used models from Cohere, a McKinsey partner, and from OpenAI on the Microsoft Azure platform for its GenAI Chat and natural language processing4. McKinsey built the application as a secure layer between the user and the underlying data4. Roth called the firm “LLM agnostic,” because it keeps testing new models to see which offer the most utility4.

    In Roth’s words, Lilli isn’t a retrieval-augmented generation (RAG) instance, a system that looks up documents and has one model answer from them3. It combines large and small models in a software stack that recognizes the intent of a question and is tuned to McKinsey’s client service3. Roth calls that fit for an organization that must be mindful of regulation, security, access, and protecting its information3.

    The following table lists the components of Lilli.

    Layer What they used Role Source
    Solution platform Lilli orchestration layer, built by McKinsey Sits between users, the corpus and the models; reads intent and combines large and small models 3, 4
    Chat interface Lilli chat interface Chat window with saved prompts, Client Capabilities and GenAI Chat tabs, and a Sources section 4
    Embedding and ranking model OpenAI embedding models Turn the firm’s knowledge into embeddings in vector stores 11
    Search and vector index Vector stores Serve semantic and keyword search for each question 11
    Language model OpenAI GPT-4o Generates metadata that helps search pull the best chunks 11
    Embedding and ranking model Cohere re-ranker Refines the search results before the relevancy check 11
    Language model Cohere Models behind chat and language processing at launch 4
    Language model OpenAI on the Microsoft Azure platform Models behind chat and language processing at launch 4

    Data inputs

    Lilli uses the following data:

    • The consultant’s question: A question, search, or prompt typed into the text box at the bottom of the chat window4.
    • The curated archive: More than 40 curated knowledge sources with more than 100,000 documents and interview transcripts, internal and third-party, processed into vector stores1, 11.
    • The expert network: Experts across 70 countries, which lets Lilli name people as well as documents1.
    • External sources: A second mode answers from a more general large language model instead of the archive1, 4.
    • Client data: In 2023, the firm was developing a feature to upload client documents for private analysis on McKinsey servers, to be deployed only when ready4. By 2025, staff could use ChatGPT internally, but Lilli was the only platform where they could input confidential client data6.

    How one question flows through the system

    In 2023, Josh Sternberg, a partner in McKinsey’s Life Sciences Practice, was looking for an example of a company that manufactures a product in a very precise way1. A question like his follows the path that Jacky Wright, then chief technology and platform officer, described in early 202511:

    1. Sternberg types the question into the text box of the Lilli chat interface4.
    2. Semantic and keyword search pulls the best chunks from the vector stores, helped by metadata that OpenAI GPT-4o generated11. The vector stores hold the firm’s knowledge, processed with OpenAI embedding models11.
    3. The Cohere re-ranker refines the search results11.
    4. A proprietary filtering and relevancy check keeps the highest-value chunks. Lilli synthesizes the final answer from them, with citations back to the source documents11.
    5. The chat interface shows a summary of the five to seven most relevant pieces of content, with links, page numbers, and the experts who could say more1, 4.
    6. For Sternberg, Lilli came back with a device used to measure paint thickness, which he called unexpected but very apt1. On his own, he would have thought of other pharmaceutical examples or jet engine makers1.
    Figure 3One research question through Lilli
    One research question through LilliA consultant types a question into the Lilli chat interface. The interface sends it to semantic and keyword search over the vector stores, which returns candidate chunks. The Cohere re-ranker refines them and a relevancy check keeps the highest-value chunks, from which the final answer is synthesized with citations. The chat interface returns the summary with links, page numbers and relevant experts. If the answer is headed for a client, the consultant most likely checks the cited pages first, which is inferred.OPTanswer is headed for a client1. question in plain language · Documented in sources [1] [4]1ConsultantLilli chat interfacequestion in plain language2. semantic and keyword search · Documented in source [11]2Lilli chat interfaceSearch over vector storessemantic and keyword search3. candidate chunks · Documented in source [11]3Search over vector storesCohere re-rankercandidate chunks4. top results · Documented in source [11]4Cohere re-rankerAnswer synthesistop results5. relevancy check, then answer · Documented in source [11]5Answer synthesisrelevancy check, then answer6. answer with citations · Documented in source [11]6Answer synthesisLilli chat interfaceanswer with citations7. summary, links, page numbers · Documented in sources [1] [4]7Lilli chat interfaceConsultantsummary, links, page numbers8. relevant experts · Documented in source [1]8Lilli chat interfaceConsultantrelevant experts9. checks the cited pages · Inferred, not documented in the sources (builds on source [1])9Consultantchecks the cited pagesOne research question through LilliA consultant types a question into the Lilli chat interface. The interface sends it to semantic and keyword search over the vector stores, which returns candidate chunks. The Cohere re-ranker refines them and a relevancy check keeps the highest-value chunks, from which the final answer is synthesized with citations. The chat interface returns the summary with links, page numbers and relevant experts. If the answer is headed for a client, the consultant most likely checks the cited pages first, which is inferred.OPTanswer is headed for a client1. question in plain language · Documented in sources [1] [4]1question inplain language2. semantic and keyword search · Documented in source [11]2semantic andkeyword search3. candidate chunks · Documented in source [11]3candidatechunks4. top results · Documented in source [11]4top results5. relevancy check, then answer · Documented in source [11]5relevancy check,then answer6. answer with citations · Documented in source [11]6answer with citations7. summary, links, page numbers · Documented in sources [1] [4]7summary, links,page numbers8. relevant experts · Documented in source [1]8relevant experts9. checks the cited pages · Inferred, not documented in the sources (builds on source [1])9checks thecited pagesConsultant · Person · Documented in source [1]ConsultantLilli chat interface · Application · Documented in source [4]Lilli chatinterfaceSearch over vector stores · Data · Documented in source [11]Search overvector storesCohere re-ranker · AI model · Documented in source [11]Coherere-rankerAnswer synthesis · Step · Documented in source [11]AnswersynthesisOne research question through LilliA consultant types a question into the Lilli chat interface. The interface sends it to semantic and keyword search over the vector stores, which returns candidate chunks. The Cohere re-ranker refines them and a relevancy check keeps the highest-value chunks, from which the final answer is synthesized with citations. The chat interface returns the summary with links, page numbers and relevant experts. If the answer is headed for a client, the consultant most likely checks the cited pages first, which is inferred.OPTanswer is headed for a client1. question in plain language · Documented in sources [1] [4]1question inplain language2. semantic and keyword search · Documented in source [11]2semantic andkeyword search3. candidate chunks · Documented in source [11]3candidate chunks4. top results · Documented in source [11]4top results5. relevancy check, then answer · Documented in source [11]5relevancy check,then answer6. answer with citations · Documented in source [11]6answer with citations7. summary, links, page numbers · Documented in sources [1] [4]7summary, links,page numbers8. relevant experts · Documented in source [1]8relevant experts9. checks the cited pages · Inferred, not documented in the sources (builds on source [1])9checks thecited pagesConsultant · Person · Documented in source [1]ConsultantLilli chat interface · Application · Documented in source [4]Lilli chat interfaceSearch over vector stores · Data · Documented in source [11]Search overvector storesCohere re-ranker · AI model · Documented in source [11]Cohere re-rankerAnswer synthesis · Step · Documented in source [11]AnswersynthesisOne research question through LilliA consultant types a question into the Lilli chat interface. The interface sends it to semantic and keyword search over the vector stores, which returns candidate chunks. The Cohere re-ranker refines them and a relevancy check keeps the highest-value chunks, from which the final answer is synthesized with citations. The chat interface returns the summary with links, page numbers and relevant experts. If the answer is headed for a client, the consultant most likely checks the cited pages first, which is inferred.OPTanswer is headed for a client1. question in plain language · Documented in sources [1] [4]1question in plain language2. semantic and keyword search · Documented in source [11]2semantic and keyword search3. candidate chunks · Documented in source [11]3candidate chunks4. top results · Documented in source [11]4top results5. relevancy check, then answer · Documented in source [11]5relevancy check,then answer6. answer with citations · Documented in source [11]6answer with citations7. summary, links, page numbers · Documented in sources [1] [4]7summary, links, page numbers8. relevant experts · Documented in source [1]8relevant experts9. checks the cited pages · Inferred, not documented in the sources (builds on source [1])9checks the cited pagesConsultant · Person · Documented in source [1]ConsultantLilli chat interface · Application · Documented in source [4]Lilli chat interfaceSearch over vector stores · Data · Documented in source [11]Search overvector storesCohere re-ranker · AI model · Documented in source [11]Cohere re-rankerAnswer synthesis · Step · Documented in source [11]Answersynthesis
    • AI component
    • Data
    • Trigger or control
    • Handoff to people
    • Inferred, not documented
    Sources [1][4][11]
    Lilli searches, re-ranks and filters before it writes, and every answer comes back with its sources.

    Results

    The following table lists Lilli’s published results.

    Metric Before After Scope and timeframe Reported by
    Share of the firm active on Lilli Not disclosed 72% About a year after the July 2023 firmwide rollout McKinsey, measured2
    Prompts answered per month Not disclosed More than 500,000 Same period, firmwide McKinsey, measured2
    Employees using Lilli monthly Not disclosed over 75% of 43,000 June 2025 McKinsey’s Kate Smaje to Bloomberg, measured6
    Average use by people who use Lilli Not disclosed 17 times per week 2025 A McKinsey senior partner to Business Insider, measured6
    Time spent searching and synthesizing knowledge Not disclosed Up to 30% less Colleagues’ own reports, 2024 McKinsey, estimated2
    Time for research and planning work Weeks Hours Beta, about 7,000 users, August 2023 McKinsey to VentureBeat, estimated4

    The following points explain the figures:

    • Time saved: The up to 30% is the share of time that colleagues reported saving on searching and synthesizing knowledge2. It’s the one efficiency figure for the whole firm2.
    • Content quality: McKinsey also reports an improvement in content quality and accuracy2. It measured it by blind scoring of outputs from people with and without Lilli, on a five-point scale for accuracy, content richness, and distinctiveness2.
    • Beta figures: By August 2023, Lilli had answered 50,000 questions in two weeks4. Research and planning work fell from weeks to hours and, in other cases, from hours to minutes4.
    • One user’s estimate: Adi Pradhan, an associate partner, reckoned that Lilli saved him up to 20% of his time preparing for meetings1.

    Lessons learned

    Lilli’s main strength is how far it spread, to most of a 43,000-person firm2, 6. It probably helped that data stewards had curated the archive first and that every answer links to its pages1, 4. “In a sense, the technology was the easy part,” said Phil Hudelson, the partner who leads development of McKinsey’s technology platforms1.

    A year after launch, McKinsey said regular engagement still needed work, and that upgrades were only a fraction of the fix2. In 2023, answers were sometimes a few seconds slower than leading commercial models, a trade that Roth accepted to put quality of information first4. In 2024, he said the models might look like they reason but don’t yet3.

    The most serious failure was in security, not in the AI. In March 2026, CodeWall, a start-up that sells an autonomous offensive-security platform, said its agent reached Lilli’s production database through a SQL injection flaw11, 12. It claimed access to 46.5 million chat messages, and its founder, Paul Price, said McKinsey’s own tools and third-party penetration tests had missed the flaw for more than two years11, 12.

    McKinsey fixed the flaw within hours, and its investigation, supported by an outside forensics firm, found no evidence that client data was accessed11. Edward Kiledjian, a security analyst, judged that CodeWall’s post overstated what it showed12. The Decoder’s lesson is that prompts and retrieval data stored beside ordinary data let an old bug change how the assistant behaves12.

    Every result is McKinsey’s own, and the 30% is an up-to figure from colleagues’ own reports2, 6. McKinsey told Business Insider that Lilli was “trained on” the firm’s intellectual property, while Wright described retrieval from vector stores6, 11. The founding team was three people in 2023 and four in Roth’s 2024 telling1, 3.

    The nearest outside evidence tested GPT-4, not Lilli, among 758 Boston Consulting Group consultants9. On 18 tasks inside the model’s frontier, they completed 12.2% more tasks, 25.1% faster9. On a complex task outside it, they were 19% less likely to be right9.

    Case study scorecard

    Build this solution yourself

    Analysis

    What you need

    To build a solution like Lilli, you need the following in place:

    • A curated, sanitized archive: Hundreds of data stewards had checked content and sanitized it for client confidentiality before any model touched it1. Page-level citations are only as useful as the pages that they point to.
    • A retrieval stack that you can shape: McKinsey combined embeddings, keyword search, a re-ranker, and its own relevancy check, instead of one model answering from raw documents11.
    • An adoption program: McKinsey put Lilli into onboarding, quarterly risk training, and team meetings, because upgrades were only a fraction of what drove regular use2, 3.

    Reference architecture

    Knowledge assistant

    A knowledge assistant answers a question that staff ask in their own words, by using the organization's own documents, and shows the sources of the answer. The search index returns the passages that best match a question, and a language model writes the answer from them. Content curators prepare the content beforehand, and the person who asked checks the answer and decides what to do with it.

    A check mark shows a building block that this case study's sources document.

    Open the reference architecture

    Others who built it

    • Boston Consulting Group built Deckster to generate slides, along with a natural language query search for its knowledge base10. Deckster had created or edited slides over 450,000 times since its March 2024 global launch10.
    • PwC was piloting ChatPwC, an internal generative AI assistant, with around 1,000 employees in August 20235.
    • Bain & Company gives its consultants Sage, an AI chatbot powered by OpenAI6.

    Cite this case study

    Enterprise AI Case Studies. "How McKinsey built Lilli to search its own knowledge." Updated Nov 19, 2026. https://case-studies.ai/case-studies/engineering-and-research/ER-003-knowledge-synthesis-consulting/

    @misc{csai-er-003,
      author = {{Enterprise AI Case Studies}},
      title = {{How McKinsey built Lilli to search its own knowledge}},
      year = {2026},
      note = {Updated 2026-11-19},
      url = {https://case-studies.ai/case-studies/engineering-and-research/ER-003-knowledge-synthesis-consulting/}
    }

    Sources

    The following reporting, and every passage quoted from it, belongs to its publisher, not to this site. Sources and ownership

    1. Source 1:

      Meet Lilli, our generative AI tool that's a researcher, a time saver, and an inspiration

      OrganizationMcKinsey & Company, Aug 16, 202316 Aug 2023Accessed Nov 16, 202616 Nov 2026

      Supporting excerpts (27)
      • we’re pleased to announce that we have now launched “Lilli,” our own generative AI solution for colleagues
      • It’s a platform that provides a streamlined, impartial search and synthesis of the firm’s vast stores of knowledge
      • Erik Roth, a senior partner with McKinsey who leads our firm’s development of Lilli
      • Lilli aggregates our knowledge and capabilities in one place for the first time and will allow us to spend more time with clients activating those insights and recommendations and maximizing the value we can create
      • explains Kitti Lakner, an associate partner and director of design for Lilli
      • our knowledge was with our experts. Over the years, our experts have used it to develop playbooks, case studies, and white papers that eventually became data, digital solutions, and analytics tools such as Wave, Corporate Performance Analytics (CPA), and Periscope.
      • Today, our firm’s intellectual property (IP) spans more than 40 carefully curated knowledge sources; there will be more than 100,000 documents and interview transcripts containing both internal and third-party content, and a network of experts across 70 countries.
      • When an engagement kicks off, creating the initial project plan is an important first step. This includes searching for the most salient research documents and identifying the right experts, which can be an overwhelming task for people who are new to our firm.
      • Even for senior colleagues, the work typically takes two weeks of researching and networking.
      • Before Lilli, “identifying analogues” or “comparables” could take days of chasing down the right experts.
      • A user can type in a question and Lilli can scan our entire landscape of knowledge, identify between five to seven of most relevant pieces of content, summarize key points, include links, and even identify experts in the appropriate fields.
      • The platform includes two modes: one for searching McKinsey's reserves of knowledge, and a second option for external sources.
      • For Adi Pradhan, an associate partner who specializes in technology strategy and transformations
      • It saves up to 20 percent of my time preparing for meetings
      • Josh Sternberg, a McKinsey partner in our Life Sciences Practice
      • I was looking for an example of a company that manufactures a product in a very precise way
      • Ordinarily, I would have been thinking of other pharmaceutical examples or say, manufacturers of jet engines.
      • Lilli came up with the example of a device used to measure paint thickness, which was unexpected but very apt.
      • piloted with real users—both consultants and internal clients
      • In a sense, the technology was the easy part
      • says Phil Hudelson, a McKinsey partner who leads the development of our technology platforms
      • The biggest challenge was to move quickly while bringing the right people to the table from functions such as legal, cyber security, risk management, and talent development
      • The initial team of three expanded to over 70 experts.
      • With QuantumBlack's deep experience in GenAI, including our QB Horizon suite and an ecosystem of partners, we're able to scale Lilli in a cost-effective, secure manner across thousands of colleagues by the end of the year.
      • The effort will include upskilling users on prompt engineering, content validation, and more.
      • McKinsey had the advantage of already having hundreds of people in place around the world who serve as “data stewards”: curating content, ensuring the accuracy and quality of data, sanitizing it for client confidentiality, and making it searchable and shareable across formats.
      • The platform is named for Lillian Dombrowski, the first professional woman hired by McKinsey in 1945
    2. Source 2:

      Rewiring the way McKinsey works with Lilli, our generative AI platform

      OrganizationMcKinsey & Company, 2024Accessed Nov 16, 202616 Nov 2026

      Supporting excerpts (12)
      • Since Lilli’s firmwide rollout in July 2023, the platform has been widely adopted, with 72 percent of the firm active on the platform, and colleagues reporting up to 30 percent time savings in searching and synthesizing knowledge.
      • More than 500,000 prompts every month (and growing)
      • improvement in content quality and accuracy
      • Blind scoring of the quality of outputs from participants with and without Lilli, using a predefined five-point scale for accuracy, content richness, and distinctiveness.
      • A year after launch, the Lilli team continues to deliver a robust pipeline of improvements
      • The addition of agents built to automate specific time-consuming tasks and expansion of Lilli’s slide-building capabilities.
      • While adoption continues to grow, there’s more work to do to boost regular engagement with the platform. Lilli upgrades make up only a fraction of the effort to that end
      • providing continued education, fostering gen AI enthusiast communities, and employee skill development will continue to stand front and center
      • we had to set up a new operating model that brought together parts of our firm that historically had not collaborated deeply
      • And we offer them a version of the architecture underlying our gen AI platform that is customizable for their organization’s specific work and industry
      • Testers of only a primitive Lilli prototype immediately leveraged it for everything from data analysis to planning and creative problem solving.
      • This indicated that Lilli could become a platform on which we build gen AI–based applications that completely rewire the way we operate.
    3. Source 3:

      What McKinsey learned while creating its generative AI platform

      OrganizationMcKinsey & Company, Nov 25, 202425 Nov 2024Accessed Nov 16, 202616 Nov 2026

      Supporting excerpts (27)
      • November 25, 2024 | Podcast
      • Erik Roth, a McKinsey senior partner and global leader of growth and innovation
      • And from there, as we started that investigation, ChatGPT exploded.
      • What if we train it on our own information?
      • Lilli started as a knowledge extraction and synthesis tool, but to your question, it has now become an orchestration layer that basically coordinates many different types of knowledge across and outside the firm.
      • the way it recognizes the intent of questions, and the way it fine-tunes answers to make them useful for our colleagues to bring to clients
      • It does this through the combination of large and small models that we use in the platform.
      • it is tuned to McKinsey and our client service
      • It’s not a RAG, or retrieval-augmented generation, instance. It’s a combination of many technologies coming together in a software stack
      • It’s very fit for purpose for an organization that needs to be thoughtful and mindful about regulation, security, access, and protecting its information.
      • There were only four of us to begin with. Now we’re well over 150.
      • in the early days, it was doing very classical, observational, ethnographic research on our colleagues.
      • Our entire development pipeline, every single element of it, whether it’s something in the stack that we’re improving on the platform side or a new capability that is delivered through our users, is linked to a user-specific problem.
      • The first question of every team meeting is, “Have you asked Lilli?”
      • integrating how to use Lilli into our earliest learning when you join the firm all the way to every quarter when we have our risk and legal assessments that the entire firm has to complete
      • So every quarter you’re reminded not just of the safe use of data but how to use Lilli within that construct.
      • Ten offices have Lilli communities that send us ideas all the time.
      • And we have training sessions. And then the platform itself has a how-to guide.
      • We’ve just launched our agents framework. The McKinsey Tone of Voice agent is the number-one used agent in our beta group, which is about 2,500 folks right now.
      • It takes any prose and translates it into what a McKinsey-quality writing sample would be.
      • particularly for those who are non-English-native speakers
      • You can build faster than you can learn, because building is coding and assembling technology pieces. Learning is waiting for your users to actually experience the product and provide feedback. So we’ve had to slow ourselves down quite a bit in terms of what we could build.
      • When we launched Lilli, we only launched it to about 2,500 colleagues.
      • We’re going to learn and turn them into evangelists. And we’re going to add waves of users.
      • We have alpha groups. We have beta groups. We have something called LilliX, which is doing experimental research.
      • These models may look like they reason, but they don’t today.
      • Yes, you need a data architecture. You need a data framework for thinking about how to tag and label things. You need a bit of a curation process.
    4. Source 4:

      Consulting giant McKinsey unveils its own generative AI tool for employees: Lilli

      IndependentVentureBeat, Aug 16, 202316 Aug 2023By Carl FranzenAccessed Nov 16, 202616 Nov 2026

      Supporting excerpts (20)
      • Lilli has been in beta since June 2023 and will be rolling out across McKinsey this fall.
      • Lilli has already been in use by approximately 7,000 employees as a “minimum viable product” (MVP) and has already cut down the time spent on research and planning work from weeks to hours, and in other cases, hours to minutes.
      • In just the last two weeks, Lilli has answered 50,000 questions
      • Sixty six percent of users are returning to it multiple times per week.
      • designed by McKinsey’s “ClienTech” team under chief technology officer (CTO) Jacky Wright
      • McKinsey senior partner Erik Roth, who led the product’s development
      • Lilli contains a text entry box for the user to enter in questions, searches and prompts at the bottom of its primary window
      • Lilli also contains an expandable left-hand sidebar with saved prompts
      • one, “GenAI Chat” that sources data from a more generalized large language model (LLM) backend, and another, “Client Capabilities” that sources responses from McKinsey’s corpus of 100,000-plus documents, transcripts and presentations.
      • We intentionally created both experiences to learn about and compare what we have internally with what is publicly available
      • Lilli provides a whole separate “Sources” section below every single response, along with links and even page numbers to specific pages from which the model drew its response.
      • We go full attribution
      • While the responses were sometimes a few seconds slower than leading commercial LLMs, Roth said McKinsey was continually updating the speed and also prioritized quality of information over rapidity.
      • Roth said that the company is experimenting with enabling a feature for uploading client information and documentation for secure, private analysis on McKinsey servers, but said that this feature was still being developed and would not be deployed until it was perfected
      • anything that we load into Lilli, goes through an extensive compliance risk assessment, including our own data.
      • Lilli leverages currently available LLMs, including those developed by McKinsey partner Cohere as well as OpenAI on the Microsoft Azure platform, to inform its GenAI Chat and natural language processing (NLP) capabilities.
      • The application, however, was built by McKinsey and acts as a secure layer that goes between the user and the underlying data.
      • So its own layer sits in between the corpus and the LLMs. It does have deep learning capabilities, it does have trainable modules
      • Roth emphasized that McKinsey was “LLM agnostic”
      • was constantly exploring new LLMs and AI models to see which offered the most utility
    5. Source 5:

      McKinsey rolls out generative AI tool 'Lilli' to 7K employees

      IndependentCIO Dive, Aug 17, 202317 Aug 2023By Lindsey WilkinsonAccessed Nov 16, 202616 Nov 2026

      Supporting excerpts (4)
      • Published Aug. 17, 2023
      • The platform aggregates more than 40 knowledge sources and more than 100,000 documents, according to the company.
      • Around 7,000 employees currently have access to the tool, and the company plans to expand access to the entirety of the firm by this fall, the company told CIO Dive in an email.
      • PwC is piloting an internal generative AI tool, ChatPwC, to serve as a conversational AI assistant for employees. Around 1,000 PwC employees have access currently
    6. Source 6:

      McKinsey Is Using AI to Create PowerPoints and Take Over Junior Employee Tasks: 'Technology Could Do That'

      IndependentEntrepreneur, Jun 2, 20252 Jun 2025By Sherin ShibuAccessed Nov 16, 202616 Nov 2026

      Supporting excerpts (9)
      • Kate Smaje, McKinsey’s global leader of technology and AI, told Bloomberg on Monday
      • While employees are permitted to use ChatGPT internally, Lilli is the only platform that allows them to input confidential client data safely.
      • Over 75% of McKinsey’s 43,000 employees are now using Lilli monthly, Smaje disclosed.
      • Through Lilli, McKinsey consultants can create a PowerPoint slideshow through a prompt and modify the tone of the presentation with a tool called “Tone of Voice” to ensure that the text aligns with the firm’s writing style. They can also draft proposals for client projects while maintaining the firm’s standards, find internal subject matter experts, and research industry trends.
      • McKinsey employees who use Lilli turn to it 17 times per week on average, a McKinsey senior partner told BI.
      • McKinsey told Business Insider that Lilli was trained on the firm’s entire intellectual property, encompassing over 100,000 documents and interviews across the firm’s nearly 100-year history.
      • Do we need armies of business analysts creating PowerPoints? No, the technology could do that
      • Smaje says that doesn’t mean McKinsey is going to hire fewer junior analysts.
      • Bain consultants have access to Sage, an AI chatbot powered by OpenAI.
    7. Source 7:

      McKinsey Consultants Are Letting New Technology Take Over an Essential Part of Their Work

      IndependentEntrepreneur, Jun 11, 202611 Jun 2026Accessed Nov 16, 202616 Nov 2026

      Supporting excerpts (6)
      • Since its rollout in July 2023, three-quarters of employees have adopted Lilli, feeding the AI more than 500,000 prompts every month, McKinsey reported.
      • Consultants can feed in a problem statement or a short brief and ask the system to generate draft slides, synthesize findings or standardize tone across a proposal.
      • Kate Smaje, McKinsey’s global leader for technology and AI, recently told Business Insider that use of PowerPoint at the firm has dropped sharply in the past few months.
      • Yes, there are Lilli agents that can make slides and charts.
      • Earlier this year, Sternfels disclosed that McKinsey’s AI agents have already saved 1.5 million hours of human work in a single year, largely by automating research, analysis and presentation prep.
      • A spokesperson told Bloomberg last year that the firm employed about 40,000 workers globally, down from more than 45,000 at the end of 2023.
    8. Source 8:

      McKinsey challenges graduates to master AI tools as it shifts hiring hunt toward liberal arts majors

      IndependentFortune, Jan 14, 202614 Jan 2026Accessed Nov 16, 202616 Nov 2026

      Supporting excerpts (6)
      • that number has grown more than 500% to about 20,000 AI agents supporting the company’s work, CEO Bob Sternfels said on Harvard Business Review’s Ideacast
      • The consulting firm is asking candidates to use its internal AI tool Lilli in a test during its hiring process, according to consulting interview preparation company CaseBasix
      • In the McKinsey AI Interview, you are expected to prompt the AI, review its output, and apply judgment to produce a clear and structured response
      • some candidates would be asked to work with the company’s AI tool as part of a final round AI interview
      • There isn’t truth in AI models; there isn’t judgment
      • Humans need to impose those parameters.
    9. Source 9:

      Navigating the Jagged Technological Frontier: Field Experimental Evidence of the Effects of Artificial Intelligence on Knowledge Worker Productivity and Quality

      AcademicHarvard Business School, Sep 2023Accessed Nov 16, 202616 Nov 2026

      Supporting excerpts (7)
      • In collaboration with the global management consulting firm Boston Consulting Group
      • The preregistered experiment involved 758 knowledge workers.
      • no AI access, GPT-4 AI access, or GPT-4 AI access with a prompt engineering overview
      • For each one of a set of 18 realistic knowledge tasks within the frontier of AI capabilities
      • subjects using AI outperformed those not using AI, completing 12.2% more tasks and completing them 25.1% more quickly on average while also delivering solutions of significantly improved quality
      • for a complex managerial task selected to be outside the frontier, subjects using AI were 19% less likely to produce correct solutions compared with those without AI
      • Harvard Business School Working Paper, No. 24-013, September 2023.
    10. Source 10:

      BCG execs: AI across the company increased productivity, 'employee joy'

      IndependentComputerworld, Aug 27, 202427 Aug 2024Accessed Nov 16, 202616 Nov 2026

      Supporting excerpts (2)
      • built our own, including a tool called Deckster to help generate slides and a natural language query search for our knowledge base
      • since our global launch of Deckster in March 2024, it has helped us create or edit slides over 450,000 times
    11. Source 11:

      Startup's agent hacked McKinsey AI - exposing huge volumes of sensitive data

      IndependentThe Stack, Mar 12, 202612 Mar 2026Accessed Nov 16, 202616 Nov 2026

      Supporting excerpts (18)
      • Speaking to The Stack in an early 2025 interview, McKinsey’s then-Chief Technology and Platform Officer, Jacky Wright
      • We’ve processed all of the firm’s knowledge into vector stores by using OpenAI embedding models, with semantic and keyword search as well as LLM (OpenAI GPT-4o)-generated metadata to pull the best chunks of information for a user’s question
      • More specifically, the firm uses Cohere’s re-ranker to “further refine the search results” and then runs the top results through a proprietary filtering/relevancy check process
      • Once the highest value chunks are identified we synthesize the final answer and include citations back the underlying source documents
      • The vulnerability was due to 22 exposed endpoints that didn't require authentication – one of which turned out to have a SQL injection flaw.
      • The security incident was identified and disclosed by a startup called Codewall, which pointed an offensive AI security agent at the company.
      • It took just two hours and $20 in tokens to breach the multinational consultancy and gain access to highly sensitive data
      • the company added in a blog published on March 9.
      • including 266,000+ OpenAI vector stores, exposing the full pipeline of how documents moved from upload to embedding to retrieval
      • 95 writable system prompts
      • Rajat Rai, a security director at Indian sports platform Dream11 commented
      • This wasn't an AI vulnerability at its core. Exposed API docs, missing auth on 22 endpoints, SQL injection via JSON key concatenation. Classic AppSec failures that just happened to reach an AI system.
      • Founder Paul Price told The Stack
      • McKinsey test their systems rigorously and their own tools and third-party pen tests didn't pick this up for 2+ years.
      • McKinsey was recently alerted to a vulnerability related to our internal AI tool, Lilli, by a security researcher.
      • We followed their responsible disclosure policy
      • We promptly confirmed the vulnerability and fixed the issue within hours.
      • Our investigation, supported by a leading third-party forensics firm, identified no evidence that client data or client confidential information were accessed by this researcher or any other unauthorized third party.
    12. Source 12:

      An AI agent hacked McKinsey's internal AI platform in two hours using a decades-old technique

      IndependentThe Decoder, Mar 11, 202611 Mar 2026By Maximilian SchreinerAccessed Nov 16, 202616 Nov 2026

      Supporting excerpts (12)
      • Security firm Codewall turned an offensive AI agent loose on McKinsey's internal AI platform Lilli, a system used by over 43,000 employees for strategy work, client research, and document analysis.
      • Within two hours, the agent had full read and write access to the production database.
      • The values in API requests were properly parameterized, but JSON field names were being inserted directly into SQL queries.
      • That included 46.5 million chat messages, 728,000 files, and 57,000 user accounts, all accessible without authentication.
      • The most alarming discovery was that the system prompts controlling Lilli's behavior were stored in the same database.
      • On top of that, the agent gained access to 3.68 million RAG document chunks, meaning the entire knowledge base feeding Lilli's responses.
      • McKinsey patched the vulnerabilities within a day of being notified on March 1.
      • Because prompts, RAG data, and model configurations sit in the same databases as everything else, a classic vulnerability becomes a lever that can silently alter how an AI system behaves for thousands of users.
      • AI prompts are the new Crown Jewel assets
      • as security analyst Edward Kiledjian points out in an independent analysis
      • While Codewall likely found a serious vulnerability, its blog post overstates what was actually demonstrated and blurs the line between having access and actually exfiltrating data.
      • Codewall sells an autonomous platform for offensive security testing and is currently in an early preview phase.

    More in Engineering & Research

    View all