Skip to content
infusyc

Anglian Care · Social care

A RAG compliance agent for CQC and safeguarding questions

Staff get grounded answers on CQC inspections, safeguarding and council standards from internal documents.

Written by Fareed

Doctor in a white coat using a smartphone

At a glance

RAG
Answers grounded in internal regulatory documents
3
Compliance areas covered: CQC, safeguarding, council standards
On demand
Answers for staff and managers

The challenge

Anglian Care, a social care provider in Essex, needed staff and managers to answer compliance questions quickly and accurately. The answers were spread across lengthy regulatory documents covering CQC inspections, safeguarding and Essex County Council standards.

What we built

We developed a Retrieval-Augmented Generation (RAG) agent. Internal regulatory documents are embedded with OpenAI and stored in Pinecone, and the agent retrieves the relevant passages so every answer is grounded in the provider's own material.

How we built it

  1. 1

    Curating the source documents

    We worked with the management team to gather the documents staff actually rely on: CQC inspection guidance, safeguarding procedures and Essex County Council standards, plus the provider's own internal policies. Outdated versions were removed so the agent could not quote superseded rules.

  2. 2

    Building the knowledge base

    Each document was split into sections that keep headings and context together, embedded with OpenAI and stored in Pinecone. That structure means a question about, for example, raising a safeguarding concern retrieves the exact procedure rather than a loosely related paragraph.

  3. 3

    Grounded, cautious answers

    The agent is instructed to answer only from the retrieved material and to say plainly when the documents do not cover a question, so staff are pointed to a manager instead of receiving a confident guess on a regulated topic.

The outcome

Care staff and managers can ask compliance questions in plain English and get an answer drawn from the provider's own regulatory material within seconds, instead of searching through long PDFs.

Managers spend less time fielding repeat questions, and the provider has a consistent reference point when preparing for CQC inspections.

Tell us what's eating your team's week.

Book a free 30-minute consultation with our team. We'll tell you honestly whether automation is the right fix.

Book a free consultation