Choose your region

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

    Europe
    North America

    Environment Agency pilots a GPT-4.1 guidance assistant

    England's Environment Agency built a Copilot Studio agent that retrieves regulatory guidance for its small sewage discharge permitting officers, who review every answer before they use it.

    Environment AgencyUnited Kingdom (England)National governmentPilot
    Scale
    About 150 internal staff, beginning with the SSD and FRAP permitting teams
    Scenario
    Regulatory handbook assistant for staff
    Business function
    Legal and compliance
    Kind of solution
    Knowledge assistant
    Who built it
    Built with a partner (Hitachi Solutions, Defra Digital, Data, Technology and Security, and Microsoft)
    Where it runs
    Public cloud
    Human oversight
    Assists people
    Organization
    Public sector, part of Department for Environment, Food and Rural Affairs
    AI types
    Generative AI, Agentic AI, Conversational AI
    Users
    ~150

    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. Environment Agency

    2. Microsoft

    tl;drPermitting officers in England pilot the assistant, which makes no regulatory decisions.See the results

    View the solutionBuild this solution yourself

    The Environment Agency runs the Regulatory Guidance Assistant as a pilot for its small sewage discharge (SSD) water quality permitting officers in England1. The assistant is a Microsoft Copilot Studio agent on GPT-4.1 that finds and cites regulatory guidance in answer to an officer’s question1.

    The agency documented the tool in a transparency record that it published in September 20261. Officers reach the assistant in Microsoft Teams, and a permitting officer reviews its output every time the tool is used1.

    The pilot is set at about 150 internal staff, beginning with the SSD and FRAP permitting teams, and the assistant makes 0 automated decisions a month1. It tracks speed, accuracy and adoption against a baseline to inform decisions on scaling1.

    Before the deployment

    Before the assistant, permitting officers located and interpreted regulatory guidance by hand1. They used SharePoint sites, guidance documents, intranet resources, search functions and their own knowledge1.

    • Fragmented guidance: Guidance was fragmented and inconsistently formatted, and officers found it hard to retrieve the right information quickly1.
    • Cross-referencing: A question could mean reviewing several documents and cross-referencing guidance from different locations1.
    • Escalation: When officers couldn’t find or interpret guidance, they asked subject matter experts (SMEs), technical specialists, colleagues or line managers1.
    • Consistency by judgment: Consistency came from professional judgment, governance processes, peer discussion and escalation routes rather than from automation1.

    The assistant belongs to the agency’s Regulatory Services Programme, which aims to increase consistency, streamline regulatory services and improve the experience of permitting officers1.

    What was built

    The Regulatory Guidance Assistant answers an officer’s free-text question with excerpts from approved regulatory guidance, the most relevant guidance sections and links to the source documents1. It’s an assistive search and retrieval tool, not a decision-making system1.

    • Language model: GPT-4.1 generates each answer from the retrieved guidance by retrieval-augmented generation (RAG), with inline citations1.
    • Data pipelines: ETL pipelines extract the guidance, convert it to Markdown and vector chunks, and refresh it at 8am daily1.
    • Permitting officers: Review every output and keep full responsibility for regulatory decisions. The assistant produces no decisions, recommendations, classifications or scores1.
    • Governance: A steering committee oversees the pilot, and weekly RAID and CIA reviews track risks and operational impacts1.

    “Whilst we are accelerating our use of digital, data and AI, I firmly believe that people remain at the heart of good regulation.”

    Jo Nettleton, Chief Regulator at Environment Agency2

    The agency built the assistant with Hitachi Solutions, which handled discovery, development and testing and shared delivery management with Defra Digital, Data, Technology and Security (DDTS)1.

    Alternatives considered

    The agency weighed four other approaches before it chose a retrieval-augmented AI assistant1:

    • Keyword and metadata search: Retrieves documents but can’t understand natural-language questions, synthesize guidance across sources or explain why it’s relevant1.
    • Rules-based decision trees: Suit highly structured processes but not the breadth, complexity and change of regulatory guidance, and need significant maintenance1.
    • A dedicated SME support model: Gives high confidence in advice quality but doesn’t scale and adds demand on specialists1.
    • More training and consolidated guidance: Improves capability but gives no real-time support with frequently changing guidance at the point of need1.

    The agency selected the assistant because it combines natural-language questions with retrieval from approved guidance sources, and it judged the tool a proportionate response to the problem1.

    Technology and architecture

    Figure 1How the Regulatory Guidance Assistant answers an officer
    How the Regulatory Guidance Assistant answers an officerA permitting officer asks a question in Microsoft Teams. Teams passes the query to the Regulatory Guidance Assistant agent in Copilot Studio. ETL pipelines take guidance from GOV.UK, SharePoint and Content Cloud+, convert it to Markdown and vector chunks, and store it in Azure Data Lake Storage Gen2. The agent retrieves relevant chunks from that corpus and GPT-4.1 generates a cited answer, which goes back to the officer in Teams. The agent stores the conversation transcript in Microsoft Dataverse. The officer reviews the answer and makes the permitting decision. No part is inferred.approved documents (data) · Documented in source [1]Markdown, chunks (data) · Documented in source [1]question (data) · Documented in source [1]query (data) · Documented in source [1]relevant chunks (data) · Documented in source [1]query and guidance (data) · Documented in source [1]cited answer (handoff to people) · Documented in source [1]conversation (data) · Documented in source [1]reviewed guidance (handoff to people) · Documented in source [1]GUIDANCE SOURCESDEFRA AZURE AND POWER PLATFORMPERMITTING TEAMApproved guidance sources · Data · Documented in source [1]DATAApprovedguidancesourcesETL pipelines, 8am daily · System · Documented in source [1]SYSTEMETL pipelines,8am dailyMarkdown and vector chunks · Data · Documented in source [1]DATAMarkdown andvector chunksPermitting officer · Person · Documented in source [1]PERSONPermittingofficerMicrosoft Teams · Application · Documented in source [1]APPLICATIONMicrosoftTeamsCopilot Studio agent · Application · Documented in source [1]APPLICATIONCopilotStudio agentGPT-4.1 · AI model · Documented in source [1]AI MODELGPT-4.1Transcripts in Dataverse · Data · Documented in source [1]DATATranscriptsin DataversePermitting decision · Step · Documented in source [1]PermittingdecisionapproveddocumentsMarkdown,chunksquestionqueryrelevant chunksquery andguidancecited answerconversationreviewedguidanceHow the Regulatory Guidance Assistant answers an officerA permitting officer asks a question in Microsoft Teams. Teams passes the query to the Regulatory Guidance Assistant agent in Copilot Studio. ETL pipelines take guidance from GOV.UK, SharePoint and Content Cloud+, convert it to Markdown and vector chunks, and store it in Azure Data Lake Storage Gen2. The agent retrieves relevant chunks from that corpus and GPT-4.1 generates a cited answer, which goes back to the officer in Teams. The agent stores the conversation transcript in Microsoft Dataverse. The officer reviews the answer and makes the permitting decision. No part is inferred.approved documents (data) · Documented in source [1]Markdown, chunks (data) · Documented in source [1]question (data) · Documented in source [1]query (data) · Documented in source [1]relevant chunks (data) · Documented in source [1]query and guidance (data) · Documented in source [1]cited answer (handoff to people) · Documented in source [1]conversation (data) · Documented in source [1]reviewed guidance (handoff to people) · Documented in source [1]GUIDANCE SOURCESDEFRA AZURE AND POWER PLATFORMPERMITTING TEAMApproved guidance sources · Data · Documented in source [1]DATAApprovedguidance sourcesETL pipelines, 8am daily · System · Documented in source [1]SYSTEMETL pipelines,8am dailyMarkdown and vector chunks · Data · Documented in source [1]DATAMarkdown andvector chunksPermitting officer · Person · Documented in source [1]PERSONPermitting officerMicrosoft Teams · Application · Documented in source [1]APPLICATIONMicrosoft TeamsCopilot Studio agent · Application · Documented in source [1]APPLICATIONCopilot Studio agentGPT-4.1 · AI model · Documented in source [1]AI MODELGPT-4.1Transcripts in Dataverse · Data · Documented in source [1]DATATranscriptsin DataversePermitting decision · Step · Documented in source [1]Permitting decisionapproved documentsMarkdown, chunksquestionqueryrelevant chunksquery and guidancecited answerconversationreviewed guidance
    • AI component
    • Data
    • Handoff to people
    Source [1]
    The agent answers from a daily-refreshed corpus of approved guidance, and the officer decides what to do with the answer.

    The solution runs on Azure cloud and MS Power Platform, the incumbent technologies of the Department for Environment, Food and Rural Affairs (Defra), in the non-production defradev environment1. Only users in the approved AAD security groups can reach it1.

    Microsoft Copilot Studio is Microsoft’s platform for building agents, in which the primary model selected for an agent powers its orchestration3. The agency uses the platform’s default model, GPT-4.1, closed and unmodified, with no retraining or fine-tuning1. The agent receives the provider’s new stable versions automatically, and Copilot Studio upgrades its default model as more capable models become generally available1, 3.

    Stack

    Layer What they used Role Source
    Language model GPT-4.1 Generates answers with inline citations from the retrieved guidance 1
    Agent orchestration Microsoft Copilot Studio Hosts the Regulatory Guidance Assistant agent and its model 1, 3
    Chat interface Microsoft Teams The only channel through which staff reach the assistant 1
    Data preparation ETL pipelines Convert guidance documents to Markdown and refresh the corpus at 8am daily 1
    Knowledge content Azure Data Lake Storage Gen2 Stores the source documents, Markdown and vector chunks the agent retrieves from 1
    Audit trail Microsoft Dataverse Stores conversation transcripts, kept for about 30 days by default 1
    Access and identity AAD security groups Limit access to the approved pilot group 1
    Cloud platform Azure cloud and MS Power Platform Defra’s incumbent platform that the solution runs on 1

    Data inputs

    • Officer questions: Free-text natural-language queries, which the agent applies against the indexed guidance corpus1.
    • GOV.UK guidance: Regulatory and statutory guidance published on GOV.UK1.
    • SharePoint repositories: Internal repositories of relevant regulatory documents, limited to approved locations1.
    • Content Cloud+ materials: Documents from approved Content Cloud repositories1.

    All ingested documents are publicly available, externally facing or releasable under freedom of information (FOI) rules1. Trials are underway to refresh the corpus whenever a source document is updated, added or removed, instead of once a day1.

    How one question flows through the system

    1. The officer types a question in Microsoft Teams, the only route by which staff reach the assistant1.
    2. The agent applies the query against the indexed guidance corpus in Azure Data Lake Storage Gen21.
    3. GPT-4.1 generates the answer from the retrieved guidance and adds inline citations1.
    4. The answer returns text excerpts, the most relevant guidance sections and references to the source documents1.
    5. Microsoft Dataverse stores the conversation transcript, which it keeps for about 30 days by default1.
    6. The officer reviews the answer and applies the guidance. Decisions stay open to challenge through the normal permitting appeals process1.

    Results

    In September 2026, the assistant was in a controlled pilot in the non-production defradev environment1.

    • Scope: The pilot covers SSD water quality permitting guidance only. A wider Defra or regulator rollout waits until the pilot evaluation is complete1.
    • Scale: About 150 internal staff, beginning with the SSD and FRAP permitting teams. The agency plans to extend the tool to other regulatory areas after approval1.
    • Automation: The assistant makes 0 automated decisions a month, and no citizens interact with it1.
    • Measurement: The pilot tracks baseline and post-use metrics for speed, accuracy and adoption, with functional acceptance testing (FAT) findings and usability feedback, to inform decisions on scaling1.
    • Training: Officers get drop-in sessions before and during the pilot, plus mandatory Environment Agency AI training1.

    Lessons learned

    The design keeps the AI to retrieval. Officers review every output, the corpus holds only approved and publicly releasable guidance, and answers carry inline citations1. The agency frames the pilot as exploratory, not as an evaluation of individual officers1.

    The assistant knows only the guidance that the ETL pipelines have onboarded, and new guidance sources are added incrementally1.

    The assistant depends on clear guidance. It only surfaces what the indexed corpus holds, and it can’t interpret ambiguous instructions or bridge policy gaps1.

    The tool was early in its life when the agency described it. The pilot was still in FAT and usability testing, with evolving guardrails and data quality and a limited set of validated metrics, and the transparency record lists its phase as pre-deployment1. Its usage estimate of about 94 prompts per user per 30 days is a planning proxy from Microsoft 365 Copilot use in the agency1.

    The agency’s record contradicts itself on review. It states that a permitting officer reviews every output, but its risk table says that, as a search and retrieval tool, the assistant doesn’t require reviewer validation for high-impact outputs1.

    The account is the Environment Agency’s own, from its Algorithmic Transparency Recording Standard record1.

    Case study scorecard

    • Rules and standards: GDPR
      • Entry in a public register1
      • Data protection impact assessment1
      • Other1

    Build this solution yourself

    Analysis

    What you need

    • A curated, releasable guidance corpus: The assistant answers only from guidance that the pipelines onboard, so you need approved sources, a daily refresh and documents cleared for wider release1.
    • A platform you already run: The agency built on Defra’s incumbent Azure and Power Platform services and used Copilot Studio’s default model, so check that your tenant offers the same before you start1.
    • Officers who keep the decision: Every output goes to a trained permitting officer, with weekly risk reviews and a steering committee behind the pilot, so you need that review capacity and governance in place1.

    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

    Cite this case study

    Enterprise AI Case Studies. "Environment Agency pilots a GPT-4.1 guidance assistant." Updated Nov 25, 2026. https://case-studies.ai/case-studies/risk-and-compliance/RC-053-regulatory-guidance-assistant-environment-agency/

    @misc{csai-rc-053,
      author = {{Enterprise AI Case Studies}},
      title = {{Environment Agency pilots a GPT-4.1 guidance assistant}},
      year = {2026},
      note = {Updated 2026-11-25},
      url = {https://case-studies.ai/case-studies/risk-and-compliance/RC-053-regulatory-guidance-assistant-environment-agency/}
    }

    Sources

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

    1. Source 1:

      Environment Agency: Regulatory Guidance Assistant

      OrganizationEnvironment Agency, Sep 3, 20263 Sep 2026Accessed Nov 25, 202625 Nov 2026

      Supporting excerpts (85)
      • pilot tool developed within the Environment Agency
      • to support officers by helping them find, navigate, and apply regulatory guidance more quickly and consistently
      • with restricted access and operates as an assistive search and retrieval tool rather than a decision
      • The tool is currently used only by:
      • Small Sewage Discharge (SSD) Water Quality permitting officers in England,
      • Within a controlled pilot user group,
      • Directory (AAD) security groups and DEFRADEV licences.
      • Phase: Pre-deployment
      • Defra Digital, Data, Technology and Security Teams (DDTS)
      • Hitachi Solutions: Discovery, development and testing of solution plus 50/50 split in delivery management
      • The solution uses incumbent technologies available within Defra, primarily based on Azure cloud and MS Power Platform infrastructure, aligned with Defra CCoE best practice.
      • limited to approved SharePoint locations and Content Cloud repositories
      • or lower classification and already publicly available
      • given access to personal data, sensitive information, or any form of Personally Identifiable Information
      • It addresses the problem of fragmented, inconsistently formatted guidance and the difficulty officers face in retrieving the correct information quickly.
      • aims to increase consistency, streamline regulatory services, and improve the user experience for permitting officers.
      • permitting officers located and interpreted regulatory guidance manually using a combination of SharePoint sites, guidance documents, intranet resources, search functions and personal knowledge.
      • Where relevant guidance could not be readily identified or interpreted, officers would seek clarification from Subject Matter Experts (SMEs), technical specialists, colleagues or line management.
      • This could require reviewing multiple documents and cross-referencing guidance from different locations before reaching a conclusion.
      • Consistency was achieved through professional judgement, established governance processes, peer discussion and escalation routes rather than through automation.
      • Final regulatory decisions remained, and continue to remain, the responsibility of trained permitting officers.
      • Continued reliance on existing guidance repositories, SharePoint sites, PDFs and search facilities.
      • Trade-off: Low implementation risk and no use of AI, but users still faced significant effort locating relevant guidance across multiple sources and interpreting relationships between documents.
      • Additional training, guidance consolidation and knowledge-sharing activities.
      • Trade-off: Improves user capability but does not provide real-time support or address the challenge of navigating large volumes of frequently changing guidance at the point of need.
      • Establishing a dedicated SME support model for guidance enquiries.
      • Trade-off: High confidence in advice quality but not scalable, dependent on staff availability, and potentially increases demand on specialist resources.
      • Traditional keyword and metadata-based enterprise search.
      • Trade-off: Provides document retrieval but limited ability to understand natural language questions, synthesise relevant guidance across multiple sources, or explain why information is relevant.
      • Rules-based decision trees and guided workflow tools.
      • Trade-off: Effective for highly structured processes but unsuitable for the breadth, complexity and evolving nature of regulatory guidance, requiring significant maintenance effort.
      • Prior to selecting a retrieval-augmented AI assistant approach
      • The Regulatory Guidance Assistant was selected because it combines natural-language querying with retrieval from approved guidance sources
      • This was considered a proportionate response to the identified problem of finding and navigating complex regulatory guidance.
      • outputs are reviewed by a permitting officer every time the tool is used. All outputs require mandatory human oversight and cannot be used directly in decision
      • Review quality is assured through DDTS governance, FAT testing, weekly RAID/CIA sessions, structured user feedback, and ongoing oversight from the Steering Committee.
      • Automated decisions per month: 0
      • Citizens interacting with the tool: 0
      • it is only accessible to EA staff via Microsoft Teams.
      • Scale of deployment: ~150 Internal EA staff only, beginning with SSD and FRAP permitting teams in a pilot, with the intention to extend to other regulatory areas following approval.
      • proxy based on observed M365 Copilot usage in our organisation of ~94 prompts per user per 30 days until RGA telemetry is available.
      • Drop in sessions to be held before and during pilot phase. Mandatory EA AI training has also been prescribed by the business to cover basic AI training.
      • Through normal permitting appeals processess
      • User search queries (officer prompts) - The officer provides a textual query or question, which the system uses to identify and surface relevant guidance.
      • query is applied against the indexed guidance corpus to return relevant guidance content.
      • Text excerpts from regulatory guidance documents
      • Structured search results showing the most relevant guidance sections
      • Document references or metadata, linking the user to authoritative source material
      • It does not produce decisions, recommendations, classifications, or scores
      • A formal maintenance and review schedule for the tool has not yet been defined.
      • The model remains closed and unmodified. However, the agent will automatically receive upgrades when the model provider releases a new stable version. These upgrades do not involve training on Environment Agency data
      • GPT-4.1 LLM is the default model for agents in Copilot Studio and the model used for the Regulatory Guidance Agent.
      • GOV.UK regulatory and statutory guidance
      • Content Cloud+ materials
      • Internal SharePoint repositories containing relevant regulatory documents
      • Pipelines exist to refresh the materials at 8am daily, and investigative trials are currently underway to trigger refresh of the corpus when a source document is updated, added or removed.
      • all documents are converted to Markdown Format during ETL pipelines for easier LLM Search and retrieval
      • These documents are processed into markdown and vector chunks for retrieval.
      • Conversation transcripts are stored in Microsoft Dataverse
      • Source documents and derived artefacts (markdown, chunked representations) are stored in Azure Data Lake Storage Gen2 (ADLS2)
      • Only authorised Environment Administrators and Makers with approved roles may view, retrieve, or manage stored transcripts and stored documents.
      • Transcripts: retained for ~30 days by default.
      • ensures compliance with EA/Defra policies, GDPR, and audit obligations.
      • no personal data is processed in the current SSD and FRAP pilot phases; therefore a full Data Protection Impact Assessment (DPIA) is not required.
      • An Equality Impact Assessment is underway as a live, iteratively updated document, reflecting requirements under the Public Sector Equality Duty and incorporating input from staff networks
      • Oversight is provided by a dedicated Steering Committee
      • Weekly Risks, Assumptions, Issues, Dependencies (RAID) and CIA reviews ensure risk and operational impacts are understood.
      • bias monitoring embedded in Functional Acceptance Testing, where representative prompts and regression checks are used to identify any systematic skew or omissions.
      • corpus, enforced inline citations, and monitoring to detect and address recurrent error patterns.
      • it does not require reviewer validation for high
      • A DPIA is pending for user
      • all ingested documents are publicly available, externally facing, or releasable under FOI.
      • controlled call budgets
      • Only guidance that has been successfully onboarded through the ETL process is available. New guidance sources are integrated incrementally.
      • The tool can only surface what is present in the indexed guidance corpus; it cannot bridge policy gaps or interpret unclear instructions.
      • Is still undergoing testing (FAT, usability testing).
      • Has evolving guardrails and data quality improvements.
      • Has a limited set of validated metrics.
      • performance metrics (speed, accuracy, adoption)
      • Usability testing feedback
      • This data informs decisions on future scaling.
      • SSD Water Quality permitting guidance
      • Wider Defra/regulator rollout (until pilot evaluation is complete)
      • guidance frames the pilot as exploratory, not evaluative
      • The pilot develops reusable patterns for data ingestion, ETL, guardrails, and governance which can support future services across the Regulatory Services Programme and enable efficiency savings.
    2. Source 2:

      Two Years On: My Reflections as Chief Regulator

      OrganizationEnvironment Agency, Aug 24, 202624 Aug 2026By Jo NettletonAccessed Nov 25, 202625 Nov 2026

      Supporting excerpts (2)
      • Whilst we are accelerating our use of digital, data and AI, I firmly believe that people remain at the heart of good regulation.
      • Two Years On: My Reflections as Chief Regulator
    3. Source 3:

      Select a primary AI model for your agent

      Product documentationMicrosoft, Nov 24, 202624 Nov 2026Accessed Nov 25, 202625 Nov 2026

      Supporting excerpts (2)
      • In Microsoft Copilot Studio, the primary AI model you select for your agent powers generative orchestration.
      • The default model is periodically upgraded as new, more capable models become generally available.

    More in Risk & Compliance

    View all